From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 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/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kaddressbook/kcmconfigs/addhostdialog.cpp | 4 ++-- kaddressbook/kcmconfigs/addhostdialog.h | 2 +- kaddressbook/kcmconfigs/addresseewidget.cpp | 8 ++++---- kaddressbook/kcmconfigs/addresseewidget.h | 4 ++-- kaddressbook/kcmconfigs/extensionconfigdialog.cpp | 4 ++-- kaddressbook/kcmconfigs/extensionconfigdialog.h | 2 +- kaddressbook/kcmconfigs/kabconfigwidget.cpp | 4 ++-- kaddressbook/kcmconfigs/kabconfigwidget.h | 2 +- kaddressbook/kcmconfigs/kcmkabconfig.cpp | 8 ++++---- kaddressbook/kcmconfigs/kcmkabconfig.h | 2 +- kaddressbook/kcmconfigs/kcmkabcustomfields.cpp | 8 ++++---- kaddressbook/kcmconfigs/kcmkabcustomfields.h | 2 +- kaddressbook/kcmconfigs/kcmkabldapconfig.cpp | 8 ++++---- kaddressbook/kcmconfigs/kcmkabldapconfig.h | 2 +- kaddressbook/kcmconfigs/ldapoptionswidget.cpp | 8 ++++---- kaddressbook/kcmconfigs/ldapoptionswidget.h | 2 +- 16 files changed, 35 insertions(+), 35 deletions(-) (limited to 'kaddressbook/kcmconfigs') diff --git a/kaddressbook/kcmconfigs/addhostdialog.cpp b/kaddressbook/kcmconfigs/addhostdialog.cpp index a6174dffd..155f6f6ba 100644 --- a/kaddressbook/kcmconfigs/addhostdialog.cpp +++ b/kaddressbook/kcmconfigs/addhostdialog.cpp @@ -33,8 +33,8 @@ #include #include "addhostdialog.h" -AddHostDialog::AddHostDialog( KPIM::LdapServer *server, TQWidget* tqparent, const char* name ) - : KDialogBase( Plain, i18n( "Add Host" ), Ok | Cancel, Ok, tqparent, name, true, true ) +AddHostDialog::AddHostDialog( KPIM::LdapServer *server, TQWidget* parent, const char* name ) + : KDialogBase( Plain, i18n( "Add Host" ), Ok | Cancel, Ok, parent, name, true, true ) { mServer = server; diff --git a/kaddressbook/kcmconfigs/addhostdialog.h b/kaddressbook/kcmconfigs/addhostdialog.h index 956892d9f..6a57861a1 100644 --- a/kaddressbook/kcmconfigs/addhostdialog.h +++ b/kaddressbook/kcmconfigs/addhostdialog.h @@ -38,7 +38,7 @@ class AddHostDialog : public KDialogBase TQ_OBJECT public: - AddHostDialog( KPIM::LdapServer* server, TQWidget* tqparent = 0, const char* name = 0 ); + AddHostDialog( KPIM::LdapServer* server, TQWidget* parent = 0, const char* name = 0 ); ~AddHostDialog(); signals: diff --git a/kaddressbook/kcmconfigs/addresseewidget.cpp b/kaddressbook/kcmconfigs/addresseewidget.cpp index f1a3f525d..8c04002d5 100644 --- a/kaddressbook/kcmconfigs/addresseewidget.cpp +++ b/kaddressbook/kcmconfigs/addresseewidget.cpp @@ -41,8 +41,8 @@ #include "addresseewidget.h" NamePartWidget::NamePartWidget( const TQString &title, const TQString &label, - TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ), mTitle( title ), mLabel( label ) + TQWidget *parent, const char *name ) + : TQWidget( parent, name ), mTitle( title ), mLabel( label ) { TQHBoxLayout *tqlayout = new TQHBoxLayout( this ); @@ -131,8 +131,8 @@ void NamePartWidget::selectionChanged( TQListBoxItem *item ) -AddresseeWidget::AddresseeWidget( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +AddresseeWidget::AddresseeWidget( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { TQGridLayout *tqlayout = new TQGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint() ); diff --git a/kaddressbook/kcmconfigs/addresseewidget.h b/kaddressbook/kcmconfigs/addresseewidget.h index 8c81ac23d..b7c55b9ea 100644 --- a/kaddressbook/kcmconfigs/addresseewidget.h +++ b/kaddressbook/kcmconfigs/addresseewidget.h @@ -39,7 +39,7 @@ class NamePartWidget : public TQWidget TQ_OBJECT public: - NamePartWidget( const TQString &title, const TQString &label, TQWidget *tqparent, + NamePartWidget( const TQString &title, const TQString &label, TQWidget *parent, const char *name = 0 ); ~NamePartWidget(); @@ -72,7 +72,7 @@ class AddresseeWidget : public TQWidget TQ_OBJECT public: - AddresseeWidget( TQWidget *tqparent, const char *name = 0 ); + AddresseeWidget( TQWidget *parent, const char *name = 0 ); ~AddresseeWidget(); void restoreSettings(); diff --git a/kaddressbook/kcmconfigs/extensionconfigdialog.cpp b/kaddressbook/kcmconfigs/extensionconfigdialog.cpp index 62716886b..68f4643ab 100644 --- a/kaddressbook/kcmconfigs/extensionconfigdialog.cpp +++ b/kaddressbook/kcmconfigs/extensionconfigdialog.cpp @@ -30,8 +30,8 @@ #include "extensionwidget.h" ExtensionConfigDialog::ExtensionConfigDialog( KAB::ExtensionFactory *factory, KConfig *config, - TQWidget *tqparent, const char *name ) - : KDialogBase( Plain, i18n( "Extension Settings" ), Ok | Cancel, Ok, tqparent, + TQWidget *parent, const char *name ) + : KDialogBase( Plain, i18n( "Extension Settings" ), Ok | Cancel, Ok, parent, name, true, true ), mWidget( 0 ), mConfig( config ) { TQFrame *page = plainPage(); diff --git a/kaddressbook/kcmconfigs/extensionconfigdialog.h b/kaddressbook/kcmconfigs/extensionconfigdialog.h index de5f506b8..6c595b443 100644 --- a/kaddressbook/kcmconfigs/extensionconfigdialog.h +++ b/kaddressbook/kcmconfigs/extensionconfigdialog.h @@ -39,7 +39,7 @@ class ExtensionConfigDialog : public KDialogBase public: ExtensionConfigDialog( KAB::ExtensionFactory *factory, KConfig *config, - TQWidget *tqparent, const char *name = 0 ); + TQWidget *parent, const char *name = 0 ); ~ExtensionConfigDialog(); protected slots: diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.cpp b/kaddressbook/kcmconfigs/kabconfigwidget.cpp index f2899ba35..a3775b369 100644 --- a/kaddressbook/kcmconfigs/kabconfigwidget.cpp +++ b/kaddressbook/kcmconfigs/kabconfigwidget.cpp @@ -45,8 +45,8 @@ #include "kabconfigwidget.h" -KABConfigWidget::KABConfigWidget( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +KABConfigWidget::KABConfigWidget( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { TQVBoxLayout *topLayout = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.h b/kaddressbook/kcmconfigs/kabconfigwidget.h index e169f2ef5..1a4fc666a 100644 --- a/kaddressbook/kcmconfigs/kabconfigwidget.h +++ b/kaddressbook/kcmconfigs/kabconfigwidget.h @@ -42,7 +42,7 @@ class KABConfigWidget : public TQWidget TQ_OBJECT public: - KABConfigWidget( TQWidget *tqparent, const char *name = 0 ); + KABConfigWidget( TQWidget *parent, const char *name = 0 ); void restoreSettings(); void saveSettings(); diff --git a/kaddressbook/kcmconfigs/kcmkabconfig.cpp b/kaddressbook/kcmconfigs/kcmkabconfig.cpp index a504af0bb..3ceca5b52 100644 --- a/kaddressbook/kcmconfigs/kcmkabconfig.cpp +++ b/kaddressbook/kcmconfigs/kcmkabconfig.cpp @@ -35,13 +35,13 @@ extern "C" { - KDE_EXPORT KCModule *create_kabconfig( TQWidget *tqparent, const char * ) { - return new KCMKabConfig( tqparent, "kcmkabconfig" ); + KDE_EXPORT KCModule *create_kabconfig( TQWidget *parent, const char * ) { + return new KCMKabConfig( parent, "kcmkabconfig" ); } } -KCMKabConfig::KCMKabConfig( TQWidget *tqparent, const char *name ) - : KCModule( tqparent, name ) +KCMKabConfig::KCMKabConfig( TQWidget *parent, const char *name ) + : KCModule( parent, name ) { TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); mConfigWidget = new KABConfigWidget( this, "mConfigWidget" ); diff --git a/kaddressbook/kcmconfigs/kcmkabconfig.h b/kaddressbook/kcmconfigs/kcmkabconfig.h index 74232946f..42348145b 100644 --- a/kaddressbook/kcmconfigs/kcmkabconfig.h +++ b/kaddressbook/kcmconfigs/kcmkabconfig.h @@ -34,7 +34,7 @@ class KCMKabConfig : public KCModule TQ_OBJECT public: - KCMKabConfig( TQWidget *tqparent = 0, const char *name = 0 ); + KCMKabConfig( TQWidget *parent = 0, const char *name = 0 ); virtual void load(); virtual void save(); diff --git a/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp b/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp index 8c0fa7316..d6974a1b8 100644 --- a/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp +++ b/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp @@ -33,13 +33,13 @@ extern "C" { - KDE_EXPORT KCModule *create_kabcustomfields( TQWidget *tqparent, const char * ) { - return new KCMKabCustomFields( tqparent, "kcmkabcustomfields" ); + KDE_EXPORT KCModule *create_kabcustomfields( TQWidget *parent, const char * ) { + return new KCMKabCustomFields( parent, "kcmkabcustomfields" ); } } -KCMKabCustomFields::KCMKabCustomFields( TQWidget *tqparent, const char *name ) - : KCMDesignerFields( tqparent, name ) +KCMKabCustomFields::KCMKabCustomFields( TQWidget *parent, const char *name ) + : KCMDesignerFields( parent, name ) { } diff --git a/kaddressbook/kcmconfigs/kcmkabcustomfields.h b/kaddressbook/kcmconfigs/kcmkabcustomfields.h index 4eb30a880..72874e1b1 100644 --- a/kaddressbook/kcmconfigs/kcmkabcustomfields.h +++ b/kaddressbook/kcmconfigs/kcmkabcustomfields.h @@ -28,7 +28,7 @@ class KCMKabCustomFields : public KPIM::KCMDesignerFields { public: - KCMKabCustomFields( TQWidget *tqparent = 0, const char *name = 0 ); + KCMKabCustomFields( TQWidget *parent = 0, const char *name = 0 ); protected: TQString localUiDir(); diff --git a/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp b/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp index b2f657c87..e6f25529c 100644 --- a/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp +++ b/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp @@ -36,13 +36,13 @@ extern "C" { - KDE_EXPORT KCModule *create_kabldapconfig( TQWidget *tqparent, const char * ) { - return new KCMKabLdapConfig( tqparent, "kcmkabldapconfig" ); + KDE_EXPORT KCModule *create_kabldapconfig( TQWidget *parent, const char * ) { + return new KCMKabLdapConfig( parent, "kcmkabldapconfig" ); } } -KCMKabLdapConfig::KCMKabLdapConfig( TQWidget *tqparent, const char *name ) - : KCModule( tqparent, name ) +KCMKabLdapConfig::KCMKabLdapConfig( TQWidget *parent, const char *name ) + : KCModule( parent, name ) { TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); mConfigWidget = new LDAPOptionsWidget( this ); diff --git a/kaddressbook/kcmconfigs/kcmkabldapconfig.h b/kaddressbook/kcmconfigs/kcmkabldapconfig.h index 10ec0d211..cfa7028dd 100644 --- a/kaddressbook/kcmconfigs/kcmkabldapconfig.h +++ b/kaddressbook/kcmconfigs/kcmkabldapconfig.h @@ -36,7 +36,7 @@ class KCMKabLdapConfig : public KCModule TQ_OBJECT public: - KCMKabLdapConfig( TQWidget *tqparent = 0, const char *name = 0 ); + KCMKabLdapConfig( TQWidget *parent = 0, const char *name = 0 ); virtual void load(); virtual void save(); diff --git a/kaddressbook/kcmconfigs/ldapoptionswidget.cpp b/kaddressbook/kcmconfigs/ldapoptionswidget.cpp index 996da4287..a091c0f0c 100644 --- a/kaddressbook/kcmconfigs/ldapoptionswidget.cpp +++ b/kaddressbook/kcmconfigs/ldapoptionswidget.cpp @@ -45,8 +45,8 @@ class LDAPItem : public TQCheckListItem { public: - LDAPItem( TQListView *tqparent, const KPIM::LdapServer &server, bool isActive = false ) - : TQCheckListItem( tqparent, tqparent->lastItem(), TQString(), TQCheckListItem::CheckBox ), + LDAPItem( TQListView *parent, const KPIM::LdapServer &server, bool isActive = false ) + : TQCheckListItem( parent, parent->lastItem(), TQString(), TQCheckListItem::CheckBox ), mIsActive( isActive ) { setServer( server ); @@ -69,8 +69,8 @@ class LDAPItem : public TQCheckListItem bool mIsActive; }; -LDAPOptionsWidget::LDAPOptionsWidget( TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ) +LDAPOptionsWidget::LDAPOptionsWidget( TQWidget* parent, const char* name ) + : TQWidget( parent, name ) { initGUI(); diff --git a/kaddressbook/kcmconfigs/ldapoptionswidget.h b/kaddressbook/kcmconfigs/ldapoptionswidget.h index 17fbe6e6f..f8e834b62 100644 --- a/kaddressbook/kcmconfigs/ldapoptionswidget.h +++ b/kaddressbook/kcmconfigs/ldapoptionswidget.h @@ -37,7 +37,7 @@ class LDAPOptionsWidget : public TQWidget TQ_OBJECT public: - LDAPOptionsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + LDAPOptionsWidget( TQWidget* parent = 0, const char* name = 0 ); ~LDAPOptionsWidget(); void restoreSettings(); -- cgit v1.2.1