From db9d51186b28bc2252032458b433ba5f8d1972bc Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/kmuimanager.cpp | 2 +- kdeprint/management/kmlistview.cpp | 2 +- kdeprint/management/kmwlocal.cpp | 2 +- kdeprint/management/kxmlcommanddlg.cpp | 4 ++-- kdeprint/management/smbview.cpp | 4 ++-- kdeprint/rlpr/kmwrlpr.cpp | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kdeprint') diff --git a/kdeprint/kmuimanager.cpp b/kdeprint/kmuimanager.cpp index 207877f8a..53921d39f 100644 --- a/kdeprint/kmuimanager.cpp +++ b/kdeprint/kmuimanager.cpp @@ -143,7 +143,7 @@ void KMUiManager::setupPropertyDialog(KPrinterPropertyDialog *dlg) // retrieve the KPrinter object KPrinter *prt(0); - if (dlg->parent() && dlg->tqparent()->isA("KPrintDialog")) + if (dlg->parent() && dlg->parent()->isA("KPrintDialog")) prt = static_cast(dlg->parent())->printer(); // add margin page 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() diff --git a/kdeprint/rlpr/kmwrlpr.cpp b/kdeprint/rlpr/kmwrlpr.cpp index 2f1d8b076..1c037ae47 100644 --- a/kdeprint/rlpr/kmwrlpr.cpp +++ b/kdeprint/rlpr/kmwrlpr.cpp @@ -100,7 +100,7 @@ void KMWRlpr::initPrinter(KMPrinter *p) item = rlpr_findChild(item->firstChild(),m_queue->text()); if (item) { - item->tqparent()->setOpen(true); + item->parent()->setOpen(true); m_view->setCurrentItem(item); m_view->ensureItemVisible(item); } @@ -203,7 +203,7 @@ void KMWRlpr::slotPrinterSelected(TQListViewItem *item) { if (item && item->depth() == 1) { - m_host->setText(item->tqparent()->text(0)); + m_host->setText(item->parent()->text(0)); m_queue->setText(item->text(0)); } } -- cgit v1.2.1