summaryrefslogtreecommitdiffstats
path: root/kdeprint
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint')
-rw-r--r--kdeprint/kmuimanager.cpp2
-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
-rw-r--r--kdeprint/rlpr/kmwrlpr.cpp4
6 files changed, 9 insertions, 9 deletions
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<KPrintDialog*>(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));
}
}