diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kontact/interfaces/plugin.cpp | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kontact/interfaces/plugin.cpp')
-rw-r--r-- | kontact/interfaces/plugin.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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; } |