summaryrefslogtreecommitdiffabout
path: root/pluginopiekabc/opieaddressbook.cpp
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/opieaddressbook.cpp
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
Diffstat (limited to 'pluginopiekabc/opieaddressbook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pluginopiekabc/opieaddressbook.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/pluginopiekabc/opieaddressbook.cpp b/pluginopiekabc/opieaddressbook.cpp
new file mode 100644
index 0000000..ff0ef63
--- a/dev/null
+++ b/pluginopiekabc/opieaddressbook.cpp
@@ -0,0 +1,33 @@
+#include "opieaddressbook.h"
+#include <qstringlist.h>
+#include <opie/ocontact.h>
+#include <opie/orecordlist.h>
+#include <stdio.h>
+
+using namespace KABC;
+
+OpieAddressBook *StdOpieAddressBook::mSelf = 0;
+
+OpieAddressBook::OpieAddressBook() {
+ access = new OContactAccess("Addressbook");
+}
+
+OpieAddressBook::~OpieAddressBook() {
+}
+
+
+StdOpieAddressBook::StdOpieAddressBook() {
+ access = new OContactAccess("Addressbook");
+}
+
+StdOpieAddressBook::~StdOpieAddressBook() {
+}
+
+OpieAddressBook *StdOpieAddressBook::self() {
+ if ( !mSelf ) {
+ mSelf = new StdOpieAddressBook();
+ }
+ return mSelf;
+}
+
+ \ No newline at end of file