summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/slider.cpp
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.cpp
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.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);
}