diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kdgantt/KDGanttViewTaskItem.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt/KDGanttViewTaskItem.h')
-rw-r--r-- | kdgantt/KDGanttViewTaskItem.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdgantt/KDGanttViewTaskItem.h b/kdgantt/KDGanttViewTaskItem.h index 73db2a28..c4a56c2f 100644 --- a/kdgantt/KDGanttViewTaskItem.h +++ b/kdgantt/KDGanttViewTaskItem.h @@ -27,8 +27,8 @@ ** licensing are not clear to you. ** ** As a special exception, permission is given to link this program - ** with any edition of Qt, and distribute the resulting executable, - ** without including the source code for Qt in the source distribution. + ** with any edition of TQt, and distribute the resulting executable, + ** without including the source code for TQt in the source distribution. ** **********************************************************************/ @@ -38,33 +38,33 @@ #include "KDGanttViewItem.h" class KDCanvasRectangle; -class QBrush; +class TQBrush; class KDGanttViewTaskItem : public KDGanttViewItem { public: KDGanttViewTaskItem( KDGanttView* view, - const QString& lvtext = QString::null, - const QString& name = QString::null ); - KDGanttViewTaskItem( KDGanttViewItem* parent, - const QString& lvtext = QString::null, - const QString& name = QString::null ); + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); + KDGanttViewTaskItem( KDGanttViewItem* tqparent, + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); KDGanttViewTaskItem( KDGanttView* view, KDGanttViewItem* after, - const QString& lvtext = QString::null, - const QString& name = QString::null ); - KDGanttViewTaskItem( KDGanttViewItem* parent, KDGanttViewItem* after, - const QString& lvtext = QString::null, - const QString& name = QString::null ); + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); + KDGanttViewTaskItem( KDGanttViewItem* tqparent, KDGanttViewItem* after, + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); virtual ~KDGanttViewTaskItem(); - void setStartTime( const QDateTime& start ); - void setEndTime( const QDateTime& end ); + void setStartTime( const TQDateTime& start ); + void setEndTime( const TQDateTime& end ); private: void showItem( bool show = true, int coordY = 0 ); void initItem(); void hideMe(); - QBrush myBrush, undefinedBrush; + TQBrush myBrush, undefinedBrush; bool _showUndefinedBrush; }; |