summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kmlistview.cpp')
-rw-r--r--kdeprint/management/kmlistview.cpp10
1 files changed, 5 insertions, 5 deletions
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<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 = 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());