1
0
Fork 0
forked from blue/squawk

Refactoring finished

This commit is contained in:
Blue 2019-04-03 21:15:36 +03:00
parent 2bcee521c5
commit d14883ad91
14 changed files with 120 additions and 143 deletions

View file

@ -9,7 +9,8 @@
namespace Models {
class Item {
class Item : public QObject{
Q_OBJECT
public:
enum Type {
account,
@ -22,6 +23,10 @@ class Item {
explicit Item(Type p_type, const QMap<QString, QVariant> &data, Item *parentItem = 0);
~Item();
signals:
void changed(int col);
public:
void appendChild(Item *child);
QString getName() const;
void setName(const QString& name);