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 --- kplato/kpttaskgeneralpanel.h | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'kplato/kpttaskgeneralpanel.h') diff --git a/kplato/kpttaskgeneralpanel.h b/kplato/kpttaskgeneralpanel.h index fd3f539f..29634d27 100644 --- a/kplato/kpttaskgeneralpanel.h +++ b/kplato/kpttaskgeneralpanel.h @@ -37,20 +37,21 @@ class StandardWorktime; class TaskGeneralPanelImpl : public TaskGeneralPanelBase { Q_OBJECT + TQ_OBJECT public: - TaskGeneralPanelImpl(QWidget *parent, const char *name); + TaskGeneralPanelImpl(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(); virtual int risktype() const; public slots: virtual void setSchedulingType( int type ); @@ -63,20 +64,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 ); virtual void setRisktype( int r ); signals: @@ -90,8 +91,9 @@ protected: class TaskGeneralPanel : public TaskGeneralPanelImpl { Q_OBJECT + TQ_OBJECT public: - TaskGeneralPanel(Task &task, StandardWorktime *workTime=0, bool baseline=false, QWidget *parent=0, const char *name=0); + TaskGeneralPanel(Task &task, StandardWorktime *workTime=0, bool baseline=false, TQWidget *tqparent=0, const char *name=0); KMacroCommand *buildCommand(Part *part); -- cgit v1.2.1