diff options
Diffstat (limited to 'kdeprint/management/kmiconview.cpp')
-rw-r--r-- | kdeprint/management/kmiconview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/management/kmiconview.cpp b/kdeprint/management/kmiconview.cpp index 5d16e34d0..8fbe0ecea 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::fromLatin1("%1_%2").arg((p->isSpecial() ? "special" : (p->isClass(false) ? "class" : "printer"))).arg(p->name())); + setKey(TQString::tqfromLatin1("%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) - // repaint(); + // tqrepaint(); setDiscarded(false); } @@ -137,7 +137,7 @@ KMIconView::~KMIconView() { } -KMIconViewItem* KMIconView::findItem(KMPrinter *p) +KMIconViewItem* KMIconView::tqfindItem(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 = findItem(it.current()); + item = tqfindItem(it.current()); if (!item) { item = new KMIconViewItem(this,it.current()); |