summaryrefslogtreecommitdiffabout
path: root/pluginopiekabc/opieaddressbookplugin.h
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (side-by-side diff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /pluginopiekabc/opieaddressbookplugin.h
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
Diffstat (limited to 'pluginopiekabc/opieaddressbookplugin.h') (more/less context) (show whitespace changes)
-rw-r--r--pluginopiekabc/opieaddressbookplugin.h19
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 @@
+#include <qwidget.h>
+#include <kabc/koaddressbookinterface.h>
+#include <kabc/addressee.h>
+#include <opie/ocontactaccess.h>
+
+struct OpieAddressBookPlugin : public KOAddressBookInterface {
+
+ public:
+
+ OpieAddressBookPlugin::OpieAddressBookPlugin();
+ QString name();
+ KABC::Addressee::List getAddressees();
+ KABC::Addressee::List findByEmail(const QString &email);
+ QRESULT queryInterface( const QUuid&, QUnknownInterface** );
+ Q_REFCOUNT
+ protected:
+ OContactAccess *access;
+ ulong ref;
+};