diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/clock/dtime.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/clock/dtime.h')
-rw-r--r-- | kcontrol/clock/dtime.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kcontrol/clock/dtime.h b/kcontrol/clock/dtime.h index 5fcbb62df..cf6cccc63 100644 --- a/kcontrol/clock/dtime.h +++ b/kcontrol/clock/dtime.h @@ -22,14 +22,14 @@ #ifndef dtime_included #define dtime_included -#include <qdatetime.h> -#include <qlineedit.h> -#include <qspinbox.h> -#include <qstring.h> -#include <qtimer.h> -#include <qvalidator.h> -#include <qwidget.h> -#include <qcheckbox.h> +#include <tqdatetime.h> +#include <tqlineedit.h> +#include <tqspinbox.h> +#include <tqstring.h> +#include <tqtimer.h> +#include <tqvalidator.h> +#include <tqwidget.h> +#include <tqcheckbox.h> #include <kdatepicker.h> #include <knuminput.h> @@ -40,21 +40,21 @@ class HMSTimeWidget : public KIntSpinBox { Q_OBJECT public: - HMSTimeWidget(QWidget *parent=0, const char *name=0); + HMSTimeWidget(TQWidget *parent=0, const char *name=0); protected: - QString mapValueToText(int); + TQString mapValueToText(int); }; class Dtime : public QWidget { Q_OBJECT public: - Dtime( QWidget *parent=0, const char* name=0 ); + Dtime( TQWidget *parent=0, const char* name=0 ); void save(); void load(); - QString quickHelp() const; + TQString quickHelp() const; signals: void timeChanged(bool); @@ -64,13 +64,13 @@ signals: void serverTimeCheck(); void timeout(); void set_time(); - void changeDate(QDate); + void changeDate(TQDate); private: void findNTPutility(); QString ntpUtility; - QWidget* privateLayoutWidget; + TQWidget* privateLayoutWidget; QCheckBox *setDateTimeAuto; QComboBox *timeServerList; @@ -99,27 +99,27 @@ class Kclock : public QWidget Q_OBJECT public: - Kclock( QWidget *parent=0, const char *name=0 ) - : QWidget(parent, name) {}; + Kclock( TQWidget *parent=0, const char *name=0 ) + : TQWidget(parent, name) {}; - void setTime(const QTime&); + void setTime(const TQTime&); protected: - virtual void paintEvent( QPaintEvent *event ); + virtual void paintEvent( TQPaintEvent *event ); private: QTime time; }; -class KStrictIntValidator : public QIntValidator +class KStrictIntValidator : public TQIntValidator { public: - KStrictIntValidator(int bottom, int top, QWidget * parent, + KStrictIntValidator(int bottom, int top, TQWidget * parent, const char * name = 0 ) - : QIntValidator(bottom, top, parent, name) {}; + : TQIntValidator(bottom, top, parent, name) {}; - QValidator::State validate( QString & input, int & d ) const; + TQValidator::State validate( TQString & input, int & d ) const; }; #endif // dtime_included |