Diffstat (limited to 'pluginopiekabc/opieaddressbookplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pluginopiekabc/opieaddressbookplugin.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pluginopiekabc/opieaddressbookplugin.h b/pluginopiekabc/opieaddressbookplugin.h new file mode 100644 index 0000000..1ad1c15 --- a/dev/null +++ b/pluginopiekabc/opieaddressbookplugin.h | |||
@@ -0,0 +1,19 @@ | |||
1 | #include <qwidget.h> | ||
2 | #include <kabc/koaddressbookinterface.h> | ||
3 | #include <kabc/addressee.h> | ||
4 | #include <opie/ocontactaccess.h> | ||
5 | |||
6 | struct OpieAddressBookPlugin : public KOAddressBookInterface { | ||
7 | |||
8 | public: | ||
9 | |||
10 | OpieAddressBookPlugin::OpieAddressBookPlugin(); | ||
11 | QString name(); | ||
12 | KABC::Addressee::List getAddressees(); | ||
13 | KABC::Addressee::List findByEmail(const QString &email); | ||
14 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | ||
15 | Q_REFCOUNT | ||
16 | protected: | ||
17 | OContactAccess *access; | ||
18 | ulong ref; | ||
19 | }; | ||