summaryrefslogtreecommitdiffstats
path: root/kuser/propdlg.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
commit93910780efc46524d0f2c6693784b3fa10d26985 (patch)
treee44cc42ad795bb8399c6558bf8af3887c966fd49 /kuser/propdlg.cpp
parent4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (diff)
downloadtdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.tar.gz
tdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kuser/propdlg.cpp')
-rw-r--r--kuser/propdlg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kuser/propdlg.cpp b/kuser/propdlg.cpp
index b273d8d..dbd73d0 100644
--- a/kuser/propdlg.cpp
+++ b/kuser/propdlg.cpp
@@ -38,11 +38,11 @@
#include "kglobal_.h"
#include "misc.h"
-void propdlg::addRow(TQWidget *tqparent, TQGridLayout *tqlayout, int row,
+void propdlg::addRow(TQWidget *parent, TQGridLayout *tqlayout, int row,
TQWidget *widget, const TQString &label, const TQString &what,
bool two_column, bool nochange)
{
- TQLabel *lab = new TQLabel(widget, label, tqparent);
+ TQLabel *lab = new TQLabel(widget, label, parent);
lab->setMinimumSize(lab->tqsizeHint());
widget->setMinimumSize(widget->tqsizeHint());
tqlayout->addWidget(lab, row, 0);
@@ -57,21 +57,21 @@ void propdlg::addRow(TQWidget *tqparent, TQGridLayout *tqlayout, int row,
tqlayout->addWidget(widget, row, 1);
if ( !nochange || ro ) return;
- TQCheckBox *nc = new TQCheckBox( i18n("Do not change"), tqparent );
+ TQCheckBox *nc = new TQCheckBox( i18n("Do not change"), parent );
tqlayout->addWidget( nc, row, 3 );
nc->hide();
mNoChanges[ widget ] = nc;
}
-KIntSpinBox *propdlg::addDaysGroup(TQWidget *tqparent, TQGridLayout *tqlayout, int row,
+KIntSpinBox *propdlg::addDaysGroup(TQWidget *parent, TQGridLayout *tqlayout, int row,
const TQString &title, bool never)
{
KIntSpinBox *days;
- TQLabel *label = new TQLabel( title, tqparent );
+ TQLabel *label = new TQLabel( title, parent );
tqlayout->addMultiCellWidget( label, row, row, 0, 1, AlignRight );
- days = new KIntSpinBox( tqparent );
+ days = new KIntSpinBox( parent );
label->setBuddy( days );
days->setSuffix( i18n(" days") );
days->setMaxValue( 99999 );
@@ -88,7 +88,7 @@ KIntSpinBox *propdlg::addDaysGroup(TQWidget *tqparent, TQGridLayout *tqlayout, i
connect(days, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed()));
- TQCheckBox *nc = new TQCheckBox( i18n("Do not change"), tqparent );
+ TQCheckBox *nc = new TQCheckBox( i18n("Do not change"), parent );
tqlayout->addWidget( nc, row, 3 );
nc->hide();
mNoChanges[ days ] = nc;
@@ -340,8 +340,8 @@ void propdlg::initDlg()
}
propdlg::propdlg( const TQPtrList<KU::KUser> &users,
- TQWidget *tqparent, const char *name ) :
- KDialogBase(Tabbed, i18n("User Properties"), Ok | Cancel, Ok, tqparent, name, true)
+ TQWidget *parent, const char *name ) :
+ KDialogBase(Tabbed, i18n("User Properties"), Ok | Cancel, Ok, parent, name, true)
{
mUsers = users;
@@ -355,8 +355,8 @@ propdlg::propdlg( const TQPtrList<KU::KUser> &users,
}
propdlg::propdlg( KU::KUser *AUser, bool fixedprivgroup,
- TQWidget *tqparent, const char *name ) :
- KDialogBase(Tabbed, i18n("User Properties"), Ok | Cancel, Ok, tqparent, name, true)
+ TQWidget *parent, const char *name ) :
+ KDialogBase(Tabbed, i18n("User Properties"), Ok | Cancel, Ok, parent, name, true)
{
mUsers.append( AUser );