diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-07-26 18:05:52 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-07-26 18:05:52 (GMT) |
commit | aeab97f48ee6c260a3e2a21bca7a291ed1af8063 (patch) | |
tree | 4e929b3cd7ea393c9ae756afb32828014e939324 /Swift/QtUI/Roster/RosterItem.h | |
parent | 774fb699f967e05e7d3f46987b501c61c01f6687 (diff) | |
download | swift-contrib-aeab97f48ee6c260a3e2a21bca7a291ed1af8063.zip swift-contrib-aeab97f48ee6c260a3e2a21bca7a291ed1af8063.tar.bz2 |
Removing RosterItem and including in QtTreeWidgetItem.
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 |