From a1bd60b34891ccc77056c190d7871bc4b14fe654 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 21:31:21 +0000 Subject: 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 --- kteatime/timeedit.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'kteatime/timeedit.h') 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 -- cgit v1.2.1