summaryrefslogtreecommitdiffstats
path: root/kontact/plugins
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/plugins
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/plugins')
-rw-r--r--kontact/plugins/kmail/kcmkmailsummary.cpp8
-rw-r--r--kontact/plugins/kmail/kcmkmailsummary.h2
-rw-r--r--kontact/plugins/kmail/kmail_plugin.cpp4
-rw-r--r--kontact/plugins/kmail/kmail_plugin.h2
-rw-r--r--kontact/plugins/kmail/summarywidget.cpp4
-rw-r--r--kontact/plugins/kmail/summarywidget.h2
-rw-r--r--kontact/plugins/knotes/knotes_part.cpp4
-rw-r--r--kontact/plugins/knotes/knotes_part.h2
-rw-r--r--kontact/plugins/knotes/knotes_part_p.h8
-rw-r--r--kontact/plugins/knotes/knotetip.cpp4
-rw-r--r--kontact/plugins/knotes/knotetip.h2
-rw-r--r--kontact/plugins/knotes/summarywidget.cpp4
-rw-r--r--kontact/plugins/knotes/summarywidget.h2
-rw-r--r--kontact/plugins/korganizer/kcmkorgsummary.cpp8
-rw-r--r--kontact/plugins/korganizer/kcmkorgsummary.h2
-rw-r--r--kontact/plugins/korganizer/korganizerplugin.cpp4
-rw-r--r--kontact/plugins/korganizer/korganizerplugin.h2
-rw-r--r--kontact/plugins/korganizer/summarywidget.cpp4
-rw-r--r--kontact/plugins/korganizer/summarywidget.h2
-rw-r--r--kontact/plugins/korganizer/todoplugin.cpp4
-rw-r--r--kontact/plugins/korganizer/todoplugin.h2
-rw-r--r--kontact/plugins/korganizer/todosummarywidget.cpp6
-rw-r--r--kontact/plugins/korganizer/todosummarywidget.h2
-rw-r--r--kontact/plugins/kpilot/summarywidget.cpp4
-rw-r--r--kontact/plugins/kpilot/summarywidget.h2
-rw-r--r--kontact/plugins/newsticker/kcmkontactknt.cpp20
-rw-r--r--kontact/plugins/newsticker/kcmkontactknt.h4
-rw-r--r--kontact/plugins/newsticker/summarywidget.cpp4
-rw-r--r--kontact/plugins/newsticker/summarywidget.h2
-rw-r--r--kontact/plugins/specialdates/kcmsdsummary.cpp8
-rw-r--r--kontact/plugins/specialdates/kcmsdsummary.h2
-rw-r--r--kontact/plugins/specialdates/sdsummarywidget.cpp4
-rw-r--r--kontact/plugins/specialdates/sdsummarywidget.h2
-rw-r--r--kontact/plugins/summary/dropwidget.cpp4
-rw-r--r--kontact/plugins/summary/dropwidget.h2
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.cpp16
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.h4
-rw-r--r--kontact/plugins/summary/summaryview_part.cpp4
-rw-r--r--kontact/plugins/summary/summaryview_part.h2
-rw-r--r--kontact/plugins/test/test_part.cpp4
-rw-r--r--kontact/plugins/test/test_part.h2
-rw-r--r--kontact/plugins/weather/summarywidget.cpp4
-rw-r--r--kontact/plugins/weather/summarywidget.h2
43 files changed, 90 insertions, 90 deletions
diff --git a/kontact/plugins/kmail/kcmkmailsummary.cpp b/kontact/plugins/kmail/kcmkmailsummary.cpp
index 97fc9fad1..989ab6198 100644
--- a/kontact/plugins/kmail/kcmkmailsummary.cpp
+++ b/kontact/plugins/kmail/kcmkmailsummary.cpp
@@ -41,14 +41,14 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kmailsummary( TQWidget *tqparent, const char * )
+ KDE_EXPORT KCModule *create_kmailsummary( TQWidget *parent, const char * )
{
- return new KCMKMailSummary( tqparent, "kcmkmailsummary" );
+ return new KCMKMailSummary( parent, "kcmkmailsummary" );
}
}
-KCMKMailSummary::KCMKMailSummary( TQWidget *tqparent, const char *name )
- : KCModule( tqparent, name )
+KCMKMailSummary::KCMKMailSummary( TQWidget *parent, const char *name )
+ : KCModule( parent, name )
{
initGUI();
diff --git a/kontact/plugins/kmail/kcmkmailsummary.h b/kontact/plugins/kmail/kcmkmailsummary.h
index 068fa4a8d..025a3f7d1 100644
--- a/kontact/plugins/kmail/kcmkmailsummary.h
+++ b/kontact/plugins/kmail/kcmkmailsummary.h
@@ -39,7 +39,7 @@ class KCMKMailSummary : public KCModule
TQ_OBJECT
public:
- KCMKMailSummary( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMKMailSummary( TQWidget *parent = 0, const char *name = 0 );
virtual void load();
virtual void save();
diff --git a/kontact/plugins/kmail/kmail_plugin.cpp b/kontact/plugins/kmail/kmail_plugin.cpp
index 51fceaa61..aa1e205ad 100644
--- a/kontact/plugins/kmail/kmail_plugin.cpp
+++ b/kontact/plugins/kmail/kmail_plugin.cpp
@@ -174,9 +174,9 @@ bool KMailPlugin::isRunningStandalone()
return mUniqueAppWatcher->isRunningStandalone();
}
-Kontact::Summary *KMailPlugin::createSummaryWidget( TQWidget *tqparent )
+Kontact::Summary *KMailPlugin::createSummaryWidget( TQWidget *parent )
{
- return new SummaryWidget( this, tqparent );
+ return new SummaryWidget( this, parent );
}
////
diff --git a/kontact/plugins/kmail/kmail_plugin.h b/kontact/plugins/kmail/kmail_plugin.h
index 46998d802..9ab74ac2c 100644
--- a/kontact/plugins/kmail/kmail_plugin.h
+++ b/kontact/plugins/kmail/kmail_plugin.h
@@ -54,7 +54,7 @@ class KMailPlugin : public Kontact::Plugin
virtual bool isRunningStandalone();
virtual bool createDCOPInterface( const TQString& serviceType );
- virtual Kontact::Summary *createSummaryWidget( TQWidget *tqparent );
+ virtual Kontact::Summary *createSummaryWidget( TQWidget *parent );
virtual TQString tipFile() const;
int weight() const { return 200; }
diff --git a/kontact/plugins/kmail/summarywidget.cpp b/kontact/plugins/kmail/summarywidget.cpp
index 8f3b668b3..195d853a3 100644
--- a/kontact/plugins/kmail/summarywidget.cpp
+++ b/kontact/plugins/kmail/summarywidget.cpp
@@ -41,8 +41,8 @@
#include <time.h>
-SummaryWidget::SummaryWidget( Kontact::Plugin *plugin, TQWidget *tqparent, const char *name )
- : Kontact::Summary( tqparent, name ),
+SummaryWidget::SummaryWidget( Kontact::Plugin *plugin, TQWidget *parent, const char *name )
+ : Kontact::Summary( parent, name ),
DCOPObject( TQCString("MailSummary") ),
mPlugin( plugin )
{
diff --git a/kontact/plugins/kmail/summarywidget.h b/kontact/plugins/kmail/summarywidget.h
index 575aceae6..73e27551c 100644
--- a/kontact/plugins/kmail/summarywidget.h
+++ b/kontact/plugins/kmail/summarywidget.h
@@ -45,7 +45,7 @@ class SummaryWidget : public Kontact::Summary, public DCOPObject
K_DCOP
public:
- SummaryWidget( Kontact::Plugin *plugin, TQWidget *tqparent, const char *name = 0 );
+ SummaryWidget( Kontact::Plugin *plugin, TQWidget *parent, const char *name = 0 );
int summaryHeight() const { return 1; }
TQStringList configModules() const;
diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp
index b4b0f7786..004865dce 100644
--- a/kontact/plugins/knotes/knotes_part.cpp
+++ b/kontact/plugins/knotes/knotes_part.cpp
@@ -38,8 +38,8 @@
#include "knotetip.h"
-KNotesPart::KNotesPart( TQObject *tqparent, const char *name )
- : DCOPObject( "KNotesIface" ), KParts::ReadOnlyPart( tqparent, name ),
+KNotesPart::KNotesPart( TQObject *parent, const char *name )
+ : DCOPObject( "KNotesIface" ), KParts::ReadOnlyPart( parent, name ),
mNotesView( new KNotesIconView() ),
mNoteTip( new KNoteTip( mNotesView ) ),
mNoteEditDlg( 0 ),
diff --git a/kontact/plugins/knotes/knotes_part.h b/kontact/plugins/knotes/knotes_part.h
index 9bc4e8472..4ab1be70b 100644
--- a/kontact/plugins/knotes/knotes_part.h
+++ b/kontact/plugins/knotes/knotes_part.h
@@ -50,7 +50,7 @@ class KNotesPart : public KParts::ReadOnlyPart, virtual public KNotesIface
TQ_OBJECT
public:
- KNotesPart( TQObject *tqparent = 0, const char *name = 0 );
+ KNotesPart( TQObject *parent = 0, const char *name = 0 );
~KNotesPart();
bool openFile();
diff --git a/kontact/plugins/knotes/knotes_part_p.h b/kontact/plugins/knotes/knotes_part_p.h
index 9f8a4bb83..a6e23d899 100644
--- a/kontact/plugins/knotes/knotes_part_p.h
+++ b/kontact/plugins/knotes/knotes_part_p.h
@@ -60,8 +60,8 @@
class KNotesIconViewItem : public KIconViewItem
{
public:
- KNotesIconViewItem( KIconView *tqparent, KCal::Journal *journal )
- : KIconViewItem( tqparent ),
+ KNotesIconViewItem( KIconView *parent, KCal::Journal *journal )
+ : KIconViewItem( parent ),
mJournal( journal )
{
setRenameEnabled( true );
@@ -118,9 +118,9 @@ class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient
TQ_OBJECT
public:
- KNoteEditDlg( TQWidget *tqparent = 0, const char *name = 0 )
+ KNoteEditDlg( TQWidget *parent = 0, const char *name = 0 )
: KDialogBase( Plain, i18n( "Edit Note" ), Ok | Cancel, Ok,
- tqparent, name, true, true )
+ parent, name, true, true )
{
// this dialog is modal to prevent one from editing the same note twice in two
// different windows
diff --git a/kontact/plugins/knotes/knotetip.cpp b/kontact/plugins/knotes/knotetip.cpp
index 9e2609fc2..79a45d21e 100644
--- a/kontact/plugins/knotes/knotetip.cpp
+++ b/kontact/plugins/knotes/knotetip.cpp
@@ -40,11 +40,11 @@
#include "knotes_part_p.h"
-KNoteTip::KNoteTip( KIconView *tqparent )
+KNoteTip::KNoteTip( KIconView *parent )
: TQFrame( 0, 0, WX11BypassWM | // this will make Seli happy >:-P
WStyle_Customize | WStyle_NoBorder | WStyle_Tool | WStyle_StaysOnTop ),
mFilter( false ),
- mView( tqparent ),
+ mView( parent ),
mNoteIVI( 0 ),
mPreview( new TQTextEdit( this ) )
{
diff --git a/kontact/plugins/knotes/knotetip.h b/kontact/plugins/knotes/knotetip.h
index ca342fa43..221720224 100644
--- a/kontact/plugins/knotes/knotetip.h
+++ b/kontact/plugins/knotes/knotetip.h
@@ -41,7 +41,7 @@ class KNotesIconViewItem;
class KNoteTip : public TQFrame
{
public:
- KNoteTip( KIconView *tqparent );
+ KNoteTip( KIconView *parent );
~KNoteTip();
void setNote( KNotesIconViewItem *item );
diff --git a/kontact/plugins/knotes/summarywidget.cpp b/kontact/plugins/knotes/summarywidget.cpp
index c0e1ef402..2bd0456ca 100644
--- a/kontact/plugins/knotes/summarywidget.cpp
+++ b/kontact/plugins/knotes/summarywidget.cpp
@@ -45,8 +45,8 @@
#include "summarywidget.h"
KNotesSummaryWidget::KNotesSummaryWidget( Kontact::Plugin *plugin,
- TQWidget *tqparent, const char *name )
- : Kontact::Summary( tqparent, name ), mLayout( 0 ), mPlugin( plugin )
+ TQWidget *parent, const char *name )
+ : Kontact::Summary( parent, name ), mLayout( 0 ), mPlugin( plugin )
{
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 );
diff --git a/kontact/plugins/knotes/summarywidget.h b/kontact/plugins/knotes/summarywidget.h
index 97ccd0940..088bdea3b 100644
--- a/kontact/plugins/knotes/summarywidget.h
+++ b/kontact/plugins/knotes/summarywidget.h
@@ -46,7 +46,7 @@ class KNotesSummaryWidget : public Kontact::Summary
TQ_OBJECT
public:
- KNotesSummaryWidget( Kontact::Plugin *plugin, TQWidget *tqparent, const char *name = 0 );
+ KNotesSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent, const char *name = 0 );
void updateSummary( bool force = false ) { Q_UNUSED( force ); updateView(); }
diff --git a/kontact/plugins/korganizer/kcmkorgsummary.cpp b/kontact/plugins/korganizer/kcmkorgsummary.cpp
index 9e698a2bd..7aa684f45 100644
--- a/kontact/plugins/korganizer/kcmkorgsummary.cpp
+++ b/kontact/plugins/korganizer/kcmkorgsummary.cpp
@@ -41,14 +41,14 @@
extern "C"
{
- KDE_EXPORT KCModule *create_korgsummary( TQWidget *tqparent, const char * )
+ KDE_EXPORT KCModule *create_korgsummary( TQWidget *parent, const char * )
{
- return new KCMKOrgSummary( tqparent, "kcmkorgsummary" );
+ return new KCMKOrgSummary( parent, "kcmkorgsummary" );
}
}
-KCMKOrgSummary::KCMKOrgSummary( TQWidget *tqparent, const char *name )
- : KCModule( tqparent, name )
+KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name )
+ : KCModule( parent, name )
{
initGUI();
diff --git a/kontact/plugins/korganizer/kcmkorgsummary.h b/kontact/plugins/korganizer/kcmkorgsummary.h
index 6d19f30f3..ea698f91a 100644
--- a/kontact/plugins/korganizer/kcmkorgsummary.h
+++ b/kontact/plugins/korganizer/kcmkorgsummary.h
@@ -35,7 +35,7 @@ class KCMKOrgSummary : public KCModule
TQ_OBJECT
public:
- KCMKOrgSummary( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMKOrgSummary( TQWidget *parent = 0, const char *name = 0 );
virtual void load();
virtual void save();
diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp
index d626c9519..beba17382 100644
--- a/kontact/plugins/korganizer/korganizerplugin.cpp
+++ b/kontact/plugins/korganizer/korganizerplugin.cpp
@@ -80,14 +80,14 @@ KOrganizerPlugin::~KOrganizerPlugin()
{
}
-Kontact::Summary *KOrganizerPlugin::createSummaryWidget( TQWidget *tqparent )
+Kontact::Summary *KOrganizerPlugin::createSummaryWidget( TQWidget *parent )
{
// korg part must be loaded, otherwise when starting kontact on summary view
// it won't display our stuff.
// If the part is already loaded loadPart() is harmless and just returns
loadPart();
- return new SummaryWidget( this, tqparent );
+ return new SummaryWidget( this, parent );
}
KParts::ReadOnlyPart *KOrganizerPlugin::createPart()
diff --git a/kontact/plugins/korganizer/korganizerplugin.h b/kontact/plugins/korganizer/korganizerplugin.h
index 4aaa4a0b6..83abfa914 100644
--- a/kontact/plugins/korganizer/korganizerplugin.h
+++ b/kontact/plugins/korganizer/korganizerplugin.h
@@ -51,7 +51,7 @@ class KOrganizerPlugin : public Kontact::Plugin
bool canDecodeDrag( TQMimeSource * );
void processDropEvent( TQDropEvent * );
- virtual Kontact::Summary *createSummaryWidget( TQWidget *tqparent );
+ virtual Kontact::Summary *createSummaryWidget( TQWidget *parent );
virtual TQString tipFile() const;
virtual TQStringList invisibleToolbarActions() const;
diff --git a/kontact/plugins/korganizer/summarywidget.cpp b/kontact/plugins/korganizer/summarywidget.cpp
index 03be389c2..b3f73fdf2 100644
--- a/kontact/plugins/korganizer/summarywidget.cpp
+++ b/kontact/plugins/korganizer/summarywidget.cpp
@@ -50,9 +50,9 @@
#include "summarywidget.h"
-SummaryWidget::SummaryWidget( KOrganizerPlugin *plugin, TQWidget *tqparent,
+SummaryWidget::SummaryWidget( KOrganizerPlugin *plugin, TQWidget *parent,
const char *name )
- : Kontact::Summary( tqparent, name ), mPlugin( plugin ), mCalendar( 0 )
+ : Kontact::Summary( parent, name ), mPlugin( plugin ), mCalendar( 0 )
{
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 );
diff --git a/kontact/plugins/korganizer/summarywidget.h b/kontact/plugins/korganizer/summarywidget.h
index 9e2350ead..1f7df4f1f 100644
--- a/kontact/plugins/korganizer/summarywidget.h
+++ b/kontact/plugins/korganizer/summarywidget.h
@@ -42,7 +42,7 @@ class SummaryWidget : public Kontact::Summary
TQ_OBJECT
public:
- SummaryWidget( KOrganizerPlugin *plugin, TQWidget *tqparent,
+ SummaryWidget( KOrganizerPlugin *plugin, TQWidget *parent,
const char *name = 0 );
~SummaryWidget();
diff --git a/kontact/plugins/korganizer/todoplugin.cpp b/kontact/plugins/korganizer/todoplugin.cpp
index 6b6238bfe..fa788778e 100644
--- a/kontact/plugins/korganizer/todoplugin.cpp
+++ b/kontact/plugins/korganizer/todoplugin.cpp
@@ -77,9 +77,9 @@ TodoPlugin::~TodoPlugin()
{
}
-Kontact::Summary *TodoPlugin::createSummaryWidget( TQWidget *tqparent )
+Kontact::Summary *TodoPlugin::createSummaryWidget( TQWidget *parent )
{
- return new TodoSummaryWidget( this, tqparent );
+ return new TodoSummaryWidget( this, parent );
}
KParts::ReadOnlyPart *TodoPlugin::createPart()
diff --git a/kontact/plugins/korganizer/todoplugin.h b/kontact/plugins/korganizer/todoplugin.h
index 9bff00d0b..4d2896cd2 100644
--- a/kontact/plugins/korganizer/todoplugin.h
+++ b/kontact/plugins/korganizer/todoplugin.h
@@ -48,7 +48,7 @@ class TodoPlugin : public Kontact::Plugin
virtual TQStringList invisibleToolbarActions() const;
- virtual Kontact::Summary *createSummaryWidget( TQWidget *tqparent );
+ virtual Kontact::Summary *createSummaryWidget( TQWidget *parent );
void select();
diff --git a/kontact/plugins/korganizer/todosummarywidget.cpp b/kontact/plugins/korganizer/todosummarywidget.cpp
index 1109f314a..8d78d3725 100644
--- a/kontact/plugins/korganizer/todosummarywidget.cpp
+++ b/kontact/plugins/korganizer/todosummarywidget.cpp
@@ -53,8 +53,8 @@
#include "todosummarywidget.h"
TodoSummaryWidget::TodoSummaryWidget( TodoPlugin *plugin,
- TQWidget *tqparent, const char *name )
- : Kontact::Summary( tqparent, name ), mPlugin( plugin )
+ TQWidget *parent, const char *name )
+ : Kontact::Summary( parent, name ), mPlugin( plugin )
{
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 );
@@ -152,7 +152,7 @@ void TodoSummaryWidget::updateView()
mLabels.append( label );
TQString sSummary = todo->summary();
- if ( todo->relatedTo() ) { // show tqparent only, not entire ancestry
+ if ( todo->relatedTo() ) { // show parent only, not entire ancestry
sSummary = todo->relatedTo()->summary() + ":" + todo->summary();
}
KURLLabel *urlLabel = new KURLLabel( this );
diff --git a/kontact/plugins/korganizer/todosummarywidget.h b/kontact/plugins/korganizer/todosummarywidget.h
index 974a45b30..e8374edc1 100644
--- a/kontact/plugins/korganizer/todosummarywidget.h
+++ b/kontact/plugins/korganizer/todosummarywidget.h
@@ -42,7 +42,7 @@ class TodoSummaryWidget : public Kontact::Summary
TQ_OBJECT
public:
- TodoSummaryWidget( TodoPlugin *plugin, TQWidget *tqparent,
+ TodoSummaryWidget( TodoPlugin *plugin, TQWidget *parent,
const char *name = 0 );
~TodoSummaryWidget();
diff --git a/kontact/plugins/kpilot/summarywidget.cpp b/kontact/plugins/kpilot/summarywidget.cpp
index a0dafaa29..c2f4739c9 100644
--- a/kontact/plugins/kpilot/summarywidget.cpp
+++ b/kontact/plugins/kpilot/summarywidget.cpp
@@ -49,8 +49,8 @@
#include "summarywidget.h"
-SummaryWidget::SummaryWidget( TQWidget *tqparent, const char *name )
- : Kontact::Summary( tqparent, name ),
+SummaryWidget::SummaryWidget( TQWidget *parent, const char *name )
+ : Kontact::Summary( parent, name ),
DCOPObject( "KPilotSummaryWidget" ),
mDCOPSuccess( false ),
mStartedDaemon( false ),
diff --git a/kontact/plugins/kpilot/summarywidget.h b/kontact/plugins/kpilot/summarywidget.h
index cfb87ae56..b1b60a053 100644
--- a/kontact/plugins/kpilot/summarywidget.h
+++ b/kontact/plugins/kpilot/summarywidget.h
@@ -49,7 +49,7 @@ class SummaryWidget : public Kontact::Summary, public DCOPObject
K_DCOP
public:
- SummaryWidget( TQWidget *tqparent, const char *name = 0 );
+ SummaryWidget( TQWidget *parent, const char *name = 0 );
virtual ~SummaryWidget();
int summaryHeight() const { return 1; }
diff --git a/kontact/plugins/newsticker/kcmkontactknt.cpp b/kontact/plugins/newsticker/kcmkontactknt.cpp
index 63dc312e2..6795ffb5b 100644
--- a/kontact/plugins/newsticker/kcmkontactknt.cpp
+++ b/kontact/plugins/newsticker/kcmkontactknt.cpp
@@ -49,15 +49,15 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kontactknt( TQWidget *tqparent, const char * )
+ KDE_EXPORT KCModule *create_kontactknt( TQWidget *parent, const char * )
{
- return new KCMKontactKNT( tqparent, "kcmkontactknt" );
+ return new KCMKontactKNT( parent, "kcmkontactknt" );
}
}
-NewsEditDialog::NewsEditDialog( const TQString& title, const TQString& url, TQWidget *tqparent )
+NewsEditDialog::NewsEditDialog( const TQString& title, const TQString& url, TQWidget *parent )
: KDialogBase( Plain, i18n( "New News Feed" ), Ok | Cancel,
- Ok, tqparent, 0, true, true )
+ Ok, parent, 0, true, true )
{
TQWidget *page = plainPage();
TQGridLayout *tqlayout = new TQGridLayout( page, 2, 3, marginHint(),
@@ -106,14 +106,14 @@ TQString NewsEditDialog::url() const
class NewsItem : public TQListViewItem
{
public:
- NewsItem( TQListView *tqparent, const TQString& title, const TQString& url, bool custom )
- : TQListViewItem( tqparent ), mTitle( title ), mUrl( url ), mCustom( custom )
+ NewsItem( TQListView *parent, const TQString& title, const TQString& url, bool custom )
+ : TQListViewItem( parent ), mTitle( title ), mUrl( url ), mCustom( custom )
{
setText( 0, mTitle );
}
- NewsItem( TQListViewItem *tqparent, const TQString& title, const TQString& url, bool custom )
- : TQListViewItem( tqparent ), mTitle( title ), mUrl( url ), mCustom( custom )
+ NewsItem( TQListViewItem *parent, const TQString& title, const TQString& url, bool custom )
+ : TQListViewItem( parent ), mTitle( title ), mUrl( url ), mCustom( custom )
{
setText( 0, mTitle );
}
@@ -128,8 +128,8 @@ class NewsItem : public TQListViewItem
bool mCustom;
};
-KCMKontactKNT::KCMKontactKNT( TQWidget *tqparent, const char *name )
- : KCModule( tqparent, name )
+KCMKontactKNT::KCMKontactKNT( TQWidget *parent, const char *name )
+ : KCModule( parent, name )
{
initGUI();
diff --git a/kontact/plugins/newsticker/kcmkontactknt.h b/kontact/plugins/newsticker/kcmkontactknt.h
index 2ec21f863..7bb00c7e8 100644
--- a/kontact/plugins/newsticker/kcmkontactknt.h
+++ b/kontact/plugins/newsticker/kcmkontactknt.h
@@ -41,7 +41,7 @@ class KCMKontactKNT : public KCModule
TQ_OBJECT
public:
- KCMKontactKNT( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMKontactKNT( TQWidget *parent = 0, const char *name = 0 );
virtual void load();
virtual void save();
@@ -89,7 +89,7 @@ class NewsEditDialog : public KDialogBase
TQ_OBJECT
public:
- NewsEditDialog( const TQString&, const TQString&, TQWidget *tqparent );
+ NewsEditDialog( const TQString&, const TQString&, TQWidget *parent );
TQString title() const;
TQString url() const;
diff --git a/kontact/plugins/newsticker/summarywidget.cpp b/kontact/plugins/newsticker/summarywidget.cpp
index 3667d402c..2ba0dfcfa 100644
--- a/kontact/plugins/newsticker/summarywidget.cpp
+++ b/kontact/plugins/newsticker/summarywidget.cpp
@@ -41,8 +41,8 @@
#include "summarywidget.h"
-SummaryWidget::SummaryWidget( TQWidget *tqparent, const char *name )
- : Kontact::Summary( tqparent, name ),
+SummaryWidget::SummaryWidget( TQWidget *parent, const char *name )
+ : Kontact::Summary( parent, name ),
DCOPObject( "NewsTickerPlugin" ), mLayout( 0 ), mFeedCounter( 0 )
{
TQVBoxLayout *vlay = new TQVBoxLayout( this, 3, 3 );
diff --git a/kontact/plugins/newsticker/summarywidget.h b/kontact/plugins/newsticker/summarywidget.h
index 7f30ca267..4a7c5c45f 100644
--- a/kontact/plugins/newsticker/summarywidget.h
+++ b/kontact/plugins/newsticker/summarywidget.h
@@ -60,7 +60,7 @@ class SummaryWidget : public Kontact::Summary, public DCOPObject
K_DCOP
public:
- SummaryWidget( TQWidget *tqparent, const char *name = 0 );
+ SummaryWidget( TQWidget *parent, const char *name = 0 );
int summaryHeight() const;
TQStringList configModules() const;
diff --git a/kontact/plugins/specialdates/kcmsdsummary.cpp b/kontact/plugins/specialdates/kcmsdsummary.cpp
index 3c3420820..b659cdb45 100644
--- a/kontact/plugins/specialdates/kcmsdsummary.cpp
+++ b/kontact/plugins/specialdates/kcmsdsummary.cpp
@@ -43,14 +43,14 @@
extern "C"
{
- KDE_EXPORT KCModule *create_sdsummary( TQWidget *tqparent, const char * )
+ KDE_EXPORT KCModule *create_sdsummary( TQWidget *parent, const char * )
{
- return new KCMSDSummary( tqparent, "kcmsdsummary" );
+ return new KCMSDSummary( parent, "kcmsdsummary" );
}
}
-KCMSDSummary::KCMSDSummary( TQWidget *tqparent, const char *name )
- : KCModule( tqparent, name )
+KCMSDSummary::KCMSDSummary( TQWidget *parent, const char *name )
+ : KCModule( parent, name )
{
initGUI();
diff --git a/kontact/plugins/specialdates/kcmsdsummary.h b/kontact/plugins/specialdates/kcmsdsummary.h
index 4369797f4..7e18f2195 100644
--- a/kontact/plugins/specialdates/kcmsdsummary.h
+++ b/kontact/plugins/specialdates/kcmsdsummary.h
@@ -39,7 +39,7 @@ class KCMSDSummary : public KCModule
TQ_OBJECT
public:
- KCMSDSummary( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMSDSummary( TQWidget *parent = 0, const char *name = 0 );
virtual void load();
virtual void save();
diff --git a/kontact/plugins/specialdates/sdsummarywidget.cpp b/kontact/plugins/specialdates/sdsummarywidget.cpp
index 3a5f8b3a7..537e4ec0d 100644
--- a/kontact/plugins/specialdates/sdsummarywidget.cpp
+++ b/kontact/plugins/specialdates/sdsummarywidget.cpp
@@ -77,9 +77,9 @@ class SDEntry
}
};
-SDSummaryWidget::SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *tqparent,
+SDSummaryWidget::SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent,
const char *name )
- : Kontact::Summary( tqparent, name ), mPlugin( plugin ), mCalendar( 0 ), mHolidays( 0 )
+ : Kontact::Summary( parent, name ), mPlugin( plugin ), mCalendar( 0 ), mHolidays( 0 )
{
// Create the Summary Layout
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 );
diff --git a/kontact/plugins/specialdates/sdsummarywidget.h b/kontact/plugins/specialdates/sdsummarywidget.h
index 939ca5bb9..00f45a5d8 100644
--- a/kontact/plugins/specialdates/sdsummarywidget.h
+++ b/kontact/plugins/specialdates/sdsummarywidget.h
@@ -46,7 +46,7 @@ class SDSummaryWidget : public Kontact::Summary
TQ_OBJECT
public:
- SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *tqparent,
+ SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent,
const char *name = 0 );
TQStringList configModules() const;
diff --git a/kontact/plugins/summary/dropwidget.cpp b/kontact/plugins/summary/dropwidget.cpp
index 300d7993d..63c1d3ceb 100644
--- a/kontact/plugins/summary/dropwidget.cpp
+++ b/kontact/plugins/summary/dropwidget.cpp
@@ -23,8 +23,8 @@
#include "dropwidget.h"
-DropWidget::DropWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+DropWidget::DropWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
setAcceptDrops( true );
}
diff --git a/kontact/plugins/summary/dropwidget.h b/kontact/plugins/summary/dropwidget.h
index ee430d90c..e2d11c9ee 100644
--- a/kontact/plugins/summary/dropwidget.h
+++ b/kontact/plugins/summary/dropwidget.h
@@ -30,7 +30,7 @@ class DropWidget : public TQWidget
TQ_OBJECT
public:
- DropWidget( TQWidget *tqparent, const char *name = 0 );
+ DropWidget( TQWidget *parent, const char *name = 0 );
signals:
void summaryWidgetDropped( TQWidget *target, TQWidget *widget, int tqalignment );
diff --git a/kontact/plugins/summary/kcmkontactsummary.cpp b/kontact/plugins/summary/kcmkontactsummary.cpp
index a2b5003b3..156014ca0 100644
--- a/kontact/plugins/summary/kcmkontactsummary.cpp
+++ b/kontact/plugins/summary/kcmkontactsummary.cpp
@@ -43,16 +43,16 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kontactsummary( TQWidget *tqparent, const char * ) {
- return new KCMKontactSummary( tqparent, "kcmkontactsummary" );
+ KDE_EXPORT KCModule *create_kontactsummary( TQWidget *parent, const char * ) {
+ return new KCMKontactSummary( parent, "kcmkontactsummary" );
}
}
class PluginItem : public TQCheckListItem
{
public:
- PluginItem( KPluginInfo *info, KListView *tqparent )
- : TQCheckListItem( tqparent, TQString(), TQCheckListItem::CheckBox ),
+ PluginItem( KPluginInfo *info, KListView *parent )
+ : TQCheckListItem( parent, TQString(), TQCheckListItem::CheckBox ),
mInfo( info )
{
TQPixmap pm = KGlobal::iconLoader()->loadIcon( mInfo->icon(), KIcon::Small );
@@ -78,8 +78,8 @@ class PluginItem : public TQCheckListItem
KPluginInfo *mInfo;
};
-PluginView::PluginView( TQWidget *tqparent, const char *name )
- : KListView( tqparent, name )
+PluginView::PluginView( TQWidget *parent, const char *name )
+ : KListView( parent, name )
{
addColumn( i18n( "Name" ) );
setAllColumnsShowFocus( true );
@@ -90,8 +90,8 @@ PluginView::~PluginView()
{
}
-KCMKontactSummary::KCMKontactSummary( TQWidget *tqparent, const char *name )
- : KCModule( tqparent, name )
+KCMKontactSummary::KCMKontactSummary( TQWidget *parent, const char *name )
+ : KCModule( parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
diff --git a/kontact/plugins/summary/kcmkontactsummary.h b/kontact/plugins/summary/kcmkontactsummary.h
index 4545f16d3..33c9b8f08 100644
--- a/kontact/plugins/summary/kcmkontactsummary.h
+++ b/kontact/plugins/summary/kcmkontactsummary.h
@@ -36,7 +36,7 @@ class PluginView : public KListView
TQ_OBJECT
public:
- PluginView( TQWidget *tqparent, const char *name = 0 );
+ PluginView( TQWidget *parent, const char *name = 0 );
~PluginView();
};
@@ -46,7 +46,7 @@ class KCMKontactSummary : public KCModule
TQ_OBJECT
public:
- KCMKontactSummary( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMKontactSummary( TQWidget *parent = 0, const char *name = 0 );
virtual void load();
virtual void save();
diff --git a/kontact/plugins/summary/summaryview_part.cpp b/kontact/plugins/summary/summaryview_part.cpp
index f9dbd83e6..d65228cd1 100644
--- a/kontact/plugins/summary/summaryview_part.cpp
+++ b/kontact/plugins/summary/summaryview_part.cpp
@@ -67,8 +67,8 @@ namespace Kontact
SummaryViewPart::SummaryViewPart( Kontact::Core *core, const char*,
const KAboutData *aboutData,
- TQObject *tqparent, const char *name )
- : KParts::ReadOnlyPart( tqparent, name ),
+ TQObject *parent, const char *name )
+ : KParts::ReadOnlyPart( parent, name ),
mCore( core ), mFrame( 0 ), mConfigAction( 0 )
{
setInstance( new KInstance( aboutData ) );
diff --git a/kontact/plugins/summary/summaryview_part.h b/kontact/plugins/summary/summaryview_part.h
index b04b944a0..5a99b947d 100644
--- a/kontact/plugins/summary/summaryview_part.h
+++ b/kontact/plugins/summary/summaryview_part.h
@@ -57,7 +57,7 @@ class SummaryViewPart : public KParts::ReadOnlyPart
public:
SummaryViewPart( Kontact::Core *core, const char *widgetName,
const KAboutData *aboutData,
- TQObject *tqparent = 0, const char *name = 0 );
+ TQObject *parent = 0, const char *name = 0 );
~SummaryViewPart();
public slots:
diff --git a/kontact/plugins/test/test_part.cpp b/kontact/plugins/test/test_part.cpp
index 93311c7d2..3c900a535 100644
--- a/kontact/plugins/test/test_part.cpp
+++ b/kontact/plugins/test/test_part.cpp
@@ -41,8 +41,8 @@
#include <kservice.h>
-TestPart::TestPart(TQObject *tqparent, const char *name) // ## parentWidget
- : KParts::ReadOnlyPart(tqparent, name)
+TestPart::TestPart(TQObject *parent, const char *name) // ## parentWidget
+ : KParts::ReadOnlyPart(parent, name)
{
setInstance( new KInstance("testpart") ); // ## memleak
m_edit = new TQTextEdit;
diff --git a/kontact/plugins/test/test_part.h b/kontact/plugins/test/test_part.h
index 7f14aed27..1be87ddea 100644
--- a/kontact/plugins/test/test_part.h
+++ b/kontact/plugins/test/test_part.h
@@ -38,7 +38,7 @@ class TestPart : public KParts::ReadOnlyPart
public:
- TestPart(TQObject *tqparent=0, const char *name=0);
+ TestPart(TQObject *parent=0, const char *name=0);
~TestPart();
protected:
diff --git a/kontact/plugins/weather/summarywidget.cpp b/kontact/plugins/weather/summarywidget.cpp
index 611a7c1c6..bf4d452ad 100644
--- a/kontact/plugins/weather/summarywidget.cpp
+++ b/kontact/plugins/weather/summarywidget.cpp
@@ -38,8 +38,8 @@
#include "summarywidget.h"
-SummaryWidget::SummaryWidget( TQWidget *tqparent, const char *name )
- : Kontact::Summary( tqparent, name ),
+SummaryWidget::SummaryWidget( TQWidget *parent, const char *name )
+ : Kontact::Summary( parent, name ),
DCOPObject( "WeatherSummaryWidget" ), mProc( 0 )
{
mLayout = new TQVBoxLayout( this, 3, 3 );
diff --git a/kontact/plugins/weather/summarywidget.h b/kontact/plugins/weather/summarywidget.h
index be1c5b9cf..b47351511 100644
--- a/kontact/plugins/weather/summarywidget.h
+++ b/kontact/plugins/weather/summarywidget.h
@@ -90,7 +90,7 @@ class SummaryWidget : public Kontact::Summary, public DCOPObject
// TQ_OBJECT
K_DCOP
public:
- SummaryWidget( TQWidget *tqparent, const char *name = 0 );
+ SummaryWidget( TQWidget *parent, const char *name = 0 );
TQStringList configModules() const;