Finish lerge refactor of systems
This commit is contained in:
parent
6d742e60db
commit
913d7df56d
36 changed files with 614 additions and 634 deletions
21
src/items/itemloadersource.h
Normal file
21
src/items/itemloadersource.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef ITEMLOADERSOURCE_H
|
||||
#define ITEMLOADERSOURCE_H
|
||||
|
||||
#include <QJsonObject>
|
||||
|
||||
#include "itemsource.h"
|
||||
|
||||
class ItemLoaderSource : public ItemSource
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
QJsonObject json;
|
||||
|
||||
public:
|
||||
explicit ItemLoaderSource(const QJsonObject& json = QJsonObject(), QObject *parent = nullptr);
|
||||
~ItemLoaderSource();
|
||||
void updateJson(const QJsonObject& json);
|
||||
virtual void refresh() override;
|
||||
};
|
||||
|
||||
#endif // ITEMLOADERSOURCE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue