summaryrefslogtreecommitdiffstats
path: root/tdeprint/driveritem.cpp
diff options
context:
space:
mode:
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);
}
}