summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_painter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:20 -0600
commitc6611272c2bc4a42580848946c8c5d81bb0409c7 (patch)
tree0fd5b58844663dfcd00fb2b79cf67dd0fd429c62 /src/modules/objects/class_painter.cpp
parent805c2821ceaddada48b346c6d11bd0dc1351a539 (diff)
downloadkvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.tar.gz
kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 805c2821ceaddada48b346c6d11bd0dc1351a539.
Diffstat (limited to 'src/modules/objects/class_painter.cpp')
-rw-r--r--src/modules/objects/class_painter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp
index 0949945..826d119 100644
--- a/src/modules/objects/class_painter.cpp
+++ b/src/modules/objects/class_painter.cpp
@@ -41,12 +41,12 @@
@type:
class
@short:
- This class provide a painter to paint line and shapes.
+ This class provide a painter to paint line and tqshapes.
@inherits:
[class]object[/class]
[class]widget[/class]
@description:
- With this class you can draw many graphics objects from simple lines to complex shapes like pies and chords.[br]
+ With this class you can draw many graphics objects from simple lines to complex tqshapes like pies and chords.[br]
It can also draw aligned text and pixmaps. Normally, it draws in a "natural" coordinate system, but it can also do view and world transformation.[br]
The class need to be implemented into a [classfnc]$paintEvent[/classfnc]();
@functions:
@@ -196,8 +196,8 @@
timerevent()[br]
{[br]
$$->%b = $(($$->%b + 1) & 15);[br]
- if ($$->%nextanim == 1) $$->$repaint(1);[br]
- $$->$repaint(0);[br]
+ if ($$->%nextanim == 1) $$->$tqrepaint(1);[br]
+ $$->$tqrepaint(0);[br]
}[br]
drawAnim()[br]
{[br]
@@ -323,7 +323,7 @@
}[br]
}[br]
[br]
- %lay=$new(layout,%Hello)[br]
+ %lay=$new(tqlayout,%Hello)[br]
%lay->$addwidget(%Btn,4,0)[br]
%Hello->$setBackgroundColor("000000");[br]
%Hello->$setmaximumwidth(800)[br]
@@ -414,12 +414,12 @@ if(__pXOrArray->isArray())\
KviKvsVariant * pH = __pXOrArray->array()->at(3);\
if(!(pX && pY && pW && pH))\
{\
- c->error(__tr2qs("One of the geometry array parameters is empty"));\
+ c->error(__tr2qs("One of the tqgeometry array parameters is empty"));\
return false;\
}\
if(!(pX->asInteger(iX) && pY->asInteger(__iY) && pW->asInteger(__iW) && pH->asInteger(__iH)))\
{\
- c->error(__tr2qs("One of the geometry array parameters didn't evaluate to an integer"));\
+ c->error(__tr2qs("One of the tqgeometry array parameters didn't evaluate to an integer"));\
return false;\
}\
} else {\