From 2bc1d72869b62af05ae4feafd878203b526da8c5 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/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/kopete/config/accounts/kopeteaccountconfig.cpp | 4 ++-- kopete/kopete/config/accounts/kopeteaccountconfig.h | 2 +- kopete/kopete/config/appearance/appearanceconfig.cpp | 12 ++++++------ kopete/kopete/config/appearance/appearanceconfig.h | 2 +- kopete/kopete/config/appearance/emoticonseditdialog.cpp | 12 ++++++------ kopete/kopete/config/appearance/emoticonseditdialog.h | 6 +++--- kopete/kopete/config/appearance/tooltipeditdialog.cpp | 12 ++++++------ kopete/kopete/config/appearance/tooltipeditdialog.h | 2 +- kopete/kopete/config/avdevice/avdeviceconfig.cpp | 4 ++-- kopete/kopete/config/avdevice/avdeviceconfig.h | 2 +- kopete/kopete/config/behavior/behaviorconfig.cpp | 4 ++-- kopete/kopete/config/behavior/behaviorconfig.h | 2 +- kopete/kopete/config/identity/globalidentitiesmanager.cpp | 4 ++-- kopete/kopete/config/identity/globalidentitiesmanager.h | 2 +- kopete/kopete/config/identity/kopeteidentityconfig.cpp | 2 +- kopete/kopete/config/identity/kopeteidentityconfig.h | 2 +- kopete/kopete/config/plugins/kopetepluginconfig.cpp | 4 ++-- kopete/kopete/config/plugins/kopetepluginconfig.h | 2 +- 18 files changed, 40 insertions(+), 40 deletions(-) (limited to 'kopete/kopete/config') diff --git a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp index bc7a65cb..147c6f17 100644 --- a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp +++ b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp @@ -53,8 +53,8 @@ class KopeteAccountLVI : public KListViewItem typedef KGenericFactory KopeteAccountConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kopete_accountconfig, KopeteAccountConfigFactory( "kcm_kopete_accountconfig" ) ) -KopeteAccountConfig::KopeteAccountConfig( TQWidget *tqparent, const char * /* name */, const TQStringList &args ) -: KCModule( KopeteAccountConfigFactory::instance(), tqparent, args ) +KopeteAccountConfig::KopeteAccountConfig( TQWidget *parent, const char * /* name */, const TQStringList &args ) +: KCModule( KopeteAccountConfigFactory::instance(), parent, args ) { ( new TQVBoxLayout( this ) )->setAutoAdd( true ); diff --git a/kopete/kopete/config/accounts/kopeteaccountconfig.h b/kopete/kopete/config/accounts/kopeteaccountconfig.h index 9e939ea6..ad434137 100644 --- a/kopete/kopete/config/accounts/kopeteaccountconfig.h +++ b/kopete/kopete/config/accounts/kopeteaccountconfig.h @@ -36,7 +36,7 @@ class KopeteAccountConfig : public KCModule TQ_OBJECT public: - KopeteAccountConfig(TQWidget *tqparent, const char *name, const TQStringList &args ); + KopeteAccountConfig(TQWidget *parent, const char *name, const TQStringList &args ); public slots: virtual void save(); diff --git a/kopete/kopete/config/appearance/appearanceconfig.cpp b/kopete/kopete/config/appearance/appearanceconfig.cpp index 883d4193..e415d349 100644 --- a/kopete/kopete/config/appearance/appearanceconfig.cpp +++ b/kopete/kopete/config/appearance/appearanceconfig.cpp @@ -180,8 +180,8 @@ public: }; // TODO: Someday, this configuration dialog must(not should) use KConfigXT -AppearanceConfig::AppearanceConfig(TQWidget *tqparent, const char* /*name*/, const TQStringList &args ) -: KCModule( KopeteAppearanceConfigFactory::instance(), tqparent, args ) +AppearanceConfig::AppearanceConfig(TQWidget *parent, const char* /*name*/, const TQStringList &args ) +: KCModule( KopeteAppearanceConfigFactory::instance(), parent, args ) { d = new Private; @@ -714,17 +714,17 @@ public: class FakeProtocol : public Kopete::Protocol { public: -FakeProtocol( KInstance *instance, TQObject *tqparent, const char *name ) : Kopete::Protocol(instance, tqparent, name){} +FakeProtocol( KInstance *instance, TQObject *parent, const char *name ) : Kopete::Protocol(instance, parent, name){} Kopete::Account* createNewAccount( const TQString &/*accountId*/ ){return 0L;} -AddContactPage* createAddContactWidget( TQWidget */*tqparent*/, Kopete::Account */*account*/){return 0L;} -KopeteEditAccountWidget* createEditAccountWidget( Kopete::Account */*account*/, TQWidget */*tqparent */){return 0L;} +AddContactPage* createAddContactWidget( TQWidget */*parent*/, Kopete::Account */*account*/){return 0L;} +KopeteEditAccountWidget* createEditAccountWidget( Kopete::Account */*account*/, TQWidget */*parent */){return 0L;} }; // This is for style preview. class FakeAccount : public Kopete::Account { public: -FakeAccount(Kopete::Protocol *tqparent, const TQString &accountID, const char *name) : Kopete::Account(tqparent, accountID, name){} +FakeAccount(Kopete::Protocol *parent, const TQString &accountID, const char *name) : Kopete::Account(parent, accountID, name){} ~FakeAccount() {} bool createContact( const TQString &/*contactId*/, Kopete::MetaContact */*parentContact*/ ){return true;} diff --git a/kopete/kopete/config/appearance/appearanceconfig.h b/kopete/kopete/config/appearance/appearanceconfig.h index 3fe8efb8..9de2b11c 100644 --- a/kopete/kopete/config/appearance/appearanceconfig.h +++ b/kopete/kopete/config/appearance/appearanceconfig.h @@ -35,7 +35,7 @@ class AppearanceConfig : public KCModule friend class KopeteStyleNewStuff; public: - AppearanceConfig( TQWidget *tqparent, const char *name, const TQStringList &args ); + AppearanceConfig( TQWidget *parent, const char *name, const TQStringList &args ); ~AppearanceConfig(); virtual void save(); diff --git a/kopete/kopete/config/appearance/emoticonseditdialog.cpp b/kopete/kopete/config/appearance/emoticonseditdialog.cpp index c8545a82..d14e94f5 100644 --- a/kopete/kopete/config/appearance/emoticonseditdialog.cpp +++ b/kopete/kopete/config/appearance/emoticonseditdialog.cpp @@ -31,14 +31,14 @@ #include -EditDialog::EditDialog(TQWidget *tqparent, const char* name) - : KDialogBase(tqparent, name, true, i18n(name), Ok|Cancel, Ok, true) +EditDialog::EditDialog(TQWidget *parent, const char* name) + : KDialogBase(parent, name, true, i18n(name), Ok|Cancel, Ok, true) { setupDlg(); } -EditDialog::EditDialog(TQWidget *tqparent, const char* name, TQPixmap emot, TQString text, TQString file) - : KDialogBase(tqparent, name, true, i18n(name), Ok|Cancel, Ok, true) +EditDialog::EditDialog(TQWidget *parent, const char* name, TQPixmap emot, TQString text, TQString file) + : KDialogBase(parent, name, true, i18n(name), Ok|Cancel, Ok, true) { setupDlg(); leText->setText(text); @@ -78,8 +78,8 @@ void EditDialog::btnIconClicked() btnIcon->setPixmap(TQPixmap(emoticon)); } -EmoticonsEditDialog::EmoticonsEditDialog(TQWidget *tqparent, TQString theme, const char* name) - : KDialogBase(tqparent, name, true, i18n("Emoticons Editor"), Ok|Cancel, Ok, true) +EmoticonsEditDialog::EmoticonsEditDialog(TQWidget *parent, TQString theme, const char* name) + : KDialogBase(parent, name, true, i18n("Emoticons Editor"), Ok|Cancel, Ok, true) { themeName = theme; diff --git a/kopete/kopete/config/appearance/emoticonseditdialog.h b/kopete/kopete/config/appearance/emoticonseditdialog.h index cd7bf7b3..e4435ebf 100644 --- a/kopete/kopete/config/appearance/emoticonseditdialog.h +++ b/kopete/kopete/config/appearance/emoticonseditdialog.h @@ -32,8 +32,8 @@ class EditDialog : public KDialogBase TQ_OBJECT public: - EditDialog(TQWidget *tqparent, const char* name); - EditDialog(TQWidget *tqparent, const char* name, TQPixmap emot, TQString text, TQString file); + EditDialog(TQWidget *parent, const char* name); + EditDialog(TQWidget *parent, const char* name, TQPixmap emot, TQString text, TQString file); const TQString getText() { return leText->text(); }; const TQString getEmoticon() { return emoticon; }; private slots: @@ -52,7 +52,7 @@ class EmoticonsEditDialog : public KDialogBase TQ_OBJECT public: - EmoticonsEditDialog(TQWidget *tqparent=0, TQString theme = TQString(), const char* name="EmoticonsEditDialog"); + EmoticonsEditDialog(TQWidget *parent=0, TQString theme = TQString(), const char* name="EmoticonsEditDialog"); void addEmoticon(TQString emo, TQString text, bool copy); private slots: diff --git a/kopete/kopete/config/appearance/tooltipeditdialog.cpp b/kopete/kopete/config/appearance/tooltipeditdialog.cpp index 7da37fac..eef1ccb0 100644 --- a/kopete/kopete/config/appearance/tooltipeditdialog.cpp +++ b/kopete/kopete/config/appearance/tooltipeditdialog.cpp @@ -33,14 +33,14 @@ class TooltipItem : public KListViewItem { public: - TooltipItem(KListView *tqparent, const TQString& label, const TQString& propertyName) - : KListViewItem(tqparent, label), + TooltipItem(KListView *parent, const TQString& label, const TQString& propertyName) + : KListViewItem(parent, label), mPropName(propertyName) { } - TooltipItem(KListView *tqparent, TQListViewItem *item, const TQString& label, const TQString& propertyName) - : KListViewItem(tqparent, item, label), + TooltipItem(KListView *parent, TQListViewItem *item, const TQString& label, const TQString& propertyName) + : KListViewItem(parent, item, label), mPropName(propertyName) { } @@ -52,8 +52,8 @@ class TooltipItem : public KListViewItem -TooltipEditDialog::TooltipEditDialog(TQWidget *tqparent, const char* name) - : KDialogBase(tqparent, name, true, i18n("Tooltip Editor"), Ok|Cancel, Ok, true) +TooltipEditDialog::TooltipEditDialog(TQWidget *parent, const char* name) + : KDialogBase(parent, name, true, i18n("Tooltip Editor"), Ok|Cancel, Ok, true) { mMainWidget = new TooltipEditWidget(this, "TooltipEditDialog::mMainWidget"); setMainWidget(mMainWidget); diff --git a/kopete/kopete/config/appearance/tooltipeditdialog.h b/kopete/kopete/config/appearance/tooltipeditdialog.h index f828278b..35635359 100644 --- a/kopete/kopete/config/appearance/tooltipeditdialog.h +++ b/kopete/kopete/config/appearance/tooltipeditdialog.h @@ -28,7 +28,7 @@ class TooltipEditDialog : public KDialogBase TQ_OBJECT public: - TooltipEditDialog(TQWidget *tqparent=0, const char* name="ToolTipEditDialog"); + TooltipEditDialog(TQWidget *parent=0, const char* name="ToolTipEditDialog"); private slots: void slotUnusedSelected(TQListViewItem *); diff --git a/kopete/kopete/config/avdevice/avdeviceconfig.cpp b/kopete/kopete/config/avdevice/avdeviceconfig.cpp index 38bb3c1e..4f8bafc0 100644 --- a/kopete/kopete/config/avdevice/avdeviceconfig.cpp +++ b/kopete/kopete/config/avdevice/avdeviceconfig.cpp @@ -43,8 +43,8 @@ typedef KGenericFactory KopeteAVDeviceConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kopete_avdeviceconfig, KopeteAVDeviceConfigFactory( "kcm_kopete_avdeviceconfig" ) ) -AVDeviceConfig::AVDeviceConfig(TQWidget *tqparent, const char * name , const TQStringList &args) - : KCModule( KopeteAVDeviceConfigFactory::instance(), tqparent, args ) +AVDeviceConfig::AVDeviceConfig(TQWidget *parent, const char * name , const TQStringList &args) + : KCModule( KopeteAVDeviceConfigFactory::instance(), parent, args ) { kdDebug() << "kopete:config (avdevice): KopeteAVDeviceConfigFactory::instance() called. " << endl; (new TQVBoxLayout(this))->setAutoAdd(true); diff --git a/kopete/kopete/config/avdevice/avdeviceconfig.h b/kopete/kopete/config/avdevice/avdeviceconfig.h index 4fc2fe04..eb267c44 100644 --- a/kopete/kopete/config/avdevice/avdeviceconfig.h +++ b/kopete/kopete/config/avdevice/avdeviceconfig.h @@ -42,7 +42,7 @@ class AVDeviceConfig : public KCModule Q_OBJECT TQ_OBJECT public: - AVDeviceConfig(TQWidget *tqparent, const char * name , const TQStringList &args); + AVDeviceConfig(TQWidget *parent, const char * name , const TQStringList &args); ~AVDeviceConfig(); virtual void save(); diff --git a/kopete/kopete/config/behavior/behaviorconfig.cpp b/kopete/kopete/config/behavior/behaviorconfig.cpp index bfc823fe..b133a64b 100644 --- a/kopete/kopete/config/behavior/behaviorconfig.cpp +++ b/kopete/kopete/config/behavior/behaviorconfig.cpp @@ -48,8 +48,8 @@ typedef KGenericFactory KopeteBehaviorConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kopete_behaviorconfig, KopeteBehaviorConfigFactory( "kcm_kopete_behaviorconfig" ) ) -BehaviorConfig::BehaviorConfig(TQWidget *tqparent, const char * /* name */, const TQStringList &args) : - KCModule( KopeteBehaviorConfigFactory::instance(), tqparent, args ) +BehaviorConfig::BehaviorConfig(TQWidget *parent, const char * /* name */, const TQStringList &args) : + KCModule( KopeteBehaviorConfigFactory::instance(), parent, args ) { (new TQVBoxLayout(this))->setAutoAdd(true); mBehaviorTabCtl = new TQTabWidget(this, "mBehaviorTabCtl"); diff --git a/kopete/kopete/config/behavior/behaviorconfig.h b/kopete/kopete/config/behavior/behaviorconfig.h index c4f4c33b..4f01c943 100644 --- a/kopete/kopete/config/behavior/behaviorconfig.h +++ b/kopete/kopete/config/behavior/behaviorconfig.h @@ -38,7 +38,7 @@ class BehaviorConfig : public KCModule TQ_OBJECT public: - BehaviorConfig(TQWidget *tqparent, const char * name , const TQStringList &args) ; + BehaviorConfig(TQWidget *parent, const char * name , const TQStringList &args) ; virtual void save(); virtual void load(); diff --git a/kopete/kopete/config/identity/globalidentitiesmanager.cpp b/kopete/kopete/config/identity/globalidentitiesmanager.cpp index 00c4aadc..41fbb3b6 100644 --- a/kopete/kopete/config/identity/globalidentitiesmanager.cpp +++ b/kopete/kopete/config/identity/globalidentitiesmanager.cpp @@ -49,8 +49,8 @@ GlobalIdentitiesManager *GlobalIdentitiesManager::self() return s_self; } -GlobalIdentitiesManager::GlobalIdentitiesManager(TQObject *tqparent, const char *name) - : TQObject(tqparent, name) +GlobalIdentitiesManager::GlobalIdentitiesManager(TQObject *parent, const char *name) + : TQObject(parent, name) { d = new Private; } diff --git a/kopete/kopete/config/identity/globalidentitiesmanager.h b/kopete/kopete/config/identity/globalidentitiesmanager.h index 9efc2204..a253bdc8 100644 --- a/kopete/kopete/config/identity/globalidentitiesmanager.h +++ b/kopete/kopete/config/identity/globalidentitiesmanager.h @@ -121,7 +121,7 @@ public: TQMap getGlobalIdentitiesList(); private: - GlobalIdentitiesManager(TQObject *tqparent = 0, const char *name = 0); + GlobalIdentitiesManager(TQObject *parent = 0, const char *name = 0); /** * @brief Return a XML representation of the global identities list. diff --git a/kopete/kopete/config/identity/kopeteidentityconfig.cpp b/kopete/kopete/config/identity/kopeteidentityconfig.cpp index ec727e98..97bc2bcc 100644 --- a/kopete/kopete/config/identity/kopeteidentityconfig.cpp +++ b/kopete/kopete/config/identity/kopeteidentityconfig.cpp @@ -85,7 +85,7 @@ public: typedef KGenericFactory KopeteIdentityConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kopete_identityconfig, KopeteIdentityConfigFactory( "kcm_kopete_identityconfig" ) ) -KopeteIdentityConfig::KopeteIdentityConfig(TQWidget *tqparent, const char */*name*/, const TQStringList &args) : KCModule( KopeteIdentityConfigFactory::instance(), tqparent, args) +KopeteIdentityConfig::KopeteIdentityConfig(TQWidget *parent, const char */*name*/, const TQStringList &args) : KCModule( KopeteIdentityConfigFactory::instance(), parent, args) { d = new Private; ( new TQVBoxLayout( this ) )->setAutoAdd( true ); diff --git a/kopete/kopete/config/identity/kopeteidentityconfig.h b/kopete/kopete/config/identity/kopeteidentityconfig.h index 9385b866..c74ae463 100644 --- a/kopete/kopete/config/identity/kopeteidentityconfig.h +++ b/kopete/kopete/config/identity/kopeteidentityconfig.h @@ -38,7 +38,7 @@ class KopeteIdentityConfig : public KCModule Q_OBJECT TQ_OBJECT public: - KopeteIdentityConfig(TQWidget *tqparent, const char *name, const TQStringList &args ); + KopeteIdentityConfig(TQWidget *parent, const char *name, const TQStringList &args ); ~KopeteIdentityConfig(); public slots: diff --git a/kopete/kopete/config/plugins/kopetepluginconfig.cpp b/kopete/kopete/config/plugins/kopetepluginconfig.cpp index 973eadd7..7f790a0b 100644 --- a/kopete/kopete/config/plugins/kopetepluginconfig.cpp +++ b/kopete/kopete/config/plugins/kopetepluginconfig.cpp @@ -39,9 +39,9 @@ KopetePluginConfig::~KopetePluginConfig() delete d; } -KopetePluginConfig::KopetePluginConfig( TQWidget *tqparent, const char *name ) +KopetePluginConfig::KopetePluginConfig( TQWidget *parent, const char *name ) : KDialogBase( Plain, i18n( "Configure Plugins" ), /*Help |*/ Cancel | Apply | Ok | User1, - Ok, tqparent, name, false, true, KGuiItem( i18n( "&Reset" ), "undo" ) ) + Ok, parent, name, false, true, KGuiItem( i18n( "&Reset" ), "undo" ) ) { d = new KopetePluginConfigPrivate; showButton( User1, false ); diff --git a/kopete/kopete/config/plugins/kopetepluginconfig.h b/kopete/kopete/config/plugins/kopetepluginconfig.h index 5c1a57a5..dc5d1736 100644 --- a/kopete/kopete/config/plugins/kopetepluginconfig.h +++ b/kopete/kopete/config/plugins/kopetepluginconfig.h @@ -33,7 +33,7 @@ class KopetePluginConfig : public KDialogBase TQ_OBJECT public: - KopetePluginConfig( TQWidget *tqparent, const char *name = 0L ); + KopetePluginConfig( TQWidget *parent, const char *name = 0L ); ~KopetePluginConfig(); void apply(); -- cgit v1.2.3