2018-11-04 16:11:55 +03:00
|
|
|
#ifndef DIFF_H
|
|
|
|
#define DIFF_H
|
|
|
|
|
|
|
|
#include <QObject>
|
2019-07-28 14:39:40 +03:00
|
|
|
#include "client_global.h"
|
2018-11-04 16:11:55 +03:00
|
|
|
|
2019-07-28 14:39:40 +03:00
|
|
|
class CLIENTSHARED_EXPORT Diff
|
2018-11-04 16:11:55 +03:00
|
|
|
{
|
|
|
|
Q_GADGET
|
|
|
|
private:
|
|
|
|
QList<int> removeIds;
|
|
|
|
QList<int> addedIds;
|
|
|
|
public:
|
|
|
|
explicit Diff();
|
|
|
|
|
|
|
|
Q_INVOKABLE QList<int> getRemoveIds() const;
|
|
|
|
void setRemoveIds(const QList<int> &value);
|
|
|
|
Q_INVOKABLE QList<int> getAddedIds() const;
|
|
|
|
void setAddedIds(const QList<int> &value);
|
|
|
|
};
|
|
|
|
|
|
|
|
Q_DECLARE_METATYPE(Diff)
|
|
|
|
|
|
|
|
#endif // DIFF_H
|