summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-03-23 08:25:32 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-03-23 08:25:32 (GMT)
commitfc5c7de3221610446e35b01a47756fa833b526e4 (patch)
tree1212472dfe9e2062df7522e93e883497fc0618ed /Swift/QtUI/EventViewer/EventModel.h
parentc1c973e8afe9826f82cc0bcda6e855aa76eeeabc (diff)
downloadswift-fc5c7de3221610446e35b01a47756fa833b526e4.zip
swift-fc5c7de3221610446e35b01a47756fa833b526e4.tar.bz2
Show EventWindow activity in roster tab.
Resolves: #295
Diffstat (limited to 'Swift/QtUI/EventViewer/EventModel.h')
-rw-r--r--Swift/QtUI/EventViewer/EventModel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/EventViewer/EventModel.h b/Swift/QtUI/EventViewer/EventModel.h
index 7882c6b..660ce61 100644
--- a/Swift/QtUI/EventViewer/EventModel.h
+++ b/Swift/QtUI/EventViewer/EventModel.h
@@ -20,6 +20,7 @@ public:
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
int rowCount(const QModelIndex& parent = QModelIndex()) const;
QtEvent* getItem(int row) const;
+ int getNewEventCount();
private:
QList<QtEvent*> activeEvents_;
QList<QtEvent*> inactiveEvents_;