2016-02-09 16:05:02 +01:00
|
|
|
#ifndef ISERVICE_H
|
|
|
|
|
#define ISERVICE_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
|
|
#include "core_global.h"
|
|
|
|
|
|
|
|
|
|
class CORESHARED_EXPORT IService : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit IService(QObject *parent = 0);
|
|
|
|
|
virtual ~IService();
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void dbError(QString errMsg);
|
2016-02-13 21:41:05 +01:00
|
|
|
void dbErrorRead(QString errMsg);
|
|
|
|
|
void dbErrorInsert(QString errMsg);
|
|
|
|
|
void dbErrorUpdate(QString errMsg);
|
|
|
|
|
void dbErrorDelete(QString errMsg);
|
2016-02-09 16:05:02 +01:00
|
|
|
void dataChanged();
|
2016-02-13 21:41:05 +01:00
|
|
|
void updateDenied();
|
|
|
|
|
void readDenied();
|
2016-02-09 16:05:02 +01:00
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // ISERVICE_H
|