forked from blue/squawk
Refactoring finished
This commit is contained in:
parent
2bcee521c5
commit
d14883ad91
14 changed files with 120 additions and 143 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue