diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-06-20 22:08:20 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-06-20 22:08:20 (GMT) |
commit | 9695b3f8343a04e71fea697fc8c280cdafe85465 (patch) | |
tree | ac76b5de06621c8733e629cd6874eac376fd81ce /Swift/QtUI/QtTabbable.h | |
parent | dfea757fd085ca9386b96db58c5d2bcd6173a917 (diff) | |
download | swift-contrib-48c42652b22dc23112da35fcd00a8de767aef553.zip swift-contrib-48c42652b22dc23112da35fcd00a8de767aef553.tar.bz2 |
Show total unread count in tab title.swift-1.0beta4
Resolves: #448
Diffstat (limited to 'Swift/QtUI/QtTabbable.h')
-rw-r--r-- | Swift/QtUI/QtTabbable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtTabbable.h b/Swift/QtUI/QtTabbable.h index dd87142..9309841 100644 --- a/Swift/QtUI/QtTabbable.h +++ b/Swift/QtUI/QtTabbable.h @@ -17,11 +17,13 @@ namespace Swift { ~QtTabbable(); bool isWidgetSelected(); virtual AlertType getWidgetAlertState() {return NoActivity;}; + virtual int getCount() {return 0;} protected: QtTabbable() : QWidget() {}; signals: void titleUpdated(); + void countUpdated(); void windowClosing(); void windowOpening(); void wantsToActivate(); |