summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/spinbox.h')
-rw-r--r--kalarm/lib/spinbox.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kalarm/lib/spinbox.h b/kalarm/lib/spinbox.h
index 0df91023..cf74e9de 100644
--- a/kalarm/lib/spinbox.h
+++ b/kalarm/lib/spinbox.h
@@ -21,13 +21,13 @@
#ifndef SPINBOX_H
#define SPINBOX_H
-#include <qspinbox.h>
+#include <tqspinbox.h>
/**
* @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 };