diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
commit | a1bd60b34891ccc77056c190d7871bc4b14fe654 (patch) | |
tree | 713f2f72c8f08a18df12f5bbeef7f9b61b19d4f1 /kteatime/timeedit.h | |
parent | 8d92c3c2a4131996726cc7b625d3cd3caec296de (diff) | |
download | tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.tar.gz tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.zip |
TQt4 port kdetoys
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kteatime/timeedit.h')
-rw-r--r-- | kteatime/timeedit.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/kteatime/timeedit.h b/kteatime/timeedit.h index 0be5670..3370dac 100644 --- a/kteatime/timeedit.h +++ b/kteatime/timeedit.h @@ -18,12 +18,13 @@ class TQBoxLayout; * @short A spinbox that wraps around after reaching minValue resp. maxValue. * @author Daniel Teske */ -class WrappingSpinBox : public QSpinBox +class WrappingSpinBox : public TQSpinBox { Q_OBJECT + TQ_OBJECT public: - WrappingSpinBox(int minValue, int maxValue, int step = 1, TQWidget *parent=0, const char *name=0); + WrappingSpinBox(int minValue, int maxValue, int step = 1, TQWidget *tqparent=0, const char *name=0); ~WrappingSpinBox(); void stepUp(); @@ -39,12 +40,13 @@ signals: * @short A widget for entering a timeout in minutes and seconds. * @author Daniel Teske */ -class TimeEdit : public QWidget +class TimeEdit : public TQWidget { Q_OBJECT + TQ_OBJECT public: - TimeEdit(TQWidget* parent = 0, const char* name = 0); + TimeEdit(TQWidget* tqparent = 0, const char* name = 0); ~TimeEdit(); void setValue(int value); @@ -65,7 +67,7 @@ signals: protected: TQSpinBox *minuteBox; WrappingSpinBox *secondBox; - TQBoxLayout* layout; + TQBoxLayout* tqlayout; }; #endif |