summaryrefslogtreecommitdiffstats
path: root/kcontrol/tdefontinst
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
commitb965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch)
tree7fcff5d301752cbdcdfff64d8791aff1369b803f /kcontrol/tdefontinst
parent7d6d35b42e00d6b6658951871b29489bdec80714 (diff)
downloadtdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz
tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/tdefontinst')
-rw-r--r--kcontrol/tdefontinst/lib/FcEngine.cpp4
-rw-r--r--kcontrol/tdefontinst/viewpart/FontPreview.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/tdefontinst/lib/FcEngine.cpp b/kcontrol/tdefontinst/lib/FcEngine.cpp
index 1956a34a6..987a44174 100644
--- a/kcontrol/tdefontinst/lib/FcEngine.cpp
+++ b/kcontrol/tdefontinst/lib/FcEngine.cpp
@@ -491,7 +491,7 @@ bool CFcEngine::draw(const KURL &url, int w, int h, TQPixmap &pix, int faceNo, b
x=offset, y=offset;
pix.resize(w, h);
- pix.fill(Qt::white);
+ pix.fill(TQt::white);
TQPainter painter(&pix);
@@ -580,7 +580,7 @@ bool CFcEngine::draw(const KURL &url, int w, int h, TQPixmap &pix, int faceNo, b
title=i18n("%1 [1 pixel]", "%1 [%n pixels]", itsSizes[0]).arg(title);
painter.setFont(TDEGlobalSettings::generalFont());
- painter.setPen(Qt::black);
+ painter.setPen(TQt::black);
y=painter.fontMetrics().height();
drawText(painter, x, y, w-offset, title);
y+=4;
diff --git a/kcontrol/tdefontinst/viewpart/FontPreview.cpp b/kcontrol/tdefontinst/viewpart/FontPreview.cpp
index 41367d586..ff2eaae77 100644
--- a/kcontrol/tdefontinst/viewpart/FontPreview.cpp
+++ b/kcontrol/tdefontinst/viewpart/FontPreview.cpp
@@ -65,7 +65,7 @@ void CFontPreview::showFont()
if(!itsCurrentUrl.isEmpty() &&
itsEngine.draw(itsCurrentUrl, itsLastWidth, itsLastHeight, itsPixmap, itsCurrentFace-1, false))
{
- setEraseColor(Qt::white);
+ setEraseColor(TQt::white);
update();
emit status(true);
}