summaryrefslogtreecommitdiffstats
path: root/kppp/acctselect.cpp
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
commit2bc1d72869b62af05ae4feafd878203b526da8c5 (patch)
tree2676903bb600bd9646644856e354940471ad84e2 /kppp/acctselect.cpp
parent937b2991d8e78166eea904c80ad04d34607017a4 (diff)
downloadtdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz
tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/acctselect.cpp')
-rw-r--r--kppp/acctselect.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kppp/acctselect.cpp b/kppp/acctselect.cpp
index fd456202..2a1ec1f8 100644
--- a/kppp/acctselect.cpp
+++ b/kppp/acctselect.cpp
@@ -52,25 +52,25 @@
#include "pppdata.h"
-AccountingSelector::AccountingSelector(TQWidget *tqparent, bool _isnewaccount, const char *name)
- : TQWidget(tqparent, name),
+AccountingSelector::AccountingSelector(TQWidget *parent, bool _isnewaccount, const char *name)
+ : TQWidget(parent, name),
isnewaccount(_isnewaccount)
{
- TQVBoxLayout *l1 = new TQVBoxLayout(tqparent, 0, KDialog::spacingHint());
+ TQVBoxLayout *l1 = new TQVBoxLayout(parent, 0, KDialog::spacingHint());
- enable_accounting = new TQCheckBox(i18n("&Enable accounting"), tqparent);
+ enable_accounting = new TQCheckBox(i18n("&Enable accounting"), parent);
l1->addWidget(enable_accounting, 1);
connect(enable_accounting, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(enableItems(bool)));
// insert the tree widget
- tl = new TQListView(tqparent, "treewidget");
+ tl = new TQListView(parent, "treewidget");
connect(tl, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this,
TQT_SLOT(slotSelectionChanged(TQListViewItem*)));
tl->setMinimumSize(220, 200);
l1->addWidget(tl, 1);
- KURLLabel *up = new KURLLabel(tqparent);
+ KURLLabel *up = new KURLLabel(parent);
up->setText(i18n("Check for rule updates"));
up->setURL("http://developer.kde.org/~kppp/rules.html");
connect(up, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(openURL(const TQString&)));
@@ -81,8 +81,8 @@ AccountingSelector::AccountingSelector(TQWidget *tqparent, bool _isnewaccount, c
TQHBoxLayout *l11 = new TQHBoxLayout;
l1->addSpacing(10);
l1->addLayout(l11);
- TQLabel *lsel = new TQLabel(i18n("Selected:"), tqparent);
- selected = new TQLabel(tqparent);
+ TQLabel *lsel = new TQLabel(i18n("Selected:"), parent);
+ selected = new TQLabel(parent);
selected->setFrameStyle(TQFrame::Sunken | TQFrame::WinPanel);
selected->setLineWidth(1);
selected->setFixedHeight(selected->tqsizeHint().height() + 16);
@@ -94,8 +94,8 @@ AccountingSelector::AccountingSelector(TQWidget *tqparent, bool _isnewaccount, c
l1->addStretch(1);
TQHBoxLayout *l12 = new TQHBoxLayout;
l1->addLayout(l12);
- TQLabel *usevol_l = new TQLabel(i18n("Volume accounting:"), tqparent);
- use_vol = new TQComboBox(tqparent);
+ TQLabel *usevol_l = new TQLabel(i18n("Volume accounting:"), parent);
+ use_vol = new TQComboBox(parent);
use_vol->insertItem(i18n("No Accounting"), 0);
use_vol->insertItem(i18n("Bytes In"), 1);
use_vol->insertItem(i18n("Bytes Out"), 2);
@@ -266,7 +266,7 @@ void AccountingSelector::setupTreeWidget() {
// appropriate item
if(!isnewaccount && edit_item) {
tl->setSelected(edit_item, true);
- tl->setOpen(edit_item->tqparent(), true);
+ tl->setOpen(edit_item->parent(), true);
tl->ensureItemVisible(edit_item);
}
@@ -285,7 +285,7 @@ void AccountingSelector::enableItems(bool enabled) {
TQString s;
while(i) {
s = "/" + i->text(0) + s;
- i = i->tqparent();
+ i = i->parent();
}
selected->setText(s.mid(1));