diff options
Diffstat (limited to 'Swift/QtUI/Roster/RosterItem.h')
-rw-r--r-- | Swift/QtUI/Roster/RosterItem.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Swift/QtUI/Roster/RosterItem.h b/Swift/QtUI/Roster/RosterItem.h deleted file mode 100644 index e0041d2..0000000 --- a/Swift/QtUI/Roster/RosterItem.h +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once - -#include <QList> -#include <QVariant> -namespace Swift { - class RosterItem : public QObject { - Q_OBJECT - public: - RosterItem(RosterItem* parent); - ~RosterItem(); - void addChild(RosterItem* child); - RosterItem* getParentItem(); - int rowCount(); - int rowOf(RosterItem* item); - int row(); - RosterItem* getItem(int row); - QVariant data(int role); - void setName(QString name); - signals: - void changed(); - private: - QList<RosterItem*> children_; - RosterItem* parent_; - QString name_; - }; - -}
\ No newline at end of file |