diff options
author | Michele Calgaro <[email protected]> | 2023-11-04 23:07:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 23:06:51 +0900 |
commit | 945085d2d242018111b8bb1e1082ebe2021b720b (patch) | |
tree | 9162dfce141628f7e5d7ffc311dc0df860a6b29b /src/modules/objects/class_slider.cpp | |
parent | 776d38202f9be592e1b6b99dbc81a64ee584c5c0 (diff) | |
download | kvirc-945085d2d242018111b8bb1e1082ebe2021b720b.tar.gz kvirc-945085d2d242018111b8bb1e1082ebe2021b720b.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 9577f4de07539fb2464a1499d45b25993c5cea46)
Diffstat (limited to 'src/modules/objects/class_slider.cpp')
-rw-r--r-- | src/modules/objects/class_slider.cpp | 6 |
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; } |