diff options
Diffstat (limited to 'kuser')
-rw-r--r-- | kuser/addUser.cpp | 4 | ||||
-rw-r--r-- | kuser/addUser.h | 2 | ||||
-rw-r--r-- | kuser/delUser.cpp | 4 | ||||
-rw-r--r-- | kuser/delUser.h | 2 | ||||
-rw-r--r-- | kuser/editDefaults.cpp | 4 | ||||
-rw-r--r-- | kuser/editDefaults.h | 2 | ||||
-rw-r--r-- | kuser/editGroup.cpp | 4 | ||||
-rw-r--r-- | kuser/editGroup.h | 2 | ||||
-rw-r--r-- | kuser/kgroupvw.cpp | 8 | ||||
-rw-r--r-- | kuser/kgroupvw.h | 4 | ||||
-rw-r--r-- | kuser/kuservw.cpp | 8 | ||||
-rw-r--r-- | kuser/kuservw.h | 4 | ||||
-rw-r--r-- | kuser/mainView.cpp | 2 | ||||
-rw-r--r-- | kuser/mainView.h | 2 | ||||
-rw-r--r-- | kuser/propdlg.cpp | 22 | ||||
-rw-r--r-- | kuser/propdlg.h | 8 | ||||
-rw-r--r-- | kuser/pwddlg.cpp | 4 | ||||
-rw-r--r-- | kuser/pwddlg.h | 2 | ||||
-rw-r--r-- | kuser/selectconn.cpp | 4 | ||||
-rw-r--r-- | kuser/selectconn.h | 2 |
20 files changed, 47 insertions, 47 deletions
diff --git a/kuser/addUser.cpp b/kuser/addUser.cpp index ffb7b21..828e225 100644 --- a/kuser/addUser.cpp +++ b/kuser/addUser.cpp @@ -38,8 +38,8 @@ #include <kmessagebox.h> addUser::addUser( KU::KUser *AUser, bool useprivategroup, - TQWidget *tqparent, const char *name ) : - propdlg( AUser, useprivategroup, tqparent, name ) + TQWidget *parent, const char *name ) : + propdlg( AUser, useprivategroup, parent, name ) { TQGroupBox *group = new TQGroupBox(frontpage); group->setTitle(i18n("New Account Options")); diff --git a/kuser/addUser.h b/kuser/addUser.h index a791f90..65192a5 100644 --- a/kuser/addUser.h +++ b/kuser/addUser.h @@ -29,7 +29,7 @@ class addUser: public propdlg { TQ_OBJECT public: addUser(KU::KUser *AUser, bool useprivategroup, - TQWidget *tqparent = 0, const char *name = 0 ); + TQWidget *parent = 0, const char *name = 0 ); void setCreateHomeDir(bool b) { createhome->setChecked(b); } diff --git a/kuser/delUser.cpp b/kuser/delUser.cpp index e78f1dd..775ff6c 100644 --- a/kuser/delUser.cpp +++ b/kuser/delUser.cpp @@ -24,8 +24,8 @@ #include <klocale.h> -delUser::delUser(KU::KUser *AUser, TQWidget *tqparent, const char *name) - : KDialogBase( tqparent, name, true, i18n("Delete User"), +delUser::delUser(KU::KUser *AUser, TQWidget *parent, const char *name) + : KDialogBase( parent, name, true, i18n("Delete User"), KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true ) { TQVBox *page = makeVBoxMainWidget(); diff --git a/kuser/delUser.h b/kuser/delUser.h index 0f844f6..46bcbb5 100644 --- a/kuser/delUser.h +++ b/kuser/delUser.h @@ -29,7 +29,7 @@ class delUser: public KDialogBase { Q_OBJECT TQ_OBJECT public: - delUser(KU::KUser *AUser, TQWidget *tqparent = 0, const char *name = 0); + delUser(KU::KUser *AUser, TQWidget *parent = 0, const char *name = 0); bool getDeleteHomeDir() { return m_deleteHomeDir->isChecked(); } diff --git a/kuser/editDefaults.cpp b/kuser/editDefaults.cpp index e5cab29..75ca1e7 100644 --- a/kuser/editDefaults.cpp +++ b/kuser/editDefaults.cpp @@ -37,8 +37,8 @@ #include "passwordpolicy.h" #include "misc.h" -editDefaults::editDefaults( KConfigSkeleton *config, TQWidget *tqparent, const char *name ) : - KConfigDialog( tqparent, name, config, IconList, +editDefaults::editDefaults( KConfigSkeleton *config, TQWidget *parent, const char *name ) : + KConfigDialog( parent, name, config, IconList, Default|Ok|Apply|Cancel|Help, Ok, true ) { KTabWidget *page1 = new KTabWidget( this ); diff --git a/kuser/editDefaults.h b/kuser/editDefaults.h index d1b6fce..cb4bcfc 100644 --- a/kuser/editDefaults.h +++ b/kuser/editDefaults.h @@ -41,7 +41,7 @@ class editDefaults : public KConfigDialog { Q_OBJECT TQ_OBJECT public: - editDefaults( KConfigSkeleton *config, TQWidget* tqparent, const char * name = 0 ); + editDefaults( KConfigSkeleton *config, TQWidget* parent, const char * name = 0 ); private: KProgressDialog *mProg; LdapSamba *page3c; diff --git a/kuser/editGroup.cpp b/kuser/editGroup.cpp index 0298f4b..0cea581 100644 --- a/kuser/editGroup.cpp +++ b/kuser/editGroup.cpp @@ -35,8 +35,8 @@ #include "editGroup.h" editGroup::editGroup(KU::KGroup *akg, bool samba, bool add, - TQWidget* tqparent, const char* name) - : KDialogBase(tqparent, name, true, i18n("Group Properties"), Ok | Cancel, Ok, true) + TQWidget* parent, const char* name) + : KDialogBase(parent, name, true, i18n("Group Properties"), Ok | Cancel, Ok, true) { kg = akg; mAdd = add; diff --git a/kuser/editGroup.h b/kuser/editGroup.h index 353a653..985598b 100644 --- a/kuser/editGroup.h +++ b/kuser/editGroup.h @@ -37,7 +37,7 @@ class editGroup : public KDialogBase public: editGroup(KU::KGroup *akg, bool samba, bool add, - TQWidget* tqparent = NULL, const char* name = NULL); + TQWidget* parent = NULL, const char* name = NULL); virtual ~editGroup(); diff --git a/kuser/kgroupvw.cpp b/kuser/kgroupvw.cpp index 8a1daca..1eccf5c 100644 --- a/kuser/kgroupvw.cpp +++ b/kuser/kgroupvw.cpp @@ -24,8 +24,8 @@ #include "kgroupvw.h" -KGroupViewItem::KGroupViewItem(KListView *tqparent, KU::KGroup *aku) - : KListViewItem(tqparent), mGroup(aku) +KGroupViewItem::KGroupViewItem(KListView *parent, KU::KGroup *aku) + : KListViewItem(parent), mGroup(aku) { } @@ -82,8 +82,8 @@ TQString KGroupViewItem::text(int num) const } -KGroupView::KGroupView(TQWidget *tqparent, const char *name) - : KListView( tqparent, name ) +KGroupView::KGroupView(TQWidget *parent, const char *name) + : KListView( parent, name ) { setSelectionMode( TQListView::Extended ); } diff --git a/kuser/kgroupvw.h b/kuser/kgroupvw.h index 0b1f3c6..a691d30 100644 --- a/kuser/kgroupvw.h +++ b/kuser/kgroupvw.h @@ -30,7 +30,7 @@ class KGroupViewItem : public KListViewItem { public: - KGroupViewItem(KListView *tqparent, KU::KGroup *aku); + KGroupViewItem(KListView *parent, KU::KGroup *aku); KU::KGroup *group() { return mGroup; } private: virtual TQString text ( int ) const; @@ -45,7 +45,7 @@ class KGroupView : public KListView TQ_OBJECT public: - KGroupView( TQWidget* tqparent = 0, const char* name = 0 ); + KGroupView( TQWidget* parent = 0, const char* name = 0 ); virtual ~KGroupView(); diff --git a/kuser/kuservw.cpp b/kuser/kuservw.cpp index 8f769e5..43bb19b 100644 --- a/kuser/kuservw.cpp +++ b/kuser/kuservw.cpp @@ -24,8 +24,8 @@ #include "kuservw.h" -KUserViewItem::KUserViewItem(KListView *tqparent, KU::KUser *aku) - : KListViewItem(tqparent), mUser(aku) +KUserViewItem::KUserViewItem(KListView *parent, KU::KUser *aku) + : KListViewItem(parent), mUser(aku) { } @@ -80,8 +80,8 @@ TQString KUserViewItem::text(int num) const return TQString(); } -KUserView::KUserView(TQWidget *tqparent, const char *name) - : KListView( tqparent, name ) +KUserView::KUserView(TQWidget *parent, const char *name) + : KListView( parent, name ) { setSelectionMode( TQListView::Extended ); } diff --git a/kuser/kuservw.h b/kuser/kuservw.h index fe17ecc..fa5827f 100644 --- a/kuser/kuservw.h +++ b/kuser/kuservw.h @@ -30,7 +30,7 @@ class KUserViewItem : public KListViewItem { public: - KUserViewItem(KListView *tqparent, KU::KUser *aku); + KUserViewItem(KListView *parent, KU::KUser *aku); KU::KUser *user() { return mUser; } private: virtual TQString text ( int ) const; @@ -46,7 +46,7 @@ class KUserView : public KListView TQ_OBJECT public: - KUserView( TQWidget* tqparent = 0, const char* name = 0 ); + KUserView( TQWidget* parent = 0, const char* name = 0 ); virtual ~KUserView(); diff --git a/kuser/mainView.cpp b/kuser/mainView.cpp index 344ee3a..5d168ac 100644 --- a/kuser/mainView.cpp +++ b/kuser/mainView.cpp @@ -39,7 +39,7 @@ #include "pwddlg.h" #include "editGroup.h" -mainView::mainView(TQWidget *tqparent) : TQTabWidget(tqparent) +mainView::mainView(TQWidget *parent) : TQTabWidget(parent) { init(); } diff --git a/kuser/mainView.h b/kuser/mainView.h index 4826782..ec53f0d 100644 --- a/kuser/mainView.h +++ b/kuser/mainView.h @@ -36,7 +36,7 @@ class mainView : public TQTabWidget { Q_OBJECT TQ_OBJECT public: - mainView(TQWidget *tqparent = 0); + mainView(TQWidget *parent = 0); ~mainView(); void init(); 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 ); diff --git a/kuser/propdlg.h b/kuser/propdlg.h index d8151b2..d4fa163 100644 --- a/kuser/propdlg.h +++ b/kuser/propdlg.h @@ -46,9 +46,9 @@ class propdlg : public KDialogBase public: propdlg( const TQPtrList<KU::KUser> &users, - TQWidget *tqparent = 0, const char *name = 0 ); + TQWidget *parent = 0, const char *name = 0 ); propdlg( KU::KUser *AUser, bool fixedprivgroup, - TQWidget *tqparent = 0, const char *name = 0 ); + TQWidget *parent = 0, const char *name = 0 ); ~propdlg(); void mergeUser( KU::KUser *user, KU::KUser *newuser ); @@ -70,7 +70,7 @@ protected: bool check(); void loadgroups( bool fixedprivgroup ); bool checkShell(const TQString &shell); - void addRow( TQWidget *tqparent, TQGridLayout *tqlayout, int row, + void addRow( TQWidget *parent, TQGridLayout *tqlayout, int row, TQWidget *widget, const TQString &label, const TQString &what, bool two_column=true, bool nochange=true ); void setLE( KLineEdit *le, const TQString &val, bool first ); @@ -79,7 +79,7 @@ protected: TQString mergeLE( KLineEdit *le, const TQString &val, bool one ); int mergeSB( KIntSpinBox *sb, int val, bool one ); - KIntSpinBox *addDaysGroup( TQWidget *tqparent, TQGridLayout *tqlayout, int row, + KIntSpinBox *addDaysGroup( TQWidget *parent, TQGridLayout *tqlayout, int row, const TQString &title, bool never=true ); TQFrame *frontpage; diff --git a/kuser/pwddlg.cpp b/kuser/pwddlg.cpp index d25267c..eb970d9 100644 --- a/kuser/pwddlg.cpp +++ b/kuser/pwddlg.cpp @@ -25,8 +25,8 @@ #include "pwddlg.h" #include "misc.h" -pwddlg::pwddlg( TQWidget* tqparent, const char* name ) - : KDialogBase(tqparent, name, true, i18n("Enter Password"), Ok | Cancel, Ok, true) +pwddlg::pwddlg( TQWidget* parent, const char* name ) + : KDialogBase(parent, name, true, i18n("Enter Password"), Ok | Cancel, Ok, true) { TQGrid *page = makeGridMainWidget(2, Qt::Horizontal); diff --git a/kuser/pwddlg.h b/kuser/pwddlg.h index 2f1b924..6944252 100644 --- a/kuser/pwddlg.h +++ b/kuser/pwddlg.h @@ -30,7 +30,7 @@ class pwddlg : public KDialogBase { TQ_OBJECT public: - pwddlg( TQWidget* tqparent = NULL, const char* name = NULL ); + pwddlg( TQWidget* parent = NULL, const char* name = NULL ); ~pwddlg(); TQString getPassword() const; diff --git a/kuser/selectconn.cpp b/kuser/selectconn.cpp index 20c7ec3..9597ef2 100644 --- a/kuser/selectconn.cpp +++ b/kuser/selectconn.cpp @@ -33,8 +33,8 @@ #include "selectconn.h" #include "editDefaults.h" -SelectConn::SelectConn(const TQString &selected, TQWidget* tqparent, const char * name) : - KDialogBase( Plain, WStyle_DialogBorder, tqparent, name, true, +SelectConn::SelectConn(const TQString &selected, TQWidget* parent, const char * name) : + KDialogBase( Plain, WStyle_DialogBorder, parent, name, true, i18n("Connection Selection"), Ok | Apply | Cancel | User1 | User2 | User3 ) { TQStringList conns; diff --git a/kuser/selectconn.h b/kuser/selectconn.h index 53f03d4..6c62669 100644 --- a/kuser/selectconn.h +++ b/kuser/selectconn.h @@ -26,7 +26,7 @@ class SelectConn : public KDialogBase { Q_OBJECT TQ_OBJECT public: - SelectConn( const TQString &selected, TQWidget* tqparent, const char * name); + SelectConn( const TQString &selected, TQWidget* parent, const char * name); TQString connSelected(); protected slots: void slotUser1(); |