summaryrefslogtreecommitdiffstats
path: root/kontact
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:22:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:22:15 -0600
commit5fc6f26e12b596addd235f87320c31761bd5a84d (patch)
tree0a1ff964c23fce07fc088017df4ad537d57e62e5 /kontact
parent12c8a23fe75817cb4bfcd604c1863266dd75e840 (diff)
downloadtdepim-5fc6f26e12b596addd235f87320c31761bd5a84d.tar.gz
tdepim-5fc6f26e12b596addd235f87320c31761bd5a84d.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'kontact')
-rw-r--r--kontact/interfaces/plugin.cpp4
-rw-r--r--kontact/interfaces/plugin.h4
-rw-r--r--kontact/plugins/akregator/akregator_plugin.h2
-rw-r--r--kontact/plugins/kaddressbook/kaddressbook_plugin.h2
-rw-r--r--kontact/plugins/karm/karm_plugin.h2
-rw-r--r--kontact/plugins/kitchensync/kitchensync_plugin.h2
-rw-r--r--kontact/plugins/kmail/kcmkmailsummary.cpp4
-rw-r--r--kontact/plugins/knotes/knotes_part.cpp2
-rw-r--r--kontact/plugins/knotes/knotes_part_p.h2
-rw-r--r--kontact/plugins/knotes/knotes_plugin.cpp6
-rw-r--r--kontact/plugins/knotes/knotes_plugin.h4
-rw-r--r--kontact/plugins/korganizer/kcmkorgsummary.cpp4
-rw-r--r--kontact/plugins/kpilot/kpilot_plugin.cpp6
-rw-r--r--kontact/plugins/kpilot/kpilot_plugin.h4
-rw-r--r--kontact/plugins/newsticker/kcmkontactknt.cpp6
-rw-r--r--kontact/plugins/newsticker/kcmkontactknt.h4
-rw-r--r--kontact/plugins/specialdates/kcmsdsummary.cpp6
-rw-r--r--kontact/plugins/specialdates/kcmsdsummary.h4
-rw-r--r--kontact/plugins/specialdates/specialdates_plugin.cpp6
-rw-r--r--kontact/plugins/specialdates/specialdates_plugin.h4
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.cpp4
-rw-r--r--kontact/plugins/summary/summaryview_part.cpp4
-rw-r--r--kontact/plugins/summary/summaryview_part.h2
-rw-r--r--kontact/plugins/summary/summaryview_plugin.cpp6
-rw-r--r--kontact/plugins/summary/summaryview_plugin.h4
-rw-r--r--kontact/plugins/test/test_part.cpp2
-rw-r--r--kontact/plugins/weather/weather_plugin.cpp6
-rw-r--r--kontact/plugins/weather/weather_plugin.h4
-rw-r--r--kontact/src/aboutdialog.cpp4
-rw-r--r--kontact/src/aboutdialog.h6
-rw-r--r--kontact/src/kcmkontact.cpp6
-rw-r--r--kontact/src/kcmkontact.h4
-rw-r--r--kontact/src/main.cpp6
33 files changed, 68 insertions, 68 deletions
diff --git a/kontact/interfaces/plugin.cpp b/kontact/interfaces/plugin.cpp
index 14248250e..bedd52c3a 100644
--- a/kontact/interfaces/plugin.cpp
+++ b/kontact/interfaces/plugin.cpp
@@ -126,11 +126,11 @@ KParts::ReadOnlyPart *Plugin::loadPart()
return core()->createPart( d->partLibraryName );
}
-const KAboutData *Plugin::aboutData()
+const TDEAboutData *Plugin::aboutData()
{
kdDebug(5601) << "Plugin::aboutData(): libname: " << d->partLibraryName << endl;
- const KInstance *instance =
+ const TDEInstance *instance =
KParts::Factory::partInstanceFromLibrary( d->partLibraryName );
if ( instance ) {
diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h
index 09bc25c7f..6e0abdfb8 100644
--- a/kontact/interfaces/plugin.h
+++ b/kontact/interfaces/plugin.h
@@ -32,7 +32,7 @@
class TQStringList;
class DCOPClient;
class DCOPObject;
-class KAboutData;
+class TDEAboutData;
class KAction;
class KConfig;
class TQWidget;
@@ -142,7 +142,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
Reimplement this method if you want to add your credits to the Kontact
about dialog.
*/
- virtual const KAboutData *aboutData();
+ virtual const TDEAboutData *aboutData();
/**
You can use this method if you need to access the current part. You can be
diff --git a/kontact/plugins/akregator/akregator_plugin.h b/kontact/plugins/akregator/akregator_plugin.h
index 27b6b417f..bbc0063bc 100644
--- a/kontact/plugins/akregator/akregator_plugin.h
+++ b/kontact/plugins/akregator/akregator_plugin.h
@@ -33,7 +33,7 @@
#include "akregator_partiface_stub.h"
#include <uniqueapphandler.h>
-class KAboutData;
+class TDEAboutData;
namespace Akregator {
diff --git a/kontact/plugins/kaddressbook/kaddressbook_plugin.h b/kontact/plugins/kaddressbook/kaddressbook_plugin.h
index 44f3441fa..3295dc146 100644
--- a/kontact/plugins/kaddressbook/kaddressbook_plugin.h
+++ b/kontact/plugins/kaddressbook/kaddressbook_plugin.h
@@ -32,7 +32,7 @@
#include "plugin.h"
#include <uniqueapphandler.h>
-class KAboutData;
+class TDEAboutData;
class KABUniqueAppHandler : public Kontact::UniqueAppHandler
{
diff --git a/kontact/plugins/karm/karm_plugin.h b/kontact/plugins/karm/karm_plugin.h
index 7b3d10776..9eb867d2e 100644
--- a/kontact/plugins/karm/karm_plugin.h
+++ b/kontact/plugins/karm/karm_plugin.h
@@ -32,7 +32,7 @@
#include "plugin.h"
-class KAboutData;
+class TDEAboutData;
class KarmPlugin : public Kontact::Plugin
{
diff --git a/kontact/plugins/kitchensync/kitchensync_plugin.h b/kontact/plugins/kitchensync/kitchensync_plugin.h
index a391436a0..dcd867aeb 100644
--- a/kontact/plugins/kitchensync/kitchensync_plugin.h
+++ b/kontact/plugins/kitchensync/kitchensync_plugin.h
@@ -30,7 +30,7 @@
#include "plugin.h"
-class KAboutData;
+class TDEAboutData;
class KitchenSyncPlugin : public Kontact::Plugin
{
diff --git a/kontact/plugins/kmail/kcmkmailsummary.cpp b/kontact/plugins/kmail/kcmkmailsummary.cpp
index 7409fcd1b..c9d467774 100644
--- a/kontact/plugins/kmail/kcmkmailsummary.cpp
+++ b/kontact/plugins/kmail/kcmkmailsummary.cpp
@@ -59,9 +59,9 @@ KCMKMailSummary::KCMKMailSummary( TQWidget *parent, const char *name )
load();
- KAboutData *about = new KAboutData( I18N_NOOP( "kcmkmailsummary" ),
+ TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkmailsummary" ),
I18N_NOOP( "Mail Summary Configuration Dialog" ),
- 0, 0, KAboutData::License_GPL,
+ 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp
index 0e5d806ba..0752ade06 100644
--- a/kontact/plugins/knotes/knotes_part.cpp
+++ b/kontact/plugins/knotes/knotes_part.cpp
@@ -47,7 +47,7 @@ KNotesPart::KNotesPart( TQObject *parent, const char *name )
{
mNoteList.setAutoDelete( true );
- setInstance( new KInstance( "knotes" ) );
+ setInstance( new TDEInstance( "knotes" ) );
// create the actions
new KAction( i18n( "&New" ), "knotes", CTRL+Key_N, this, TQT_SLOT( newNote() ),
diff --git a/kontact/plugins/knotes/knotes_part_p.h b/kontact/plugins/knotes/knotes_part_p.h
index b8a66b968..a9eb11bdb 100644
--- a/kontact/plugins/knotes/knotes_part_p.h
+++ b/kontact/plugins/knotes/knotes_part_p.h
@@ -125,7 +125,7 @@ class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient
// this dialog is modal to prevent one from editing the same note twice in two
// different windows
- setInstance( new KInstance( "knotes" ) ); // TODO: hm, memleak??
+ setInstance( new TDEInstance( "knotes" ) ); // TODO: hm, memleak??
setXMLFile( "knotesui.rc" );
actionCollection()->setWidget( this );
diff --git a/kontact/plugins/knotes/knotes_plugin.cpp b/kontact/plugins/knotes/knotes_plugin.cpp
index 5010bf7d9..2f3f470b8 100644
--- a/kontact/plugins/knotes/knotes_plugin.cpp
+++ b/kontact/plugins/knotes/knotes_plugin.cpp
@@ -64,12 +64,12 @@ Kontact::Summary *KNotesPlugin::createSummaryWidget( TQWidget *parentWidget )
return new KNotesSummaryWidget( this, parentWidget );
}
-const KAboutData *KNotesPlugin::aboutData()
+const TDEAboutData *KNotesPlugin::aboutData()
{
if ( !mAboutData ) {
- mAboutData = new KAboutData( "knotes", I18N_NOOP( "Notes Management" ),
+ mAboutData = new TDEAboutData( "knotes", I18N_NOOP( "Notes Management" ),
"0.5", I18N_NOOP( "Notes Management" ),
- KAboutData::License_GPL_V2,
+ TDEAboutData::License_GPL_V2,
"(c) 2003-2004 The Kontact developers" );
mAboutData->addAuthor( "Michael Brade", "Current Maintainer", "brade@kde.org" );
mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" );
diff --git a/kontact/plugins/knotes/knotes_plugin.h b/kontact/plugins/knotes/knotes_plugin.h
index 12d485404..fe17bad52 100644
--- a/kontact/plugins/knotes/knotes_plugin.h
+++ b/kontact/plugins/knotes/knotes_plugin.h
@@ -42,7 +42,7 @@ class KNotesPlugin : public Kontact::Plugin
int weight() const { return 600; }
- const KAboutData *aboutData();
+ const TDEAboutData *aboutData();
protected:
KParts::ReadOnlyPart* createPart();
@@ -52,7 +52,7 @@ class KNotesPlugin : public Kontact::Plugin
void slotSyncNotes();
private:
- KAboutData *mAboutData;
+ TDEAboutData *mAboutData;
};
#endif
diff --git a/kontact/plugins/korganizer/kcmkorgsummary.cpp b/kontact/plugins/korganizer/kcmkorgsummary.cpp
index 170e3195e..48b6d3c8c 100644
--- a/kontact/plugins/korganizer/kcmkorgsummary.cpp
+++ b/kontact/plugins/korganizer/kcmkorgsummary.cpp
@@ -64,9 +64,9 @@ KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name )
load();
- KAboutData *about = new KAboutData( I18N_NOOP( "kcmkorgsummary" ),
+ TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkorgsummary" ),
I18N_NOOP( "Schedule Configuration Dialog" ),
- 0, 0, KAboutData::License_GPL,
+ 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2003 - 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
diff --git a/kontact/plugins/kpilot/kpilot_plugin.cpp b/kontact/plugins/kpilot/kpilot_plugin.cpp
index 7993b0a23..fa3bc1827 100644
--- a/kontact/plugins/kpilot/kpilot_plugin.cpp
+++ b/kontact/plugins/kpilot/kpilot_plugin.cpp
@@ -48,13 +48,13 @@ Kontact::Summary *KPilotPlugin::createSummaryWidget( TQWidget *parentWidget )
return new SummaryWidget( parentWidget );
}
-const KAboutData *KPilotPlugin::aboutData()
+const TDEAboutData *KPilotPlugin::aboutData()
{
if ( !mAboutData ) {
- mAboutData = new KAboutData("kpilotplugin", I18N_NOOP("KPilot Information"),
+ mAboutData = new TDEAboutData("kpilotplugin", I18N_NOOP("KPilot Information"),
KPILOT_VERSION,
I18N_NOOP("KPilot - HotSync software for TDE\n\n"),
- KAboutData::License_GPL, "(c) 2004 Reinhold Kainhofer");
+ TDEAboutData::License_GPL, "(c) 2004 Reinhold Kainhofer");
mAboutData->addAuthor("Reinhold Kainhofer",
I18N_NOOP("Plugin Developer"), "reinhold@kainhofer.com", "http://reinhold.kainhofer.com/Linux/");
mAboutData->addAuthor("Dan Pilone",
diff --git a/kontact/plugins/kpilot/kpilot_plugin.h b/kontact/plugins/kpilot/kpilot_plugin.h
index 5695d2605..66a4d0423 100644
--- a/kontact/plugins/kpilot/kpilot_plugin.h
+++ b/kontact/plugins/kpilot/kpilot_plugin.h
@@ -38,12 +38,12 @@ class KPilotPlugin : public Kontact::Plugin
virtual bool showInSideBar() const { return false; }
// virtual TQStringList configModules() const;
- const KAboutData *aboutData();
+ const TDEAboutData *aboutData();
protected:
virtual KParts::ReadOnlyPart *createPart() { return 0; }
private:
- KAboutData *mAboutData;
+ TDEAboutData *mAboutData;
};
#endif
diff --git a/kontact/plugins/newsticker/kcmkontactknt.cpp b/kontact/plugins/newsticker/kcmkontactknt.cpp
index cfcbc43d2..0a059da3b 100644
--- a/kontact/plugins/newsticker/kcmkontactknt.cpp
+++ b/kontact/plugins/newsticker/kcmkontactknt.cpp
@@ -437,11 +437,11 @@ void KCMKontactKNT::defaults()
{
}
-const KAboutData* KCMKontactKNT::aboutData() const
+const TDEAboutData* KCMKontactKNT::aboutData() const
{
- KAboutData *about = new KAboutData( I18N_NOOP( "kcmkontactknt" ),
+ TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkontactknt" ),
I18N_NOOP( "Newsticker Configuration Dialog" ),
- 0, 0, KAboutData::License_GPL,
+ 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2003 - 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
diff --git a/kontact/plugins/newsticker/kcmkontactknt.h b/kontact/plugins/newsticker/kcmkontactknt.h
index b3a56d0ac..0f9c15481 100644
--- a/kontact/plugins/newsticker/kcmkontactknt.h
+++ b/kontact/plugins/newsticker/kcmkontactknt.h
@@ -29,7 +29,7 @@
class TQListViewItem;
class TQSpinxBox;
-class KAboutData;
+class TDEAboutData;
class KListView;
class KPushButton;
@@ -46,7 +46,7 @@ class KCMKontactKNT : public KCModule
virtual void load();
virtual void save();
virtual void defaults();
- virtual const KAboutData* aboutData() const;
+ virtual const TDEAboutData* aboutData() const;
private slots:
void addNews();
diff --git a/kontact/plugins/specialdates/kcmsdsummary.cpp b/kontact/plugins/specialdates/kcmsdsummary.cpp
index 7d7cae936..4ce846d06 100644
--- a/kontact/plugins/specialdates/kcmsdsummary.cpp
+++ b/kontact/plugins/specialdates/kcmsdsummary.cpp
@@ -232,11 +232,11 @@ void KCMSDSummary::defaults()
emit changed( true );
}
-const KAboutData* KCMSDSummary::aboutData() const
+const TDEAboutData* KCMSDSummary::aboutData() const
{
- KAboutData *about = new KAboutData( I18N_NOOP( "kcmsdsummary" ),
+ TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmsdsummary" ),
I18N_NOOP( "Special Dates Configuration Dialog" ),
- 0, 0, KAboutData::License_GPL,
+ 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
diff --git a/kontact/plugins/specialdates/kcmsdsummary.h b/kontact/plugins/specialdates/kcmsdsummary.h
index bdff28b70..9a4e56e51 100644
--- a/kontact/plugins/specialdates/kcmsdsummary.h
+++ b/kontact/plugins/specialdates/kcmsdsummary.h
@@ -31,7 +31,7 @@ class TQButtonGroup;
class TQCheckBox;
class TQSpinBox;
-class KAboutData;
+class TDEAboutData;
class KCMSDSummary : public KCModule
{
@@ -44,7 +44,7 @@ class KCMSDSummary : public KCModule
virtual void load();
virtual void save();
virtual void defaults();
- virtual const KAboutData* aboutData() const;
+ virtual const TDEAboutData* aboutData() const;
private slots:
void modified();
diff --git a/kontact/plugins/specialdates/specialdates_plugin.cpp b/kontact/plugins/specialdates/specialdates_plugin.cpp
index c71b9e722..f9d850acc 100644
--- a/kontact/plugins/specialdates/specialdates_plugin.cpp
+++ b/kontact/plugins/specialdates/specialdates_plugin.cpp
@@ -54,14 +54,14 @@ Kontact::Summary *SpecialdatesPlugin::createSummaryWidget( TQWidget *parentWidge
return new SDSummaryWidget( this, parentWidget );
}
-const KAboutData *SpecialdatesPlugin::aboutData()
+const TDEAboutData *SpecialdatesPlugin::aboutData()
{
if ( !mAboutData ) {
- mAboutData = new KAboutData( "specialdates",
+ mAboutData = new TDEAboutData( "specialdates",
I18N_NOOP( "Special Dates Summary" ),
"1.0",
I18N_NOOP( "Kontact Special Dates Summary" ),
- KAboutData::License_LGPL,
+ TDEAboutData::License_LGPL,
I18N_NOOP( "(c) 2004-2005 The KDE PIM Team" ) );
mAboutData->addAuthor( "Allen Winter", "Current Maintainer", "winter@kde.org" );
mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" );
diff --git a/kontact/plugins/specialdates/specialdates_plugin.h b/kontact/plugins/specialdates/specialdates_plugin.h
index f1feb68b3..53c0621e4 100644
--- a/kontact/plugins/specialdates/specialdates_plugin.h
+++ b/kontact/plugins/specialdates/specialdates_plugin.h
@@ -37,7 +37,7 @@ class SpecialdatesPlugin : public Kontact::Plugin
int weight() const { return 310; }
- const KAboutData *aboutData();
+ const TDEAboutData *aboutData();
virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget );
@@ -45,7 +45,7 @@ class SpecialdatesPlugin : public Kontact::Plugin
virtual KParts::ReadOnlyPart *createPart() { return false; }
private:
- KAboutData *mAboutData;
+ TDEAboutData *mAboutData;
};
diff --git a/kontact/plugins/summary/kcmkontactsummary.cpp b/kontact/plugins/summary/kcmkontactsummary.cpp
index 80550802e..360da023d 100644
--- a/kontact/plugins/summary/kcmkontactsummary.cpp
+++ b/kontact/plugins/summary/kcmkontactsummary.cpp
@@ -107,9 +107,9 @@ KCMKontactSummary::KCMKontactSummary( TQWidget *parent, const char *name )
this, TQT_SLOT( itemClicked( TQListViewItem* ) ) );
load();
- KAboutData *about = new KAboutData( I18N_NOOP( "kontactsummary" ),
+ TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kontactsummary" ),
I18N_NOOP( "TDE Kontact Summary" ),
- 0, 0, KAboutData::License_GPL,
+ 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c), 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
diff --git a/kontact/plugins/summary/summaryview_part.cpp b/kontact/plugins/summary/summaryview_part.cpp
index 01c5a7f13..da0c160dd 100644
--- a/kontact/plugins/summary/summaryview_part.cpp
+++ b/kontact/plugins/summary/summaryview_part.cpp
@@ -66,12 +66,12 @@ namespace Kontact
}
SummaryViewPart::SummaryViewPart( Kontact::Core *core, const char*,
- const KAboutData *aboutData,
+ const TDEAboutData *aboutData,
TQObject *parent, const char *name )
: KParts::ReadOnlyPart( parent, name ),
mCore( core ), mFrame( 0 ), mConfigAction( 0 )
{
- setInstance( new KInstance( aboutData ) );
+ setInstance( new TDEInstance( aboutData ) );
loadLayout();
diff --git a/kontact/plugins/summary/summaryview_part.h b/kontact/plugins/summary/summaryview_part.h
index 9a7b605c7..5b57d45cd 100644
--- a/kontact/plugins/summary/summaryview_part.h
+++ b/kontact/plugins/summary/summaryview_part.h
@@ -56,7 +56,7 @@ class SummaryViewPart : public KParts::ReadOnlyPart
public:
SummaryViewPart( Kontact::Core *core, const char *widgetName,
- const KAboutData *aboutData,
+ const TDEAboutData *aboutData,
TQObject *parent = 0, const char *name = 0 );
~SummaryViewPart();
diff --git a/kontact/plugins/summary/summaryview_plugin.cpp b/kontact/plugins/summary/summaryview_plugin.cpp
index 74b8e3d76..8f4b7065d 100644
--- a/kontact/plugins/summary/summaryview_plugin.cpp
+++ b/kontact/plugins/summary/summaryview_plugin.cpp
@@ -106,13 +106,13 @@ KParts::ReadOnlyPart *SummaryView::createPart()
return mPart;
}
-const KAboutData *SummaryView::aboutData()
+const TDEAboutData *SummaryView::aboutData()
{
if ( !mAboutData ) {
- mAboutData = new KAboutData( "kontactsummary", I18N_NOOP("Kontact Summary"),
+ mAboutData = new TDEAboutData( "kontactsummary", I18N_NOOP("Kontact Summary"),
"1.1",
I18N_NOOP("Kontact Summary View"),
- KAboutData::License_LGPL,
+ TDEAboutData::License_LGPL,
I18N_NOOP("(c) 2003 The Kontact developers" ) );
mAboutData->addAuthor( "Sven Lueppken", "", "sven@kde.org" );
mAboutData->addAuthor( "Cornelius Schumacher", "", "schumacher@kde.org" );
diff --git a/kontact/plugins/summary/summaryview_plugin.h b/kontact/plugins/summary/summaryview_plugin.h
index 1be750fe1..450980dc1 100644
--- a/kontact/plugins/summary/summaryview_plugin.h
+++ b/kontact/plugins/summary/summaryview_plugin.h
@@ -43,7 +43,7 @@ class SummaryView : public Kontact::Plugin
int weight() const { return 100; }
- const KAboutData *aboutData();
+ const TDEAboutData *aboutData();
protected:
virtual KParts::ReadOnlyPart* createPart();
@@ -55,7 +55,7 @@ class SummaryView : public Kontact::Plugin
void fillSyncActionSubEntries();
private:
- KAboutData *mAboutData;
+ TDEAboutData *mAboutData;
SummaryViewPart *mPart;
KSelectAction *mSyncAction;
};
diff --git a/kontact/plugins/test/test_part.cpp b/kontact/plugins/test/test_part.cpp
index 3c900a535..b8e6f70cb 100644
--- a/kontact/plugins/test/test_part.cpp
+++ b/kontact/plugins/test/test_part.cpp
@@ -44,7 +44,7 @@
TestPart::TestPart(TQObject *parent, const char *name) // ## parentWidget
: KParts::ReadOnlyPart(parent, name)
{
- setInstance( new KInstance("testpart") ); // ## memleak
+ setInstance( new TDEInstance("testpart") ); // ## memleak
m_edit = new TQTextEdit;
setWidget(m_edit);
setXMLFile("testpartui.rc");
diff --git a/kontact/plugins/weather/weather_plugin.cpp b/kontact/plugins/weather/weather_plugin.cpp
index 564465bed..af4f9f5c7 100644
--- a/kontact/plugins/weather/weather_plugin.cpp
+++ b/kontact/plugins/weather/weather_plugin.cpp
@@ -42,13 +42,13 @@ Kontact::Summary *WeatherPlugin::createSummaryWidget( TQWidget *parentWidget )
return new SummaryWidget( parentWidget );
}
-const KAboutData *WeatherPlugin::aboutData()
+const TDEAboutData *WeatherPlugin::aboutData()
{
if ( !mAboutData ) {
- mAboutData = new KAboutData( "weatherplugin", I18N_NOOP( "Weather Information" ),
+ mAboutData = new TDEAboutData( "weatherplugin", I18N_NOOP( "Weather Information" ),
"0.1",
I18N_NOOP( "Weather Information" ),
- KAboutData::License_GPL_V2,
+ TDEAboutData::License_GPL_V2,
"(c) 2003 The Kontact developers" );
mAboutData->addAuthor( "Ian Reinhart Geiser", "", "geiseri@kde.org" );
mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" );
diff --git a/kontact/plugins/weather/weather_plugin.h b/kontact/plugins/weather/weather_plugin.h
index 4ab019645..ecf2a6fee 100644
--- a/kontact/plugins/weather/weather_plugin.h
+++ b/kontact/plugins/weather/weather_plugin.h
@@ -33,12 +33,12 @@ class WeatherPlugin : public Kontact::Plugin
virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget );
- const KAboutData *aboutData();
+ const TDEAboutData *aboutData();
protected:
virtual KParts::ReadOnlyPart *createPart() { return 0; }
private:
- KAboutData *mAboutData;
+ TDEAboutData *mAboutData;
};
#endif
diff --git a/kontact/src/aboutdialog.cpp b/kontact/src/aboutdialog.cpp
index 8f6be2b04..ae0d09658 100644
--- a/kontact/src/aboutdialog.cpp
+++ b/kontact/src/aboutdialog.cpp
@@ -63,7 +63,7 @@ void AboutDialog::addAboutPlugin( Kontact::Plugin *plugin )
}
void AboutDialog::addAboutData( const TQString &title, const TQString &icon,
- const KAboutData *about )
+ const TDEAboutData *about )
{
TQPixmap pixmap = KGlobal::iconLoader()->loadIcon( icon,
KIcon::Desktop, 48 );
@@ -155,7 +155,7 @@ TQString AboutDialog::formatPerson( const TQString &name, const TQString &email
return text;
}
-void AboutDialog::addLicenseText( const KAboutData *about )
+void AboutDialog::addLicenseText( const TDEAboutData *about )
{
if ( !about || about->license().isEmpty() )
return;
diff --git a/kontact/src/aboutdialog.h b/kontact/src/aboutdialog.h
index c2d29a5ab..f407f46a6 100644
--- a/kontact/src/aboutdialog.h
+++ b/kontact/src/aboutdialog.h
@@ -25,7 +25,7 @@
#define KONTACT_ABOUTDIALOG_H
#include <kdialogbase.h>
-class KAboutData;
+class TDEAboutData;
namespace Kontact {
class Core;
@@ -43,9 +43,9 @@ class AboutDialog : public KDialogBase
void addAboutPlugin( Kontact::Plugin *plugin );
void addAboutData( const TQString &title, const TQString &icon,
- const KAboutData *about );
+ const TDEAboutData *about );
- void addLicenseText( const KAboutData *about );
+ void addLicenseText( const TDEAboutData *about );
TQString formatPerson( const TQString &name, const TQString &email );
diff --git a/kontact/src/kcmkontact.cpp b/kontact/src/kcmkontact.cpp
index 2f5849bf9..9e46eef2d 100644
--- a/kontact/src/kcmkontact.cpp
+++ b/kontact/src/kcmkontact.cpp
@@ -86,11 +86,11 @@ KcmKontact::KcmKontact( TQWidget *parent, const char *name )
load();
}
-const KAboutData* KcmKontact::aboutData() const
+const TDEAboutData* KcmKontact::aboutData() const
{
- KAboutData *about = new KAboutData( I18N_NOOP( "kontactconfig" ),
+ TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kontactconfig" ),
I18N_NOOP( "TDE Kontact" ),
- 0, 0, KAboutData::License_GPL,
+ 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c), 2003 Cornelius Schumacher" ) );
about->addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
diff --git a/kontact/src/kcmkontact.h b/kontact/src/kcmkontact.h
index 0affd92d3..c15ecf048 100644
--- a/kontact/src/kcmkontact.h
+++ b/kontact/src/kcmkontact.h
@@ -33,7 +33,7 @@ class TQGroupBox;
class TQComboBox;
class TQListViewItem;
-class KAboutData;
+class TDEAboutData;
class KListView;
class KcmKontact : public KPrefsModule
@@ -44,7 +44,7 @@ class KcmKontact : public KPrefsModule
public:
KcmKontact( TQWidget *parent = 0, const char *name = 0 );
- virtual const KAboutData* aboutData() const;
+ virtual const TDEAboutData* aboutData() const;
};
class PluginSelection : public KPrefsWid
diff --git a/kontact/src/main.cpp b/kontact/src/main.cpp
index 54a586226..0fa50b213 100644
--- a/kontact/src/main.cpp
+++ b/kontact/src/main.cpp
@@ -74,7 +74,7 @@ class KontactApp : public KUniqueApplication {
static void listPlugins()
{
- KInstance instance( "kontact" ); // Can't use KontactApp since it's too late for adding cmdline options
+ TDEInstance instance( "kontact" ); // Can't use KontactApp since it's too late for adding cmdline options
KTrader::OfferList offers = KTrader::self()->query(
TQString::fromLatin1( "Kontact/Plugin" ),
TQString( "[X-TDE-KontactPluginVersion] == %1" ).arg( KONTACT_PLUGIN_VERSION ) );
@@ -144,8 +144,8 @@ int KontactApp::newInstance()
int main( int argc, char **argv )
{
- KAboutData about( "kontact", I18N_NOOP( "Kontact" ), version, description,
- KAboutData::License_GPL, I18N_NOOP("(C) 2008-2010 The Trinity Desktop Project\n(C) 2001-2008 The Kontact developers"), 0, "http://trinity.pearsoncomputing.net" );
+ TDEAboutData about( "kontact", I18N_NOOP( "Kontact" ), version, description,
+ TDEAboutData::License_GPL, I18N_NOOP("(C) 2008-2010 The Trinity Desktop Project\n(C) 2001-2008 The Kontact developers"), 0, "http://trinity.pearsoncomputing.net" );
about.addAuthor( "Daniel Molkentin", 0, "molkentin@kde.org" );
about.addAuthor( "Don Sanders", 0, "sanders@kde.org" );
about.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );