summaryrefslogtreecommitdiffstats
path: root/kanagram/src/fontutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/fontutils.cpp')
-rw-r--r--kanagram/src/fontutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kanagram/src/fontutils.cpp b/kanagram/src/fontutils.cpp
index 14fff456..5b3dfdca 100644
--- a/kanagram/src/fontutils.cpp
+++ b/kanagram/src/fontutils.cpp
@@ -18,7 +18,7 @@ int fontUtils::fontSize(TQPainter &p, const TQString &s1, int w, int h)
f.setPointSize(28);
p.setFont(f);
- aux1 = p.boundingRect(TQRect(), Qt::AlignAuto, s1);
+ aux1 = p.boundingRect(TQRect(), TQt::AlignAuto, s1);
- return QMIN(w * 28 / aux1.width(), h * 28 / aux1.height());
+ return TQMIN(w * 28 / aux1.width(), h * 28 / aux1.height());
}