diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-04-05 12:48:27 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-04-05 12:48:27 (GMT) |
commit | c88b7c5da8dde6c4f7bdd85743378ec46f3a30fc (patch) | |
tree | 56b4923b1bd0e1a2264531d207cfca1f09318a57 /Swift/QtUI/Roster/QtTreeWidgetItem.h | |
parent | 559ab08f0a214f57cc84887eb65128519d1dc7f5 (diff) | |
download | swift-contrib-c88b7c5da8dde6c4f7bdd85743378ec46f3a30fc.zip swift-contrib-c88b7c5da8dde6c4f7bdd85743378ec46f3a30fc.tar.bz2 |
Merged roster status types for sorting in the same way as the status icons.
Resolves: #270
Diffstat (limited to 'Swift/QtUI/Roster/QtTreeWidgetItem.h')
-rw-r--r-- | Swift/QtUI/Roster/QtTreeWidgetItem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidgetItem.h b/Swift/QtUI/Roster/QtTreeWidgetItem.h index 4f4e28f..00b7d9d 100644 --- a/Swift/QtUI/Roster/QtTreeWidgetItem.h +++ b/Swift/QtUI/Roster/QtTreeWidgetItem.h @@ -53,6 +53,7 @@ class QtTreeWidgetItem : public QObject, public TreeWidgetItem { const QString& getName() const {return displayName_;}; const QString& getLowerName() const {return displayNameLower_;}; StatusShow::Type getStatusShow() const {return statusShowType_;}; + StatusShow::Type getStatusShowMerged() const {return mergedShowType_;}; QWidget* getCollapsedRosterWidget(); QWidget* getExpandedRosterWidget(); @@ -76,6 +77,7 @@ class QtTreeWidgetItem : public QObject, public TreeWidgetItem { bool shown_; bool expanded_; StatusShow::Type statusShowType_; + StatusShow::Type mergedShowType_; }; bool itemLessThan(QtTreeWidgetItem* left, QtTreeWidgetItem* right); |