diff options
Diffstat (limited to 'kdeprint/management')
-rw-r--r-- | kdeprint/management/kmlistview.cpp | 2 | ||||
-rw-r--r-- | kdeprint/management/kmwlocal.cpp | 2 | ||||
-rw-r--r-- | kdeprint/management/kxmlcommanddlg.cpp | 4 | ||||
-rw-r--r-- | kdeprint/management/smbview.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/kdeprint/management/kmlistview.cpp b/kdeprint/management/kmlistview.cpp index 76ec62bb3..b9e4b738b 100644 --- a/kdeprint/management/kmlistview.cpp +++ b/kdeprint/management/kmlistview.cpp @@ -157,7 +157,7 @@ KMListViewItem* KMListView::findItem(KMPrinter *p) if (isVirtual) { if (it.current()->depth() == 3 && it.current()->text(0) == p->instanceName() - && it.current()->tqparent()->text(0) == p->printerName()) + && it.current()->parent()->text(0) == p->printerName()) return it.current(); } else diff --git a/kdeprint/management/kmwlocal.cpp b/kdeprint/management/kmwlocal.cpp index c581bdf3c..3bbaf0eaa 100644 --- a/kdeprint/management/kmwlocal.cpp +++ b/kdeprint/management/kmwlocal.cpp @@ -98,7 +98,7 @@ void KMWLocal::slotPortSelected(TQListViewItem *item) if (!item || item->depth() <= 1 || item->depth() > 3) uri = TQString::null; else if (item->depth() == 3) - uri = item->tqparent()->text( 1 ); + uri = item->parent()->text( 1 ); else uri = item->text( 1 ); m_block = true; diff --git a/kdeprint/management/kxmlcommanddlg.cpp b/kdeprint/management/kxmlcommanddlg.cpp index 474f9b61b..135ebbe4c 100644 --- a/kdeprint/management/kxmlcommanddlg.cpp +++ b/kdeprint/management/kxmlcommanddlg.cpp @@ -683,7 +683,7 @@ void KXmlCommandAdvancedDlg::slotRemoveItem() { TQListViewItem *newCurrent(item->nextSibling()); if (!newCurrent) - newCurrent = item->tqparent(); + newCurrent = item->parent(); removeItem(item); delete item; m_view->setSelected(newCurrent, true); @@ -713,7 +713,7 @@ void KXmlCommandAdvancedDlg::slotMoveUp() item->moveItem(after); else { - TQListViewItem *parent = item->tqparent(); + TQListViewItem *parent = item->parent(); parent->takeItem(item); parent->insertItem(item); } diff --git a/kdeprint/management/smbview.cpp b/kdeprint/management/smbview.cpp index f13670591..8692b00bd 100644 --- a/kdeprint/management/smbview.cpp +++ b/kdeprint/management/smbview.cpp @@ -196,7 +196,7 @@ void SmbView::setOpen(TQListViewItem *item, bool on) } *m_proc << KProcess::quote (item->text (0)); *m_proc << " -W "; - *m_proc << KProcess::quote (item->tqparent ()-> + *m_proc << KProcess::quote (item->parent ()-> text (0)); if (!krb5ccname) { @@ -281,7 +281,7 @@ void SmbView::processShares() void SmbView::slotSelectionChanged(TQListViewItem *item) { if (item && item->depth() == 2) - emit printerSelected(item->tqparent()->tqparent()->text(0),item->tqparent()->text(0),item->text(0)); + emit printerSelected(item->parent()->parent()->text(0),item->parent()->text(0),item->text(0)); } void SmbView::abort() |