summaryrefslogtreecommitdiffstats
path: root/kcontrol/clock/dtime.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kcontrol/clock/dtime.h
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/clock/dtime.h')
-rw-r--r--kcontrol/clock/dtime.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kcontrol/clock/dtime.h b/kcontrol/clock/dtime.h
index cf6cccc63..c48b7ecee 100644
--- a/kcontrol/clock/dtime.h
+++ b/kcontrol/clock/dtime.h
@@ -45,7 +45,7 @@ class HMSTimeWidget : public KIntSpinBox
TQString mapValueToText(int);
};
-class Dtime : public QWidget
+class Dtime : public TQWidget
{
Q_OBJECT
public:
@@ -68,15 +68,15 @@ signals:
private:
void findNTPutility();
- QString ntpUtility;
+ TQString ntpUtility;
TQWidget* privateLayoutWidget;
- QCheckBox *setDateTimeAuto;
- QComboBox *timeServerList;
+ TQCheckBox *setDateTimeAuto;
+ TQComboBox *timeServerList;
KDatePicker *cal;
- QComboBox *month;
- QSpinBox *year;
+ TQComboBox *month;
+ TQSpinBox *year;
HMSTimeWidget *hour;
HMSTimeWidget *minute;
@@ -84,17 +84,17 @@ private:
Kclock *kclock;
- QTime time;
- QDate date;
- QTimer internalTimer;
+ TQTime time;
+ TQDate date;
+ TQTimer internalTimer;
- QString BufS;
+ TQString BufS;
int BufI;
bool refresh;
bool ontimeout;
};
-class Kclock : public QWidget
+class Kclock : public TQWidget
{
Q_OBJECT
@@ -109,7 +109,7 @@ protected:
private:
- QTime time;
+ TQTime time;
};
class KStrictIntValidator : public TQIntValidator
@@ -117,7 +117,7 @@ class KStrictIntValidator : public TQIntValidator
public:
KStrictIntValidator(int bottom, int top, TQWidget * parent,
const char * name = 0 )
- : TQIntValidator(bottom, top, parent, name) {};
+ : TQIntValidator(bottom, top, TQT_TQOBJECT(parent), name) {};
TQValidator::State validate( TQString & input, int & d ) const;
};