diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeprint/management/kmlistview.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmlistview.cpp')
-rw-r--r-- | kdeprint/management/kmlistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/management/kmlistview.cpp b/kdeprint/management/kmlistview.cpp index e754cfe1d..2ffc9b730 100644 --- a/kdeprint/management/kmlistview.cpp +++ b/kdeprint/management/kmlistview.cpp @@ -89,7 +89,7 @@ void KMListViewItem::updatePrinter(KMPrinter *p) } setDiscarded(false); if (update) - repaint(); + tqrepaint(); } 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::findItem(KMPrinter *p) +KMListViewItem* KMListView::tqfindItem(KMPrinter *p) { if (p) { @@ -169,7 +169,7 @@ KMListViewItem* KMListView::findItem(KMPrinter *p) return 0; } -KMListViewItem* KMListView::findItem(const TQString& prname) +KMListViewItem* KMListView::tqfindItem(const TQString& prname) { TQPtrListIterator<KMListViewItem> it(m_items); for (; it.current(); ++it) @@ -192,12 +192,12 @@ void KMListView::setPrinterList(TQPtrList<KMPrinter> *list) KMListViewItem *item (0); for (;it.current();++it) { - item = findItem(it.current()); + item = tqfindItem(it.current()); if (!item) { if (it.current()->isVirtual()) { - KMListViewItem *pItem = findItem(it.current()->printerName()); + KMListViewItem *pItem = tqfindItem(it.current()->printerName()); if (!pItem) continue; item = new KMListViewItem(pItem, it.current()); |