summaryrefslogtreecommitdiffabout
path: root/pluginopiekabc/opieaddressbook.cpp
Side-by-side diff
Diffstat (limited to 'pluginopiekabc/opieaddressbook.cpp') (more/less context) (show 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