summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces
diff options
context:
space:
mode:
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 );
/**