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/kmlistview.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdeprint/management/kmlistview.cpp') diff --git a/kdeprint/management/kmlistview.cpp b/kdeprint/management/kmlistview.cpp index 2ffc9b730..e754cfe1d 100644 --- a/kdeprint/management/kmlistview.cpp +++ b/kdeprint/management/kmlistview.cpp @@ -89,7 +89,7 @@ void KMListViewItem::updatePrinter(KMPrinter *p) } setDiscarded(false); if (update) - tqrepaint(); + repaint(); } void KMListViewItem::paintCell(TQPainter *p, const TQColorGroup& cg, int c, int w, int a) @@ -147,7 +147,7 @@ void KMListView::slotRightButtonClicked(TQListViewItem *item, const TQPoint& p, emit rightButtonClicked(item && item->depth() == 2 ? item->text(0) : TQString::null, p); } -KMListViewItem* KMListView::tqfindItem(KMPrinter *p) +KMListViewItem* KMListView::findItem(KMPrinter *p) { if (p) { @@ -169,7 +169,7 @@ KMListViewItem* KMListView::tqfindItem(KMPrinter *p) return 0; } -KMListViewItem* KMListView::tqfindItem(const TQString& prname) +KMListViewItem* KMListView::findItem(const TQString& prname) { TQPtrListIterator it(m_items); for (; it.current(); ++it) @@ -192,12 +192,12 @@ void KMListView::setPrinterList(TQPtrList *list) KMListViewItem *item (0); for (;it.current();++it) { - item = tqfindItem(it.current()); + item = findItem(it.current()); if (!item) { if (it.current()->isVirtual()) { - KMListViewItem *pItem = tqfindItem(it.current()->printerName()); + KMListViewItem *pItem = findItem(it.current()->printerName()); if (!pItem) continue; item = new KMListViewItem(pItem, it.current()); -- cgit v1.2.1