#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; };