summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/slider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/slider.cpp')
-rw-r--r--kalarm/lib/slider.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kalarm/lib/slider.cpp b/kalarm/lib/slider.cpp
index 1a0999645..afe7d679c 100644
--- a/kalarm/lib/slider.cpp
+++ b/kalarm/lib/slider.cpp
@@ -21,18 +21,18 @@
#include "slider.moc"
-Slider::Slider(QWidget* parent, const char* name)
- : QSlider(parent, name),
+Slider::Slider(TQWidget* parent, const char* name)
+ : TQSlider(parent, name),
mReadOnly(false)
{ }
-Slider::Slider(Orientation o, QWidget* parent, const char* name)
- : QSlider(o, parent, name),
+Slider::Slider(Orientation o, TQWidget* parent, const char* name)
+ : TQSlider(o, parent, name),
mReadOnly(false)
{ }
-Slider::Slider(int minval, int maxval, int pageStep, int value, Orientation o, QWidget* parent, const char* name)
- : QSlider(minval, maxval, pageStep, value, o, parent, name),
+Slider::Slider(int minval, int maxval, int pageStep, int value, Orientation o, TQWidget* parent, const char* name)
+ : TQSlider(minval, maxval, pageStep, value, o, parent, name),
mReadOnly(false)
{ }
@@ -49,7 +49,7 @@ void Slider::setReadOnly(bool ro)
* Event handlers to intercept events if in read-only mode.
* Any events which could change the slider value are discarded.
*/
-void Slider::mousePressEvent(QMouseEvent* e)
+void Slider::mousePressEvent(TQMouseEvent* e)
{
if (mReadOnly)
{
@@ -57,29 +57,29 @@ void Slider::mousePressEvent(QMouseEvent* e)
if (e->button() == Qt::LeftButton)
return;
}
- QSlider::mousePressEvent(e);
+ TQSlider::mousePressEvent(e);
}
-void Slider::mouseReleaseEvent(QMouseEvent* e)
+void Slider::mouseReleaseEvent(TQMouseEvent* e)
{
if (!mReadOnly)
- QSlider::mouseReleaseEvent(e);
+ TQSlider::mouseReleaseEvent(e);
}
-void Slider::mouseMoveEvent(QMouseEvent* e)
+void Slider::mouseMoveEvent(TQMouseEvent* e)
{
if (!mReadOnly)
- QSlider::mouseMoveEvent(e);
+ TQSlider::mouseMoveEvent(e);
}
-void Slider::keyPressEvent(QKeyEvent* e)
+void Slider::keyPressEvent(TQKeyEvent* e)
{
if (!mReadOnly || e->key() == Qt::Key_Escape)
- QSlider::keyPressEvent(e);
+ TQSlider::keyPressEvent(e);
}
-void Slider::keyReleaseEvent(QKeyEvent* e)
+void Slider::keyReleaseEvent(TQKeyEvent* e)
{
if (!mReadOnly)
- QSlider::keyReleaseEvent(e);
+ TQSlider::keyReleaseEvent(e);
}