summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/slider.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/slider.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/slider.h')
-rw-r--r--kalarm/lib/slider.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kalarm/lib/slider.h b/kalarm/lib/slider.h
index 17635e68a..8fa54d452 100644
--- a/kalarm/lib/slider.h
+++ b/kalarm/lib/slider.h
@@ -21,13 +21,13 @@
#ifndef SLIDER_H
#define SLIDER_H
-#include <qslider.h>
+#include <tqslider.h>
/**
- * @short A QSlider with read-only option.
+ * @short A TQSlider with read-only option.
*
- * The Slider class is a QSlider with a read-only option.
+ * The Slider class is a TQSlider with a read-only option.
*
* The widget may be set as read-only. This has the same effect as disabling it, except
* that its appearance is unchanged.
@@ -43,13 +43,13 @@ class Slider : public QSlider
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- explicit Slider(QWidget* parent = 0, const char* name = 0);
+ explicit Slider(TQWidget* parent = 0, const char* name = 0);
/** Constructor.
* @param orient The orientation of the slider, either Qt::Horizonal or Qt::Vertical.
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- explicit Slider(Orientation orient, QWidget* parent = 0, const char* name = 0);
+ explicit Slider(Orientation orient, TQWidget* parent = 0, const char* name = 0);
/** Constructor.
* @param minValue The minimum value which the slider can have.
* @param maxValue The maximum value which the slider can have.
@@ -60,7 +60,7 @@ class Slider : public QSlider
* @param name The name of this widget.
*/
Slider(int minValue, int maxValue, int pageStep, int value, Orientation orient,
- QWidget* parent = 0, const char* name = 0);
+ TQWidget* parent = 0, const char* name = 0);
/** Returns true if the slider is read only. */
bool isReadOnly() const { return mReadOnly; }
/** Sets whether the slider is read-only for the user.
@@ -68,11 +68,11 @@ class Slider : public QSlider
*/
virtual void setReadOnly(bool readOnly);
protected:
- virtual void mousePressEvent(QMouseEvent*);
- virtual void mouseReleaseEvent(QMouseEvent*);
- virtual void mouseMoveEvent(QMouseEvent*);
- virtual void keyPressEvent(QKeyEvent*);
- virtual void keyReleaseEvent(QKeyEvent*);
+ virtual void mousePressEvent(TQMouseEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent*);
+ virtual void mouseMoveEvent(TQMouseEvent*);
+ virtual void keyPressEvent(TQKeyEvent*);
+ virtual void keyReleaseEvent(TQKeyEvent*);
private:
bool mReadOnly; // value cannot be changed by the user
};