summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/lib/spinbox.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 0df910233..cf74e9deb 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 };