summaryrefslogtreecommitdiffstats
path: root/kturtle/src/canvas.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
commit98a12d05a48814bec3870b9a6d5865475cfa1c95 (patch)
treea711801e47696fb0cf162abd7330e0b5b480ba39 /kturtle/src/canvas.cpp
parent421a1845137c7c396b5d03bce53237fcb149d602 (diff)
downloadtdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.tar.gz
tdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1211429 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kturtle/src/canvas.cpp')
-rw-r--r--kturtle/src/canvas.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kturtle/src/canvas.cpp b/kturtle/src/canvas.cpp
index 38281956..b0133e82 100644
--- a/kturtle/src/canvas.cpp
+++ b/kturtle/src/canvas.cpp
@@ -18,7 +18,7 @@
// Note on this file:
-// It contains 200 lines of code just to make sure very long line are drawn correctly
+// It tqcontains 200 lines of code just to make sure very long line are drawn correctly
// till a certain extent... Beyond that extent the code just cuts the crap, since use user
// it then probably not doing anything usefull anymore; so he she will not notice the code
// is cheating a bit in order to prevent CPU hogging.
@@ -297,11 +297,11 @@ void Canvas::slotPrint(TQString text)
void Canvas::slotFontType(TQString family, TQString extra)
{
font.setFamily(family);
- font.setBold( extra.contains("bold") > 0 );
- font.setItalic( extra.contains("italic") > 0 );
- font.setUnderline( extra.contains("underline") > 0 );
- font.setOverline( extra.contains("overline") > 0 );
- font.setStrikeOut( extra.contains("strikeout") > 0 );
+ font.setBold( extra.tqcontains("bold") > 0 );
+ font.setItalic( extra.tqcontains("italic") > 0 );
+ font.setUnderline( extra.tqcontains("underline") > 0 );
+ font.setOverline( extra.tqcontains("overline") > 0 );
+ font.setStrikeOut( extra.tqcontains("strikeout") > 0 );
}
void Canvas::slotFontSize(int px)