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 /kplato/kpttaskdefaultpanel.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 'kplato/kpttaskdefaultpanel.h')
-rw-r--r-- | kplato/kpttaskdefaultpanel.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/kplato/kpttaskdefaultpanel.h b/kplato/kpttaskdefaultpanel.h index 087f1e01..8ab532e5 100644 --- a/kplato/kpttaskdefaultpanel.h +++ b/kplato/kpttaskdefaultpanel.h @@ -35,20 +35,21 @@ class StandardWorktime; class ConfigTaskPanelImpl : public ConfigTaskPanelBase { Q_OBJECT + TQ_OBJECT public: - ConfigTaskPanelImpl(QWidget *parent, const char *name); + ConfigTaskPanelImpl(TQWidget *tqparent, const char *name); virtual int schedulingType() const; virtual int estimationType() const; virtual int optimistic() const; virtual int pessimistic(); virtual Duration estimationValue(); - virtual QDateTime startDateTime(); - virtual QDateTime endDateTime(); - virtual QTime startTime() const; - virtual QTime endTime(); - virtual QDate startDate(); - virtual QDate endDate(); + virtual TQDateTime startDateTime(); + virtual TQDateTime endDateTime(); + virtual TQTime startTime() const; + virtual TQTime endTime(); + virtual TQDate startDate(); + virtual TQDate endDate(); public slots: virtual void setSchedulingType( int type ); @@ -61,20 +62,20 @@ public slots: virtual void setEstimate( const Duration & duration ); virtual void setEstimateType( int type ); virtual void checkAllFieldsFilled(); - virtual void setEstimateFields( int mask ); + virtual void setEstimateFields( int tqmask ); virtual void setEstimateScales( double day ); - virtual void setEstimateFieldUnit( int field, QString unit ); + virtual void setEstimateFieldUnit( int field, TQString unit ); virtual void startDateChanged(); - virtual void startTimeChanged( const QTime & time ); + virtual void startTimeChanged( const TQTime & time ); virtual void endDateChanged(); - virtual void endTimeChanged( const QTime & time ); + virtual void endTimeChanged( const TQTime & time ); virtual void scheduleTypeChanged( int value ); - virtual void setStartTime( const QTime & time ); - virtual void setEndTime( const QTime & time ); - virtual void setStartDateTime( const QDateTime & dt ); - virtual void setEndDateTime( const QDateTime & dt ); - virtual void setStartDate( const QDate & date ); - virtual void setEndDate( const QDate & date ); + virtual void setStartTime( const TQTime & time ); + virtual void setEndTime( const TQTime & time ); + virtual void setStartDateTime( const TQDateTime & dt ); + virtual void setEndDateTime( const TQDateTime & dt ); + virtual void setStartDate( const TQDate & date ); + virtual void setEndDate( const TQDate & date ); signals: void obligatedFieldsFilled( bool ); @@ -87,8 +88,9 @@ protected: class TaskDefaultPanel : public ConfigTaskPanelImpl { Q_OBJECT + TQ_OBJECT public: - TaskDefaultPanel(Task &task, StandardWorktime *workTime=0, QWidget *parent=0, const char *name=0); + TaskDefaultPanel(Task &task, StandardWorktime *workTime=0, TQWidget *tqparent=0, const char *name=0); KMacroCommand *buildCommand(Part *part); |