summaryrefslogtreecommitdiffstats
path: root/tdeprint/driveritem.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 20:33:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeprint/driveritem.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/driveritem.cpp')
-rw-r--r--tdeprint/driveritem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeprint/driveritem.cpp b/tdeprint/driveritem.cpp
index 9bf17565c..0b4266c11 100644
--- a/tdeprint/driveritem.cpp
+++ b/tdeprint/driveritem.cpp
@@ -91,7 +91,7 @@ void DriverItem::paintCell(TQPainter *p, const TQColorGroup& cg, int, int width,
if (!m_item || !m_item->isOption() || isSelected())
{
p->setPen((isSelected() ? cg.highlightedText() : (m_conflict ? red : cg.text())));
- p->drawText(w,0,width-w,height(),Qt::AlignLeft|Qt::AlignVCenter,text(0));
+ p->drawText(w,0,width-w,height(),TQt::AlignLeft|TQt::AlignVCenter,text(0));
}
else
{
@@ -99,17 +99,17 @@ void DriverItem::paintCell(TQPainter *p, const TQColorGroup& cg, int, int width,
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);
+ p->drawText(w,0,w1,height(),TQt::AlignLeft|TQt::AlignVCenter,s);
w += w1;
p->setPen((m_conflict ? red : darkGreen));
s = m_item->prettyText();
w1 = p->fontMetrics().width(s);
- p->drawText(w,0,w1,height(),Qt::AlignLeft|Qt::AlignVCenter,s);
+ p->drawText(w,0,w1,height(),TQt::AlignLeft|TQt::AlignVCenter,s);
w += w1;
p->setPen(cg.text());
s = TQString::fromLatin1(">");
w1 = p->fontMetrics().width(s);
- p->drawText(w,0,w1,height(),Qt::AlignLeft|Qt::AlignVCenter,s);
+ p->drawText(w,0,w1,height(),TQt::AlignLeft|TQt::AlignVCenter,s);
}
}