summaryrefslogtreecommitdiffabout
path: root/kaddressbook/xxportobject.h
Unidiff
Diffstat (limited to 'kaddressbook/xxportobject.h') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/xxportobject.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/kaddressbook/xxportobject.h b/kaddressbook/xxportobject.h
index d547855..de39b9f 100644
--- a/kaddressbook/xxportobject.h
+++ b/kaddressbook/xxportobject.h
@@ -37,13 +37,13 @@ $Id$
37#include <kabc/addresseelist.h> 37#include <kabc/addresseelist.h>
38#include <kabc/resource.h> 38#include <kabc/resource.h>
39#include <kxmlguiclient.h> 39#include <kxmlguiclient.h>
40#include <klibloader.h> 40#include <klibloader.h>
41 41
42 42
43 43class KRES::Factory;
44 44
45 45
46class XXPortObject : public QObject, virtual public KXMLGUIClient 46class XXPortObject : public QObject, virtual public KXMLGUIClient
47{ 47{
48 Q_OBJECT 48 Q_OBJECT
49 49
@@ -143,14 +143,19 @@ class XXPortResourceObject : public XXPortObject
143 143
144 /** 144 /**
145 Returns true if the XXPortObject can be used. 145 Returns true if the XXPortObject can be used.
146 One case it can not be used is for example if a needed lib could not be loaded. 146 One case it can not be used is for example if a needed lib could not be loaded.
147 */ 147 */
148 virtual bool isAvailable(); 148 virtual bool isAvailable();
149
150 protected:
151 bool _exportContacts( const KABC::AddresseeList &list, const QString& identifier, const QString& fileName );
152 KABC::AddresseeList _importContacts( const QString& identifier, const QString& fileName ) const;
153
149 protected: 154 protected:
150 KABC::Resource* mResource; 155 KRES::Factory* mFactory;
151}; 156};
152 157
153 158
154 159
155 160
156class XXPortFactory : public KLibFactory 161class XXPortFactory : public KLibFactory