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/RosterModel.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/RosterModel.h')
-rw-r--r-- | Swift/QtUI/Roster/RosterModel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swift/QtUI/Roster/RosterModel.h b/Swift/QtUI/Roster/RosterModel.h index fbede32..e75bc2f 100644 --- a/Swift/QtUI/Roster/RosterModel.h +++ b/Swift/QtUI/Roster/RosterModel.h @@ -1,6 +1,6 @@ #pragma once -#include "Swift/QtUI/Roster/RosterItem.h" +#include "Swift/QtUI/Roster/QtTreeWidgetItem.h" #include <QAbstractItemModel> #include <QList> @@ -11,7 +11,7 @@ Q_OBJECT public: RosterModel(); ~RosterModel(); - void setRoot(RosterItem* tree); + void setRoot(QtTreeWidgetItem* tree); int columnCount(const QModelIndex& parent = QModelIndex()) const; QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const; @@ -20,7 +20,7 @@ public: private slots: void handleItemChanged(); private: - RosterItem* tree_; + QtTreeWidgetItem* tree_; }; }
\ No newline at end of file |