summaryrefslogtreecommitdiffabout
path: root/pluginopiekabc/opieaddressbookplugin.h
blob: 1ad1c15c55ccb750c668a9c480828fd7aa4ee42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <qwidget.h>
#include <kabc/koaddressbookinterface.h>
#include <kabc/addressee.h>
#include <opie/ocontactaccess.h>

struct OpieAddressBookPlugin : public KOAddressBookInterface {
  
    public:

        OpieAddressBookPlugin::OpieAddressBookPlugin();
        QString name();
        KABC::Addressee::List getAddressees();
        KABC::Addressee::List findByEmail(const QString &email);
        QRESULT queryInterface( const QUuid&, QUnknownInterface** );
        Q_REFCOUNT
    protected:
        OContactAccess *access;
        ulong ref;
};