diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /kppp/accounts.cpp | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-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/accounts.cpp')
-rw-r--r-- | kppp/accounts.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kppp/accounts.cpp b/kppp/accounts.cpp index eadace7e..fe1424e2 100644 --- a/kppp/accounts.cpp +++ b/kppp/accounts.cpp @@ -51,17 +51,17 @@ void parseargs(char* buf, char** args); -AccountWidget::AccountWidget( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +AccountWidget::AccountWidget( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { int min = 0; - TQVBoxLayout *l1 = new TQVBoxLayout(tqparent, 10, 10); + TQVBoxLayout *l1 = new TQVBoxLayout(parent, 10, 10); // add a hbox TQHBoxLayout *l11 = new TQHBoxLayout; l1->addLayout(l11); - accountlist_l = new TQListBox(tqparent); + accountlist_l = new TQListBox(parent); accountlist_l->setMinimumSize(160, 128); connect(accountlist_l, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotListBoxSelect(int))); @@ -71,7 +71,7 @@ AccountWidget::AccountWidget( TQWidget *tqparent, const char *name ) TQVBoxLayout *l111 = new TQVBoxLayout; l11->addLayout(l111, 1); - edit_b = new TQPushButton(i18n("&Edit..."), tqparent); + edit_b = new TQPushButton(i18n("&Edit..."), parent); connect(edit_b, TQT_SIGNAL(clicked()), TQT_SLOT(editaccount())); TQWhatsThis::add(edit_b, i18n("Allows you to modify the selected account")); @@ -81,13 +81,13 @@ AccountWidget::AccountWidget( TQWidget *tqparent, const char *name ) l111->addWidget(edit_b); - new_b = new TQPushButton(i18n("&New..."), tqparent); + new_b = new TQPushButton(i18n("&New..."), parent); connect(new_b, TQT_SIGNAL(clicked()), TQT_SLOT(newaccount())); l111->addWidget(new_b); TQWhatsThis::add(new_b, i18n("Create a new dialup connection\n" "to the Internet")); - copy_b = new TQPushButton(i18n("Co&py"), tqparent); + copy_b = new TQPushButton(i18n("Co&py"), parent); connect(copy_b, TQT_SIGNAL(clicked()), TQT_SLOT(copyaccount())); l111->addWidget(copy_b); TQWhatsThis::add(copy_b, @@ -96,7 +96,7 @@ AccountWidget::AccountWidget( TQWidget *tqparent, const char *name ) "to a new account that you can modify to fit your\n" "needs")); - delete_b = new TQPushButton(i18n("De&lete"), tqparent); + delete_b = new TQPushButton(i18n("De&lete"), parent); connect(delete_b, TQT_SIGNAL(clicked()), TQT_SLOT(deleteaccount())); l111->addWidget(delete_b); TQWhatsThis::add(delete_b, @@ -110,11 +110,11 @@ AccountWidget::AccountWidget( TQWidget *tqparent, const char *name ) TQVBoxLayout *l121 = new TQVBoxLayout; l12->addLayout(l121); l121->addStretch(1); - costlabel = new TQLabel(i18n("Phone costs:"), tqparent); + costlabel = new TQLabel(i18n("Phone costs:"), parent); costlabel->setEnabled(FALSE); l121->addWidget(costlabel); - costedit = new TQLineEdit(tqparent); + costedit = new TQLineEdit(parent); costedit->setFocusPolicy(TQ_NoFocus); costedit->setFixedHeight(costedit->tqsizeHint().height()); costedit->setEnabled(FALSE); @@ -129,11 +129,11 @@ AccountWidget::AccountWidget( TQWidget *tqparent, const char *name ) TQWhatsThis::add(costlabel, tmp); TQWhatsThis::add(costedit, tmp); - vollabel = new TQLabel(i18n("Volume:"), tqparent); + vollabel = new TQLabel(i18n("Volume:"), parent); vollabel->setEnabled(FALSE); l121->addWidget(vollabel); - voledit = new TQLineEdit(tqparent,"voledit"); + voledit = new TQLineEdit(parent,"voledit"); voledit->setFocusPolicy(TQ_NoFocus); voledit->setFixedHeight(voledit->tqsizeHint().height()); voledit->setEnabled(FALSE); @@ -153,13 +153,13 @@ AccountWidget::AccountWidget( TQWidget *tqparent, const char *name ) l12->addLayout(l122); l122->addStretch(1); - reset = new TQPushButton(i18n("&Reset..."), tqparent); + reset = new TQPushButton(i18n("&Reset..."), parent); reset->setEnabled(FALSE); connect(reset, TQT_SIGNAL(clicked()), this, TQT_SLOT(resetClicked())); l122->addWidget(reset); - log = new TQPushButton(i18n("&View Logs"), tqparent); + log = new TQPushButton(i18n("&View Logs"), parent); connect(log, TQT_SIGNAL(clicked()), this, TQT_SLOT(viewLogClicked())); l122->addWidget(log); @@ -426,14 +426,14 @@ TQString AccountWidget::prettyPrintVolume(unsigned int n) { // Queries the user what to reset: costs, volume or both // ///////////////////////////////////////////////////////////////////////////// -QueryReset::QueryReset(TQWidget *tqparent) : TQDialog(tqparent, 0, true) { +QueryReset::QueryReset(TQWidget *parent) : TQDialog(parent, 0, true) { KWin::setIcons(winId(), kapp->icon(), kapp->miniIcon()); setCaption(i18n("Reset Accounting")); TQVBoxLayout *tl = new TQVBoxLayout(this, 10, 10); TQVGroupBox *f = new TQVGroupBox(i18n("What to Reset"), this); - TQVBoxLayout *l1 = new TQVBoxLayout(tqparent, 10, 10); + TQVBoxLayout *l1 = new TQVBoxLayout(parent, 10, 10); costs = new TQCheckBox(i18n("Reset the accumulated p&hone costs"), f); costs->setChecked(true); l1->addWidget(costs); |