summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-14 22:11:54 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-14 22:11:54 (GMT)
commit1f48a865bc052b12c3a156426bd1ebdd5955c74e (patch)
tree3cf40b78dab6364a4d00f925f66e9a6cbe7b596f /Swift/QtUI/Roster/RosterModel.h
parente10a0c0902b503bbffdc802aa238c8b6ac4fe210 (diff)
downloadswift-1f48a865bc052b12c3a156426bd1ebdd5955c74e.zip
swift-1f48a865bc052b12c3a156426bd1ebdd5955c74e.tar.bz2
Start roster groups expanded.
Resolves: #343
Diffstat (limited to 'Swift/QtUI/Roster/RosterModel.h')
-rw-r--r--Swift/QtUI/Roster/RosterModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/RosterModel.h b/Swift/QtUI/Roster/RosterModel.h
index 17fdd3e..10aeccd 100644
--- a/Swift/QtUI/Roster/RosterModel.h
+++ b/Swift/QtUI/Roster/RosterModel.h
@@ -34,6 +34,8 @@ namespace Swift {
QModelIndex index(RosterItem* item) const;
QModelIndex parent(const QModelIndex& index) const;
int rowCount(const QModelIndex& parent = QModelIndex()) const;
+ signals:
+ void itemExpanded(const QModelIndex& item, bool expanded);
private:
void handleDataChanged(RosterItem* item);
void handleChildrenChanged(GroupRosterItem* item);