summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskdefaultpanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kpttaskdefaultpanel.h')
-rw-r--r--kplato/kpttaskdefaultpanel.h38
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);