summaryrefslogtreecommitdiffstats
path: root/kdeprint/management
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitdb9d51186b28bc2252032458b433ba5f8d1972bc (patch)
treeec5f2aad8e3a76a72488a3c354a2144d97a84942 /kdeprint/management
parent6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (diff)
downloadtdelibs-db9d51186b28bc2252032458b433ba5f8d1972bc.tar.gz
tdelibs-db9d51186b28bc2252032458b433ba5f8d1972bc.zip
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
Diffstat (limited to 'kdeprint/management')
-rw-r--r--kdeprint/management/kmlistview.cpp2
-rw-r--r--kdeprint/management/kmwlocal.cpp2
-rw-r--r--kdeprint/management/kxmlcommanddlg.cpp4
-rw-r--r--kdeprint/management/smbview.cpp4
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()