From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/management/kmiconview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdeprint/management/kmiconview.cpp') 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 *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()); -- cgit v1.2.1