summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-08-29 16:15:27 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-08-29 16:15:27 (GMT)
commit030c2d8a448dbf17808b840df1d0379639867e99 (patch)
treee510f94602c35707a59759d7c27027ef8b957ae8 /Swift/QtUI/Roster/QtTreeWidget.h
parent2ceddd421319cbab2deb89821e81fb1a7bf724ae (diff)
downloadswift-030c2d8a448dbf17808b840df1d0379639867e99.zip
swift-030c2d8a448dbf17808b840df1d0379639867e99.tar.bz2
Show contact count on collapsed roster groups
Diffstat (limited to 'Swift/QtUI/Roster/QtTreeWidget.h')
-rw-r--r--Swift/QtUI/Roster/QtTreeWidget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidget.h b/Swift/QtUI/Roster/QtTreeWidget.h
index 8c76d60..13b6d8e 100644
--- a/Swift/QtUI/Roster/QtTreeWidget.h
+++ b/Swift/QtUI/Roster/QtTreeWidget.h
@@ -22,7 +22,10 @@ class QtTreeWidget : public QTreeView, public TreeWidget {
QtTreeWidgetItem* getRoot();
private slots:
void handleItemActivated(const QModelIndex&);
- void handleItemExpanded(const QModelIndex&, bool expanded);
+ void handleModelItemExpanded(const QModelIndex&, bool expanded);
+ void handleExpanded(const QModelIndex&);
+ void handleCollapsed(const QModelIndex&);
+ void handleDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
private:
void drawBranches(QPainter*, const QRect&, const QModelIndex&) const;
RosterModel* model_;