summaryrefslogtreecommitdiffabout
path: root/pluginopiekabc/opieaddressbook.cpp
blob: ff0ef63fbf34d646ca9f72fe96df28cea278d694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
}