From 93910780efc46524d0f2c6693784b3fa10d26985 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kuser/propdlg.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kuser/propdlg.cpp') 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 &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 &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 ); -- cgit v1.2.1