summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmiconview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kmiconview.cpp')
-rw-r--r--kdeprint/management/kmiconview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/management/kmiconview.cpp b/kdeprint/management/kmiconview.cpp
index 8fbe0ecea..5d16e34d0 100644
--- a/kdeprint/management/kmiconview.cpp
+++ b/kdeprint/management/kmiconview.cpp
@@ -99,7 +99,7 @@ void KMIconViewItem::updatePrinter(KMPrinter *p, int mode)
setText(TQString::null);
setText(p->name());
}
- setKey(TQString::tqfromLatin1("%1_%2").arg((p->isSpecial() ? "special" : (p->isClass(false) ? "class" : "printer"))).arg(p->name()));
+ setKey(TQString::fromLatin1("%1_%2").arg((p->isSpecial() ? "special" : (p->isClass(false) ? "class" : "printer"))).arg(p->name()));
m_isclass = p->isClass(false);
}
if (mode != m_mode || ((oldstate&0x4) != (m_state&0x4)) || (p && p->pixmap() != m_pixmap))
@@ -114,7 +114,7 @@ void KMIconViewItem::updatePrinter(KMPrinter *p, int mode)
setPixmap(SmallIcon(m_pixmap, 0, iconstate));
}
//if (update)
- // tqrepaint();
+ // repaint();
setDiscarded(false);
}
@@ -137,7 +137,7 @@ KMIconView::~KMIconView()
{
}
-KMIconViewItem* KMIconView::tqfindItem(KMPrinter *p)
+KMIconViewItem* KMIconView::findItem(KMPrinter *p)
{
if (p)
{
@@ -167,7 +167,7 @@ void KMIconView::setPrinterList(TQPtrList<KMPrinter> *list)
// only keep real printers (no instances)
if (!it.current()->instanceName().isEmpty())
continue;
- item = tqfindItem(it.current());
+ item = findItem(it.current());
if (!item)
{
item = new KMIconViewItem(this,it.current());