summaryrefslogtreecommitdiffabout
path: root/pluginopiekabc/opieaddressbook.cpp
Unidiff
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 @@
1#include "opieaddressbook.h"
2#include <qstringlist.h>
3#include <opie/ocontact.h>
4#include <opie/orecordlist.h>
5#include <stdio.h>
6
7using namespace KABC;
8
9OpieAddressBook *StdOpieAddressBook::mSelf = 0;
10
11OpieAddressBook::OpieAddressBook() {
12 access = new OContactAccess("Addressbook");
13}
14
15OpieAddressBook::~OpieAddressBook() {
16}
17
18
19StdOpieAddressBook::StdOpieAddressBook() {
20 access = new OContactAccess("Addressbook");
21}
22
23StdOpieAddressBook::~StdOpieAddressBook() {
24}
25
26OpieAddressBook *StdOpieAddressBook::self() {
27 if ( !mSelf ) {
28 mSelf = new StdOpieAddressBook();
29 }
30 return mSelf;
31}
32
33 \ No newline at end of file