You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
507 B
C++
34 lines
507 B
C++
#ifndef ADDRESSBOOK_H
|
|
#define ADDRESSBOOK_H
|
|
|
|
#include "addressbook_global.h"
|
|
#include <core.h>
|
|
#include <QObject>
|
|
#include <QtPlugin>
|
|
|
|
|
|
|
|
class ADDRESSBOOKSHARED_EXPORT Addressbook : public QObject, IMetaDataPlugin
|
|
{
|
|
Q_OBJECT
|
|
|
|
Q_PLUGIN_METADATA(IID PluginInterface_iid FILE "addressbook.json")
|
|
Q_INTERFACES(IPlugin)
|
|
|
|
public:
|
|
Addressbook();
|
|
|
|
protected:
|
|
void initServiceUi() Q_DECL_OVERRIDE;
|
|
|
|
|
|
|
|
|
|
// IPlugin interface
|
|
public:
|
|
virtual QIcon pluginIcon();
|
|
|
|
};
|
|
|
|
#endif // ADDRESSBOOK_H
|