author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff) | |
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) (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 | |||