summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/slider.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/lib/slider.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/lib/slider.h')
-rw-r--r--kalarm/lib/slider.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kalarm/lib/slider.h b/kalarm/lib/slider.h
index 8fa54d452..f79ac0158 100644
--- a/kalarm/lib/slider.h
+++ b/kalarm/lib/slider.h
@@ -34,33 +34,34 @@
*
* @author David Jarvie <software@astrojar.org.uk>
*/
-class Slider : public QSlider
+class Slider : public TQSlider
{
Q_OBJECT
- Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
+ TQ_OBJECT
+ TQ_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
public:
/** Constructor.
- * @param parent The parent object of this widget.
+ * @param tqparent The tqparent object of this widget.
* @param name The name of this widget.
*/
- explicit Slider(TQWidget* parent = 0, const char* name = 0);
+ explicit Slider(TQWidget* tqparent = 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 orient The orientation of the slider, either TQt::Horizonal or TQt::Vertical.
+ * @param tqparent The tqparent object of this widget.
* @param name The name of this widget.
*/
- explicit Slider(Orientation orient, TQWidget* parent = 0, const char* name = 0);
+ explicit Slider(Qt::Orientation orient, TQWidget* tqparent = 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.
* @param pageStep The page step increment.
* @param value The initial value for the slider.
- * @param orient The orientation of the slider, either Qt::Horizonal or Qt::Vertical.
- * @param parent The parent object of this widget.
+ * @param orient The orientation of the slider, either TQt::Horizonal or TQt::Vertical.
+ * @param tqparent The tqparent object of this widget.
* @param name The name of this widget.
*/
- Slider(int minValue, int maxValue, int pageStep, int value, Orientation orient,
- TQWidget* parent = 0, const char* name = 0);
+ Slider(int minValue, int maxValue, int pageStep, int value, Qt::Orientation orient,
+ TQWidget* tqparent = 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.