From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/lib/spinbox.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kalarm/lib/spinbox.h') diff --git a/kalarm/lib/spinbox.h b/kalarm/lib/spinbox.h index 0df910233..cf74e9deb 100644 --- a/kalarm/lib/spinbox.h +++ b/kalarm/lib/spinbox.h @@ -21,13 +21,13 @@ #ifndef SPINBOX_H #define SPINBOX_H -#include +#include /** * @short Spin box with accelerated shift key stepping and read-only option. * - * The SpinBox class provides a QSpinBox with accelerated stepping using the shift key. + * The SpinBox class provides a TQSpinBox with accelerated stepping using the shift key. * * A separate step increment may optionally be specified for use when the shift key is * held down. Typically this would be larger than the normal step. Then, when the user @@ -47,7 +47,7 @@ class SpinBox : public QSpinBox * @param parent The parent object of this widget. * @param name The name of this widget. */ - explicit SpinBox(QWidget* parent = 0, const char* name = 0); + explicit SpinBox(TQWidget* parent = 0, const char* name = 0); /** Constructor. * @param minValue The minimum value which the spin box can have. * @param maxValue The maximum value which the spin box can have. @@ -55,7 +55,7 @@ class SpinBox : public QSpinBox * @param parent The parent object of this widget. * @param name The name of this widget. */ - SpinBox(int minValue, int maxValue, int step = 1, QWidget* parent = 0, const char* name = 0); + SpinBox(int minValue, int maxValue, int step = 1, TQWidget* parent = 0, const char* name = 0); /** Returns true if the widget is read only. */ bool isReadOnly() const { return mReadOnly; } /** Sets whether the spin box can be changed by the user. @@ -123,8 +123,8 @@ class SpinBox : public QSpinBox */ virtual int shiftStepAdjustment(int oldValue, int shiftStep); /** Receives events destined for the spin widget or for the edit field. */ - virtual bool eventFilter(QObject*, QEvent*); - /** Updates the contents of the embedded QLineEdit to reflect the current value + virtual bool eventFilter(TQObject*, TQEvent*); + /** Updates the contents of the embedded TQLineEdit to reflect the current value * using mapValueToText(). Also enables/disables the up/down push buttons accordingly. */ virtual void updateDisplay(); @@ -134,7 +134,7 @@ class SpinBox : public QSpinBox private: void init(); void addValue(int change, bool current); - int whichButton(const QPoint&); + int whichButton(const TQPoint&); bool setShiftStepping(bool, int currentButton); enum { NO_BUTTON, UP, DOWN }; -- cgit v1.2.1