summaryrefslogtreecommitdiffstats
path: root/arts/builder/drawutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder/drawutils.cpp')
-rw-r--r--arts/builder/drawutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arts/builder/drawutils.cpp b/arts/builder/drawutils.cpp
index 43b449e8..c2c0ef3f 100644
--- a/arts/builder/drawutils.cpp
+++ b/arts/builder/drawutils.cpp
@@ -21,9 +21,9 @@
#include "drawutils.h"
-QString DrawUtils::cropText(QPainter *p, QString text, int maxlen, int& textwidth)
+TQString DrawUtils::cropText(TQPainter *p, TQString text, int maxlen, int& textwidth)
{
- QString label = text;
+ TQString label = text;
while(p->fontMetrics().width(label) > maxlen && label.length() > 0) {
int i = label.find('_');