refactoring, save and load to serviceitemmodel

This commit is contained in:
Chris Cochrun 2022-10-16 07:14:18 -05:00
parent 742e9dd3b4
commit ae7911fd51
4 changed files with 160 additions and 5 deletions

View file

@ -90,6 +90,9 @@ public:
Q_INVOKABLE QVariantMap getItem(int index) const;
Q_INVOKABLE QVariantList getItems();
Q_INVOKABLE bool save(QUrl file);
Q_INVOKABLE bool load(QUrl file);
private:
QList<ServiceItem *> m_items;
};