From 8155225c9be993acc0512956416d195edfef4eb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 01:42:14 +0000 Subject: 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 --- kcontrol/clock/dtime.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kcontrol/clock/dtime.h') 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; }; -- cgit v1.2.3