author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /pluginopiekabc/opieaddressbook.cpp | |
download | kdepimpi-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.cpp | 33 |
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 | |||
7 | using namespace KABC; | ||
8 | |||
9 | OpieAddressBook *StdOpieAddressBook::mSelf = 0; | ||
10 | |||
11 | OpieAddressBook::OpieAddressBook() { | ||
12 | access = new OContactAccess("Addressbook"); | ||
13 | } | ||
14 | |||
15 | OpieAddressBook::~OpieAddressBook() { | ||
16 | } | ||
17 | |||
18 | |||
19 | StdOpieAddressBook::StdOpieAddressBook() { | ||
20 | access = new OContactAccess("Addressbook"); | ||
21 | } | ||
22 | |||
23 | StdOpieAddressBook::~StdOpieAddressBook() { | ||
24 | } | ||
25 | |||
26 | OpieAddressBook *StdOpieAddressBook::self() { | ||
27 | if ( !mSelf ) { | ||
28 | mSelf = new StdOpieAddressBook(); | ||
29 | } | ||
30 | return mSelf; | ||
31 | } | ||
32 | |||
33 | \ No newline at end of file | ||