Diffstat (limited to 'pluginqtopiakabc/qtopiaaddressbookplugin.h') (more/less context) (ignore 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 @@ | |||
1 | #ifndef QTOPIA_ADDRESS_BOOK_PLUGIN_H | ||
2 | #define QTOPIA_ADDRESS_BOOK_PLUGIN_H | ||
3 | #include <qpe/pim/addressbookaccess.h> | ||
4 | #include <kabc/koaddressbookinterface.h> | ||
5 | #include <kabc/addressee.h> | ||
6 | |||
7 | |||
8 | class QtopiaAddressBookPlugin : public KOAddressBookInterface { | ||
9 | |||
10 | public: | ||
11 | QtopiaAddressBookPlugin(); | ||
12 | virtual ~QtopiaAddressBookPlugin(); | ||
13 | QString name(); | ||
14 | KABC::Addressee::List getAddressees(); | ||
15 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | ||
16 | Q_REFCOUNT | ||
17 | |||
18 | protected: | ||
19 | ulong ref; | ||
20 | private: | ||
21 | AddressBookAccess *access; | ||
22 | }; | ||
23 | #endif | ||
24 | |||