summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kontact/interfaces
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kontact/interfaces')
-rw-r--r--kontact/interfaces/core.h2
-rw-r--r--kontact/interfaces/plugin.cpp16
-rw-r--r--kontact/interfaces/plugin.h10
3 files changed, 14 insertions, 14 deletions
diff --git a/kontact/interfaces/core.h b/kontact/interfaces/core.h
index c92aca5d1..65e939b94 100644
--- a/kontact/interfaces/core.h
+++ b/kontact/interfaces/core.h
@@ -28,7 +28,7 @@
#include <tdeparts/mainwindow.h>
#include <tdeparts/part.h>
-class KAction;
+class TDEAction;
namespace Kontact
{
diff --git a/kontact/interfaces/plugin.cpp b/kontact/interfaces/plugin.cpp
index 9d9445e99..ae7efa528 100644
--- a/kontact/interfaces/plugin.cpp
+++ b/kontact/interfaces/plugin.cpp
@@ -40,8 +40,8 @@ class Plugin::Private
public:
Kontact::Core *core;
DCOPClient *dcopClient;
- TQPtrList<KAction> *newActions;
- TQPtrList<KAction> *syncActions;
+ TQPtrList<TDEAction> *newActions;
+ TQPtrList<TDEAction> *syncActions;
TQString identifier;
TQString title;
TQString icon;
@@ -61,8 +61,8 @@ Plugin::Plugin( Kontact::Core *core, TQObject *parent, const char *name )
d->core = core;
d->dcopClient = 0;
- d->newActions = new TQPtrList<KAction>;
- d->syncActions = new TQPtrList<KAction>;
+ d->newActions = new TQPtrList<TDEAction>;
+ d->syncActions = new TQPtrList<TDEAction>;
d->hasPart = true;
d->part = 0;
d->disabled = false;
@@ -173,22 +173,22 @@ DCOPClient* Plugin::dcopClient() const
return d->dcopClient;
}
-void Plugin::insertNewAction( KAction *action )
+void Plugin::insertNewAction( TDEAction *action )
{
d->newActions->append( action );
}
-void Plugin::insertSyncAction( KAction *action )
+void Plugin::insertSyncAction( TDEAction *action )
{
d->syncActions->append( action );
}
-TQPtrList<KAction> *Plugin::newActions() const
+TQPtrList<TDEAction> *Plugin::newActions() const
{
return d->newActions;
}
-TQPtrList<KAction> *Plugin::syncActions() const
+TQPtrList<TDEAction> *Plugin::syncActions() const
{
return d->syncActions;
}
diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h
index 863e75c6d..c4d573abe 100644
--- a/kontact/interfaces/plugin.h
+++ b/kontact/interfaces/plugin.h
@@ -33,7 +33,7 @@ class TQStringList;
class DCOPClient;
class DCOPObject;
class TDEAboutData;
-class KAction;
+class TDEAction;
class TDEConfig;
class TQWidget;
namespace KParts { class ReadOnlyPart; }
@@ -211,22 +211,22 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
/**
Insert "New" action.
*/
- void insertNewAction( KAction *action );
+ void insertNewAction( TDEAction *action );
/**
Insert "Sync" action.
*/
- void insertSyncAction( KAction *action );
+ void insertSyncAction( TDEAction *action );
/**
FIXME: write API doc for Kontact::Plugin::newActions().
*/
- TQPtrList<KAction>* newActions() const;
+ TQPtrList<TDEAction>* newActions() const;
/**
FIXME: write API doc for Kontact::Plugin::syncActions().
*/
- TQPtrList<KAction>* syncActions() const;
+ TQPtrList<TDEAction>* syncActions() const;
/**
Returns a list of action name which shall be hidden in the main toolbar.