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 --- libkdepim/komposer/core/core.cpp | 4 ++-- libkdepim/komposer/core/corewidget.cpp | 4 ++-- libkdepim/komposer/core/corewidget.h | 2 +- libkdepim/komposer/core/editor.cpp | 4 ++-- libkdepim/komposer/core/editor.h | 2 +- libkdepim/komposer/core/plugin.cpp | 4 ++-- libkdepim/komposer/core/plugin.h | 2 +- libkdepim/komposer/core/pluginmanager.cpp | 4 ++-- libkdepim/komposer/core/prefsmodule.cpp | 12 ++++++------ libkdepim/komposer/core/prefsmodule.h | 4 ++-- libkdepim/komposer/core/tests/managertest.cpp | 4 ++-- libkdepim/komposer/core/tests/managertest.h | 2 +- libkdepim/komposer/core/tests/tester.cpp | 4 ++-- libkdepim/komposer/core/tests/testmanager.cpp | 4 ++-- libkdepim/komposer/core/tests/testmanager.h | 2 +- 15 files changed, 29 insertions(+), 29 deletions(-) (limited to 'libkdepim/komposer/core') diff --git a/libkdepim/komposer/core/core.cpp b/libkdepim/komposer/core/core.cpp index 3618b88ee..f93e59cc9 100644 --- a/libkdepim/komposer/core/core.cpp +++ b/libkdepim/komposer/core/core.cpp @@ -53,9 +53,9 @@ using namespace Komposer; -Core::Core( TQWidget *tqparent, const char *name ) +Core::Core( TQWidget *parent, const char *name ) : KomposerIface( "KomposerIface" ), - KMainWindow( tqparent, name ), m_currentEditor( 0 ) + KMainWindow( parent, name ), m_currentEditor( 0 ) { initWidgets(); initCore(); diff --git a/libkdepim/komposer/core/corewidget.cpp b/libkdepim/komposer/core/corewidget.cpp index 53e8abd2c..c65893766 100644 --- a/libkdepim/komposer/core/corewidget.cpp +++ b/libkdepim/komposer/core/corewidget.cpp @@ -24,8 +24,8 @@ using namespace Komposer; -CoreWidget::CoreWidget( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +CoreWidget::CoreWidget( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { } diff --git a/libkdepim/komposer/core/corewidget.h b/libkdepim/komposer/core/corewidget.h index 8c67e77d0..7d2acc6db 100644 --- a/libkdepim/komposer/core/corewidget.h +++ b/libkdepim/komposer/core/corewidget.h @@ -34,7 +34,7 @@ namespace Komposer Q_OBJECT TQ_OBJECT public: - CoreWidget( TQWidget *tqparent, const char *name=0 ); + CoreWidget( TQWidget *parent, const char *name=0 ); virtual TQString subject() const =0; virtual TQStringList to() const =0; diff --git a/libkdepim/komposer/core/editor.cpp b/libkdepim/komposer/core/editor.cpp index d9ecbd56e..5dada393f 100644 --- a/libkdepim/komposer/core/editor.cpp +++ b/libkdepim/komposer/core/editor.cpp @@ -30,8 +30,8 @@ public: TQString id; }; -Editor::Editor( TQObject *tqparent, const char *name, const TQStringList &args ) - : Plugin( tqparent, name, args ), d( new Private ) +Editor::Editor( TQObject *parent, const char *name, const TQStringList &args ) + : Plugin( parent, name, args ), d( new Private ) { } diff --git a/libkdepim/komposer/core/editor.h b/libkdepim/komposer/core/editor.h index 9cc9336dd..cdc05710d 100644 --- a/libkdepim/komposer/core/editor.h +++ b/libkdepim/komposer/core/editor.h @@ -93,7 +93,7 @@ namespace Komposer { virtual void changeSignature( const TQString &txt ) =0; protected: - Editor( TQObject *tqparent, const char *name, const TQStringList &args ); + Editor( TQObject *parent, const char *name, const TQStringList &args ); private: class Private; diff --git a/libkdepim/komposer/core/plugin.cpp b/libkdepim/komposer/core/plugin.cpp index dbadaff59..41af47cd9 100644 --- a/libkdepim/komposer/core/plugin.cpp +++ b/libkdepim/komposer/core/plugin.cpp @@ -35,8 +35,8 @@ public: //Core* core; }; -Plugin::Plugin( TQObject *tqparent, const char *name, const TQStringList & ) - : TQObject( tqparent, name ), d( new Private ) +Plugin::Plugin( TQObject *parent, const char *name, const TQStringList & ) + : TQObject( parent, name ), d( new Private ) { //d->core = core; } diff --git a/libkdepim/komposer/core/plugin.h b/libkdepim/komposer/core/plugin.h index bb62f3224..7acd7f70f 100644 --- a/libkdepim/komposer/core/plugin.h +++ b/libkdepim/komposer/core/plugin.h @@ -64,7 +64,7 @@ namespace Komposer Core *core() const; protected: friend class PluginManager; - Plugin( TQObject *tqparent, const char *name, const TQStringList& args = TQStringList() ); + Plugin( TQObject *parent, const char *name, const TQStringList& args = TQStringList() ); private: class Private; diff --git a/libkdepim/komposer/core/pluginmanager.cpp b/libkdepim/komposer/core/pluginmanager.cpp index 30d52ffcd..dcfea6f4b 100644 --- a/libkdepim/komposer/core/pluginmanager.cpp +++ b/libkdepim/komposer/core/pluginmanager.cpp @@ -66,8 +66,8 @@ public: TQValueStack pluginsToLoad; }; -PluginManager::PluginManager( TQObject *tqparent ) - : TQObject( tqparent ) +PluginManager::PluginManager( TQObject *parent ) + : TQObject( parent ) { d = new Private; diff --git a/libkdepim/komposer/core/prefsmodule.cpp b/libkdepim/komposer/core/prefsmodule.cpp index 3b82f96d3..af9df085b 100644 --- a/libkdepim/komposer/core/prefsmodule.cpp +++ b/libkdepim/komposer/core/prefsmodule.cpp @@ -35,14 +35,14 @@ extern "C" { - KDE_EXPORT KCModule *create_komposerconfig( TQWidget *tqparent, const char * ) { - return new Komposer::PrefsModule( tqparent, "komposerprefs" ); + KDE_EXPORT KCModule *create_komposerconfig( TQWidget *parent, const char * ) { + return new Komposer::PrefsModule( parent, "komposerprefs" ); } } using namespace Komposer; -PrefsModule::PrefsModule( TQWidget *tqparent, const char *name ) - : KPrefsModule( Komposer::Prefs::self(), tqparent, name ) +PrefsModule::PrefsModule( TQWidget *parent, const char *name ) + : KPrefsModule( Komposer::Prefs::self(), parent, name ) { TQVBoxLayout *topLayout = new TQVBoxLayout( this ); @@ -71,10 +71,10 @@ PrefsModule::aboutData() const EditorSelection::EditorSelection( const TQString &text, TQString &reference, - TQWidget *tqparent ) + TQWidget *parent ) : m_reference( reference ) { - m_box = new TQGroupBox( 0, TQt::Vertical, text, tqparent ); + m_box = new TQGroupBox( 0, TQt::Vertical, text, parent ); TQVBoxLayout *boxLayout = new TQVBoxLayout( m_box->tqlayout() ); boxLayout->tqsetAlignment( TQt::AlignTop ); diff --git a/libkdepim/komposer/core/prefsmodule.h b/libkdepim/komposer/core/prefsmodule.h index ab1744044..aba969f16 100644 --- a/libkdepim/komposer/core/prefsmodule.h +++ b/libkdepim/komposer/core/prefsmodule.h @@ -37,7 +37,7 @@ namespace Komposer { Q_OBJECT TQ_OBJECT public: - PrefsModule( TQWidget *tqparent=0, const char *name=0 ); + PrefsModule( TQWidget *parent=0, const char *name=0 ); virtual const KAboutData *aboutData() const; }; @@ -47,7 +47,7 @@ namespace Komposer { TQ_OBJECT public: - EditorSelection( const TQString &text, TQString &reference, TQWidget *tqparent ); + EditorSelection( const TQString &text, TQString &reference, TQWidget *parent ); ~EditorSelection(); void readConfig(); diff --git a/libkdepim/komposer/core/tests/managertest.cpp b/libkdepim/komposer/core/tests/managertest.cpp index 4224a2e24..487a84c59 100644 --- a/libkdepim/komposer/core/tests/managertest.cpp +++ b/libkdepim/komposer/core/tests/managertest.cpp @@ -23,8 +23,8 @@ #include "pluginmanager.h" using namespace Komposer; -ManagerTest::ManagerTest( TQObject* tqparent ) - : TQObject( tqparent ) +ManagerTest::ManagerTest( TQObject* parent ) + : TQObject( parent ) { m_manager = new PluginManager( this ); } diff --git a/libkdepim/komposer/core/tests/managertest.h b/libkdepim/komposer/core/tests/managertest.h index c0351b39f..f02510e67 100644 --- a/libkdepim/komposer/core/tests/managertest.h +++ b/libkdepim/komposer/core/tests/managertest.h @@ -34,7 +34,7 @@ class ManagerTest : public TQObject, Q_OBJECT TQ_OBJECT public: - ManagerTest( TQObject* tqparent = 0 ); + ManagerTest( TQObject* parent = 0 ); public slots: void allTests(); diff --git a/libkdepim/komposer/core/tests/tester.cpp b/libkdepim/komposer/core/tests/tester.cpp index 2a0c84618..b32c89644 100644 --- a/libkdepim/komposer/core/tests/tester.cpp +++ b/libkdepim/komposer/core/tests/tester.cpp @@ -21,8 +21,8 @@ #include "tester.h" -Tester::Tester( TQObject* tqparent ) - : TQObject( tqparent ) +Tester::Tester( TQObject* parent ) + : TQObject( parent ) { } diff --git a/libkdepim/komposer/core/tests/testmanager.cpp b/libkdepim/komposer/core/tests/testmanager.cpp index 893b35b81..0fcba16b9 100644 --- a/libkdepim/komposer/core/tests/testmanager.cpp +++ b/libkdepim/komposer/core/tests/testmanager.cpp @@ -11,8 +11,8 @@ using namespace Komposer; -TestManager::TestManager( TQObject *tqparent ) - : TQObject( tqparent ) +TestManager::TestManager( TQObject *parent ) + : TQObject( parent ) { m_manager = new PluginManager( this ); connect( m_manager, TQT_SIGNAL(pluginLoaded(Plugin*)), diff --git a/libkdepim/komposer/core/tests/testmanager.h b/libkdepim/komposer/core/tests/testmanager.h index b574bc871..5dfaa15d1 100644 --- a/libkdepim/komposer/core/tests/testmanager.h +++ b/libkdepim/komposer/core/tests/testmanager.h @@ -14,7 +14,7 @@ class TestManager : public TQObject Q_OBJECT TQ_OBJECT public: - TestManager( TQObject *tqparent ); + TestManager( TQObject *parent ); public slots: void slotPluginLoaded( Plugin *plugin ); -- cgit v1.2.1