diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 23:07:53 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 23:06:51 +0900 |
commit | 945085d2d242018111b8bb1e1082ebe2021b720b (patch) | |
tree | 9162dfce141628f7e5d7ffc311dc0df860a6b29b /src/modules/objects/class_groupbox.cpp | |
parent | 776d38202f9be592e1b6b99dbc81a64ee584c5c0 (diff) | |
download | kvirc-945085d2d242018111b8bb1e1082ebe2021b720b.tar.gz kvirc-945085d2d242018111b8bb1e1082ebe2021b720b.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9577f4de07539fb2464a1499d45b25993c5cea46)
Diffstat (limited to 'src/modules/objects/class_groupbox.cpp')
-rw-r--r-- | src/modules/objects/class_groupbox.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/class_groupbox.cpp b/src/modules/objects/class_groupbox.cpp index 6157b03..53f168b 100644 --- a/src/modules/objects/class_groupbox.cpp +++ b/src/modules/objects/class_groupbox.cpp @@ -94,10 +94,10 @@ const int align_cod[] = { !fn: $setAlignment(<alignment:string>) Set the alignment of the groupbox; Valid values are Left,Right,HCenter. !fn: $setOrientation<orientation:string> - Sets the group box's orientation. Valid values are:Qt::Horizontal,Qt::Vertical. + Sets the group box's orientation. Valid values are Horizontal,Vertical. !fn: $setColumnLayout(<columns:integer>,<orientation:string>) Enables the automatic layout management. The children are arranged in n columns with the specified orientation.[br] - Valid values for <orientation> are:Qt::Horizontal,Qt::Vertical. + Valid values for <orientation> are Horizontal,Vertical. @examples: [example] |-Start:[br] @@ -342,10 +342,10 @@ bool KviKvsObject_groupbox::functionSetOrientation(KviKvsObjectFunctionCall *c) KVSO_PARAMETERS_END(c) if(!widget())return true; if(KviTQString::equalCI(szMode, "Horizontal")) - ((KviTalGroupBox *)widget())->setOrientation(Qt::Horizontal); + ((KviTalGroupBox *)widget())->setOrientation(TQt::Horizontal); else if(KviTQString::equalCI(szMode, "Vertical")) - ((KviTalGroupBox *)widget())->setOrientation(Qt::Vertical); + ((KviTalGroupBox *)widget())->setOrientation(TQt::Vertical); else c->warning( __tr2qs("Unknown orientation: ")); return true; } @@ -360,10 +360,10 @@ bool KviKvsObject_groupbox::functionSetColumnLayout(KviKvsObjectFunctionCall *c) KVSO_PARAMETERS_END(c) if(!widget())return true; if(szMode=="Horizontal") - ((KviTalGroupBox *)widget())->setColumnLayout(uCol,Qt::Horizontal); + ((KviTalGroupBox *)widget())->setColumnLayout(uCol,TQt::Horizontal); else if(szMode=="Vertical") - ((KviTalGroupBox *)widget())->setColumnLayout(uCol,Qt::Vertical); + ((KviTalGroupBox *)widget())->setColumnLayout(uCol,TQt::Vertical); else c->warning( __tr2qs("Unknown orientation: ")); return true; } |