From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- kdgantt/KDGanttViewEventItem.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kdgantt/KDGanttViewEventItem.h') diff --git a/kdgantt/KDGanttViewEventItem.h b/kdgantt/KDGanttViewEventItem.h index 9099d0e8..0ea9162c 100644 --- a/kdgantt/KDGanttViewEventItem.h +++ b/kdgantt/KDGanttViewEventItem.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. ** **********************************************************************/ @@ -41,26 +41,26 @@ class KDGanttViewEventItem : public KDGanttViewItem { public: KDGanttViewEventItem( KDGanttView* view, - const QString& lvtext = QString::null, - const QString& name = QString::null ); - KDGanttViewEventItem( KDGanttViewItem* parent, - const QString& lvtext = QString::null, - const QString& name = QString::null ); + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); + KDGanttViewEventItem( KDGanttViewItem* tqparent, + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); KDGanttViewEventItem( KDGanttView* view, KDGanttViewItem* after, - const QString& lvtext = QString::null, - const QString& name = QString::null ); - KDGanttViewEventItem( KDGanttViewItem* parent, KDGanttViewItem* after, - const QString& lvtext = QString::null, - const QString& name = QString::null ); + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); + KDGanttViewEventItem( KDGanttViewItem* tqparent, KDGanttViewItem* after, + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); virtual ~KDGanttViewEventItem(); - void setLeadTime( const QDateTime& leadTimeStart ); - void setStartTime( const QDateTime& start ); - QDateTime leadTime() const; + void setLeadTime( const TQDateTime& leadTimeStart ); + void setStartTime( const TQDateTime& start ); + TQDateTime leadTime() const; private: void showItem( bool show = true, int coordY = 0 ); - QDateTime* myLeadTime; + TQDateTime* myLeadTime; void initItem(); void hideMe(); }; -- cgit v1.2.1