summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_slider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_slider.cpp')
-rw-r--r--src/modules/objects/class_slider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_slider.cpp b/src/modules/objects/class_slider.cpp
index a8e3d938..462bc14d 100644
--- a/src/modules/objects/class_slider.cpp
+++ b/src/modules/objects/class_slider.cpp
@@ -49,7 +49,7 @@
@functions:
!fn: $setOrientation(<orientation:string>)
Sets the slider's orientation.[br]
- Qt::Orientation value can be "Horizontal" or "Vertical".
+ Orientation value can be "Horizontal" or "Vertical".
!fn: $setTracking(<bTracking:boolean>)
Sets whether slider tracking is enabled to enable.[br]
Value can be 1 or 0.
@@ -265,9 +265,9 @@ bool KviKvsObject_slider::functionsetOrientation(KviKvsObjectFunctionCall *c)
KVSO_PARAMETERS_END(c)
if(!widget())return true;
if(KviTQString::equalCI(szOrientation,"Horizontal"))
- ((TQSlider *)widget())->setOrientation(Qt::Horizontal);
+ ((TQSlider *)widget())->setOrientation(TQt::Horizontal);
else if(KviTQString::equalCI(szOrientation,"Vertical"))
- ((TQSlider *)widget())->setOrientation(Qt::Vertical);
+ ((TQSlider *)widget())->setOrientation(TQt::Vertical);
else c->warning( __tr2qs("Unknown orientation '%Q'"),&szOrientation);
return true;
}