From be52d7d03e57620919b23cb0cbb33ac22d0920e0 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Tue, 03 Aug 2004 20:49:15 +0000 Subject: hopefully last modifications of resource based export/import functionality for opie, qtopia and sharpdtm --- (limited to 'kaddressbook/xxportobject.h') 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 - +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; }; -- cgit v0.9.0.2