summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /kontact/interfaces
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
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
Diffstat (limited to 'kontact/interfaces')
-rw-r--r--kontact/interfaces/core.cpp4
-rw-r--r--kontact/interfaces/plugin.cpp4
-rw-r--r--kontact/interfaces/plugin.h4
-rw-r--r--kontact/interfaces/summary.cpp8
-rw-r--r--kontact/interfaces/summary.h4
5 files changed, 12 insertions, 12 deletions
diff --git a/kontact/interfaces/core.cpp b/kontact/interfaces/core.cpp
index 997ad8c4..e4e44e70 100644
--- a/kontact/interfaces/core.cpp
+++ b/kontact/interfaces/core.cpp
@@ -37,8 +37,8 @@ public:
TQString lastErrorMessage;
};
-Core::Core( TQWidget *tqparent, const char *name )
- : KParts::MainWindow( tqparent, name )
+Core::Core( TQWidget *parent, const char *name )
+ : KParts::MainWindow( parent, name )
{
d = new Private;
TQTimer* timer = new TQTimer( this );
diff --git a/kontact/interfaces/plugin.cpp b/kontact/interfaces/plugin.cpp
index 1d7a2a1a..14248250 100644
--- a/kontact/interfaces/plugin.cpp
+++ b/kontact/interfaces/plugin.cpp
@@ -53,8 +53,8 @@ class Plugin::Private
};
-Plugin::Plugin( Kontact::Core *core, TQObject *tqparent, const char *name )
- : KXMLGUIClient( core ), TQObject( tqparent, name ), d( new Private )
+Plugin::Plugin( Kontact::Core *core, TQObject *parent, const char *name )
+ : KXMLGUIClient( core ), TQObject( parent, name ), d( new Private )
{
core->factory()->addClient( this );
KGlobal::locale()->insertCatalogue(name);
diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h
index f0fcc154..c532f86f 100644
--- a/kontact/interfaces/plugin.h
+++ b/kontact/interfaces/plugin.h
@@ -69,7 +69,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
provides the part! This is the name used for DCOP registration.
It's ok to have several plugins using the same application name.
*/
- Plugin( Core *core, TQObject *tqparent, const char *name );
+ Plugin( Core *core, TQObject *parent, const char *name );
~Plugin();
@@ -172,7 +172,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
Reimplement this method if you want to add a widget for your application
to Kontact's summary page.
*/
- virtual Summary *createSummaryWidget( TQWidget * /*tqparent*/ ) { return 0; }
+ virtual Summary *createSummaryWidget( TQWidget * /*parent*/ ) { return 0; }
/**
Returns whether the plugin provides a part that should be shown in the sidebar.
diff --git a/kontact/interfaces/summary.cpp b/kontact/interfaces/summary.cpp
index 4fa495bf..08512522 100644
--- a/kontact/interfaces/summary.cpp
+++ b/kontact/interfaces/summary.cpp
@@ -34,8 +34,8 @@
using namespace Kontact;
-Summary::Summary( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+Summary::Summary( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
setAcceptDrops( true );
}
@@ -44,9 +44,9 @@ Summary::~Summary()
{
}
-TQWidget* Summary::createHeader(TQWidget *tqparent, const TQPixmap& icon, const TQString& heading)
+TQWidget* Summary::createHeader(TQWidget *parent, const TQPixmap& icon, const TQString& heading)
{
- TQHBox* hbox = new TQHBox( tqparent );
+ TQHBox* hbox = new TQHBox( parent );
hbox->setMargin( 2 );
TQFont boldFont;
diff --git a/kontact/interfaces/summary.h b/kontact/interfaces/summary.h
index a845401f..f6efa308 100644
--- a/kontact/interfaces/summary.h
+++ b/kontact/interfaces/summary.h
@@ -39,7 +39,7 @@ class KDE_EXPORT Summary : public TQWidget
TQ_OBJECT
public:
- Summary( TQWidget *tqparent, const char *name = 0 );
+ Summary( TQWidget *parent, const char *name = 0 );
virtual ~Summary();
@@ -53,7 +53,7 @@ class KDE_EXPORT Summary : public TQWidget
/**
Creates a heading for a typical summary view with an icon and a heading.
*/
- TQWidget *createHeader( TQWidget* tqparent, const TQPixmap &icon,
+ TQWidget *createHeader( TQWidget* parent, const TQPixmap &icon,
const TQString& heading );
/**