diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
commit | cfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch) | |
tree | e3219edf5f827eaa4db3feb509a17846a1a5a752 /kworldwatch/zoneclock.h | |
parent | a73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff) | |
download | tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kworldwatch/zoneclock.h')
-rw-r--r-- | kworldwatch/zoneclock.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kworldwatch/zoneclock.h b/kworldwatch/zoneclock.h index 50a6768..403256e 100644 --- a/kworldwatch/zoneclock.h +++ b/kworldwatch/zoneclock.h @@ -29,10 +29,10 @@ #define ZONECLOCK_H -#include <qwidget.h> -#include <qstring.h> -#include <qframe.h> -#include <qptrlist.h> +#include <tqwidget.h> +#include <tqstring.h> +#include <tqframe.h> +#include <tqptrlist.h> class QLabel; @@ -49,20 +49,20 @@ class ZoneClock : public QFrame public: - ZoneClock(const QString &zone, const QString &name, QWidget *parent=0, const char *n=0); + ZoneClock(const TQString &zone, const TQString &name, TQWidget *parent=0, const char *n=0); - QString zone() const { return _zone; }; - void setZone(const QString &z) { _zone = z; updateTime(); }; + TQString zone() const { return _zone; }; + void setZone(const TQString &z) { _zone = z; updateTime(); }; - QString name() const { return _name; }; - void setName( const QString &n) { _name = n; updateTime(); }; + TQString name() const { return _name; }; + void setName( const TQString &n) { _name = n; updateTime(); }; signals: void removeMe(ZoneClock *t); - void addClock(const QString &zone); + void addClock(const TQString &zone); void changed(); @@ -73,7 +73,7 @@ public slots: protected: - virtual bool eventFilter(QObject *, QEvent *); + virtual bool eventFilter(TQObject *, TQEvent *); private slots: @@ -86,10 +86,10 @@ private slots: private: - QString _zone; - QString _name; - QLabel *_timeLabel, *_nameLabel; - QPopupMenu *_popup; + TQString _zone; + TQString _name; + TQLabel *_timeLabel, *_nameLabel; + TQPopupMenu *_popup; }; @@ -100,9 +100,9 @@ class ZoneClockPanel : public QFrame public: - ZoneClockPanel(QWidget *parent=0, const char *name=0); + ZoneClockPanel(TQWidget *parent=0, const char *name=0); - void addClock(const QString &zone, const QString &name); + void addClock(const TQString &zone, const TQString &name); void save(KConfig *config); void load(KConfig *config); @@ -110,7 +110,7 @@ public: public slots: - void addClock(const QString &zone); + void addClock(const TQString &zone); private slots: @@ -125,7 +125,7 @@ private: void createDialog(); SimpleFlow *_flow; - QPtrList<ZoneClock> _clocks; + TQPtrList<ZoneClock> _clocks; ClockDialog *_dlg; }; |