summaryrefslogtreecommitdiffabout
path: root/kaddressbook/xxportobject.h
Side-by-side diff
Diffstat (limited to 'kaddressbook/xxportobject.h') (more/less context) (ignore 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
@@ -40,7 +40,7 @@ $Id$
#include <klibloader.h>
-
+class KRES::Factory;
class XXPortObject : public QObject, virtual public KXMLGUIClient
@@ -146,8 +146,13 @@ class XXPortResourceObject : public XXPortObject
One case it can not be used is for example if a needed lib could not be loaded.
*/
virtual bool isAvailable();
+
+ protected:
+ bool _exportContacts( const KABC::AddresseeList &list, const QString& identifier, const QString& fileName );
+ KABC::AddresseeList _importContacts( const QString& identifier, const QString& fileName ) const;
+
protected:
- KABC::Resource* mResource;
+ KRES::Factory* mFactory;
};