author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (side-by-side diff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /pluginqtopiakabc/qtopiaaddressbookplugin.h | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
Diffstat (limited to 'pluginqtopiakabc/qtopiaaddressbookplugin.h') (more/less context) (show whitespace changes)
-rw-r--r-- | pluginqtopiakabc/qtopiaaddressbookplugin.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pluginqtopiakabc/qtopiaaddressbookplugin.h b/pluginqtopiakabc/qtopiaaddressbookplugin.h new file mode 100644 index 0000000..d197840 --- a/dev/null +++ b/pluginqtopiakabc/qtopiaaddressbookplugin.h @@ -0,0 +1,24 @@ +#ifndef QTOPIA_ADDRESS_BOOK_PLUGIN_H +#define QTOPIA_ADDRESS_BOOK_PLUGIN_H +#include <qpe/pim/addressbookaccess.h> +#include <kabc/koaddressbookinterface.h> +#include <kabc/addressee.h> + + +class QtopiaAddressBookPlugin : public KOAddressBookInterface { + + public: + QtopiaAddressBookPlugin(); + virtual ~QtopiaAddressBookPlugin(); + QString name(); + KABC::Addressee::List getAddressees(); + QRESULT queryInterface( const QUuid&, QUnknownInterface** ); + Q_REFCOUNT + + protected: + ulong ref; + private: + AddressBookAccess *access; +}; +#endif + |