summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_label.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:14:01 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:14:01 -0600
commit32a249baaef1b910bffd79734c78cac3671f00f2 (patch)
tree07233b57d529ba723ec8d157152dada5b9cf8380 /src/modules/objects/class_label.cpp
parentc6611272c2bc4a42580848946c8c5d81bb0409c7 (diff)
downloadkvirc-32a249baaef1b910bffd79734c78cac3671f00f2.tar.gz
kvirc-32a249baaef1b910bffd79734c78cac3671f00f2.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/modules/objects/class_label.cpp')
-rw-r--r--src/modules/objects/class_label.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/objects/class_label.cpp b/src/modules/objects/class_label.cpp
index ce2c5365..580f93b9 100644
--- a/src/modules/objects/class_label.cpp
+++ b/src/modules/objects/class_label.cpp
@@ -34,7 +34,7 @@
-// Tables used in $tqsetAlignment & $tqalignment
+// Tables used in $setAlignment & $tqalignment
const char * const align_tbl[] = {
"Left",
"Right",
@@ -149,9 +149,9 @@ const int frame_cod[] = {
this label. The flags are separated by commas. An example output
could look like this:[br]
[pre]Bottom, Right[/pre][br]
- See [classfnc]$tqsetAlignment[/classfnc]() for explanation of all
+ See [classfnc]$setAlignment[/classfnc]() for explanation of all
tqalignment flags.
- !fn: $tqsetAlignment(<flag1:string>, <flag2:string>, ...)
+ !fn: $setAlignment(<flag1:string>, <flag2:string>, ...)
This function sets tqalignment flags, given as parameters, for
this label. Valid flags are:
[pre]
@@ -217,7 +217,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_label,"label","widget")
KVSO_REGISTER_HANDLER(KviKvsObject_label,"autoResize", functionAutoResize)
KVSO_REGISTER_HANDLER(KviKvsObject_label,"setAutoResize", functionSetAutoResize)
KVSO_REGISTER_HANDLER(KviKvsObject_label,"tqalignment", functionAlignment)
- KVSO_REGISTER_HANDLER(KviKvsObject_label,"tqsetAlignment", functionSetAlignment)
+ KVSO_REGISTER_HANDLER(KviKvsObject_label,"setAlignment", functionSetAlignment)
KVSO_REGISTER_HANDLER(KviKvsObject_label,"clear", functionClear)
KVSO_REGISTER_HANDLER(KviKvsObject_label,"frameStyle", functionFrameStyle)
KVSO_REGISTER_HANDLER(KviKvsObject_label,"setFrameStyle", functionSetFrameStyle)
@@ -321,7 +321,7 @@ bool KviKvsObject_label::functionSetAlignment(KviKvsObjectFunctionCall *c)
c->warning(__tr2qs("Unknown tqalignment: '%Q'"),&(*it));
}
- ((TQLabel *)widget())->tqsetAlignment(sum);
+ ((TQLabel *)widget())->setAlignment(sum);
return true;
}
bool KviKvsObject_label::functionAlignment(KviKvsObjectFunctionCall *c)