diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:03:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:29:31 +0900 |
commit | 4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch) | |
tree | 6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdeprint/driveritem.cpp | |
parent | 066f257eadc5866386c2cfbdba1a93105cff67ae (diff) | |
download | tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/driveritem.cpp')
-rw-r--r-- | tdeprint/driveritem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/driveritem.cpp b/tdeprint/driveritem.cpp index 0b66c51d9..9bf17565c 100644 --- a/tdeprint/driveritem.cpp +++ b/tdeprint/driveritem.cpp @@ -44,7 +44,7 @@ void DriverItem::updateText() { if (m_item) { - QString s(m_item->get("text")); + TQString s(m_item->get("text")); if (m_item->isOption()) s.append(TQString::fromLatin1(": <%1>").arg(m_item->prettyText())); if (m_item->type() == DrBase::List) @@ -96,7 +96,7 @@ void DriverItem::paintCell(TQPainter *p, const TQColorGroup& cg, int, int width, else { int w1(0); - QString s(m_item->get("text") + ": <"); + TQString s(m_item->get("text") + ": <"); w1 = p->fontMetrics().width(s); p->setPen(cg.text()); p->drawText(w,0,w1,height(),Qt::AlignLeft|Qt::AlignVCenter,s); |