summaryrefslogtreecommitdiffstats
path: root/kaddressbook/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/interfaces')
-rw-r--r--kaddressbook/interfaces/core.h6
-rw-r--r--kaddressbook/interfaces/xxport.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/interfaces/core.h b/kaddressbook/interfaces/core.h
index c291f208c..3a5baba92 100644
--- a/kaddressbook/interfaces/core.h
+++ b/kaddressbook/interfaces/core.h
@@ -44,7 +44,7 @@ class Resource;
class TQWidget;
-class KActionCollection;
+class TDEActionCollection;
class TDEConfig;
class KURL;
@@ -71,10 +71,10 @@ class KDE_EXPORT Core : public TQObject
virtual TDEConfig *config() const = 0;
/**
- Returns a pointer to the global KActionCollection object. So
+ Returns a pointer to the global TDEActionCollection object. So
other classes can register their actions easily.
*/
- virtual KActionCollection *actionCollection() const = 0;
+ virtual TDEActionCollection *actionCollection() const = 0;
/**
Returns a pointer to the gui client.
diff --git a/kaddressbook/interfaces/xxport.cpp b/kaddressbook/interfaces/xxport.cpp
index 68b883125..a934bb976 100644
--- a/kaddressbook/interfaces/xxport.cpp
+++ b/kaddressbook/interfaces/xxport.cpp
@@ -77,7 +77,7 @@ KABC::AddresseeList XXPort::importContacts( const TQString& ) const
void XXPort::createImportAction( const TQString &label, const TQString &data )
{
TQString id = "file_import_" + identifier() + ( data.isEmpty() ? TQString( "" ) : "_" + data );
- KAction *action = new KAction( label, 0, d->mImportMapper, TQT_SLOT( map() ), actionCollection(), id.latin1() );
+ TDEAction *action = new TDEAction( label, 0, d->mImportMapper, TQT_SLOT( map() ), actionCollection(), id.latin1() );
d->mImportMapper->setMapping( action, ( data.isEmpty() ? TQString( "<empty>" ) : data ) );
@@ -87,7 +87,7 @@ void XXPort::createImportAction( const TQString &label, const TQString &data )
void XXPort::createExportAction( const TQString &label, const TQString &data )
{
TQString id = "file_export_" + identifier() + ( data.isEmpty() ? TQString( "" ) : "_" + data );
- KAction *action = new KAction( label, 0, d->mExportMapper, TQT_SLOT( map() ), actionCollection(), id.latin1() );
+ TDEAction *action = new TDEAction( label, 0, d->mExportMapper, TQT_SLOT( map() ), actionCollection(), id.latin1() );
d->mExportMapper->setMapping( action, ( data.isEmpty() ? TQString( "<empty>" ) : data ) );