diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 21:03:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-14 12:59:42 +0900 |
commit | a49b0e2c531c81e420dc103b5130e2fa8643f46d (patch) | |
tree | 42ee6213b300c2366208f6c122bee39845b5a89c /kcontrol/tdefontinst | |
parent | 36eda89f538b610db9dbda129d7c8e81089caf1a (diff) | |
download | tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'kcontrol/tdefontinst')
-rw-r--r-- | kcontrol/tdefontinst/lib/FcEngine.cpp | 4 | ||||
-rw-r--r-- | kcontrol/tdefontinst/viewpart/FontPreview.cpp | 2 |
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); } |