summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-11-12 23:43:20 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-11-12 23:52:53 (GMT)
commit759dfaf9283ed07696a060a5ca92bef2699b1b65 (patch)
tree8e96fe7e60ad6da1e5ac20aae26a3366d4923e44 /Swift/QtUI/QtMainWindow.h
parent040207607ac43f1a03a8b030edb46538a12ca00e (diff)
downloadswift-759dfaf9283ed07696a060a5ca92bef2699b1b65.zip
swift-759dfaf9283ed07696a060a5ca92bef2699b1b65.tar.bz2
Persist toggle show offline.
Resolves: #689 Release-Notes: The toggle state for showing offline contacts will now persist between restarts.
Diffstat (limited to 'Swift/QtUI/QtMainWindow.h')
-rw-r--r--Swift/QtUI/QtMainWindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtMainWindow.h b/Swift/QtUI/QtMainWindow.h
index c92c62a..9e200b1 100644
--- a/Swift/QtUI/QtMainWindow.h
+++ b/Swift/QtUI/QtMainWindow.h
@@ -48,6 +48,7 @@ namespace Swift {
void setRosterModel(Roster* roster);
private slots:
void handleStatusChanged(StatusShow::Type showType, const QString &statusMessage);
+ void handleUIEvent(boost::shared_ptr<UIEvent> event);
void handleShowOfflineToggled(bool);
void handleJoinMUCAction();
void handleSignOutAction();
@@ -59,6 +60,7 @@ namespace Swift {
QtTreeWidget* treeWidget_;
QtRosterHeader* meView_;
QAction* addAction_;
+ QAction* showOfflineAction_;
QtTabWidget* tabs_;
QWidget* contactsTabWidget_;
QWidget* eventsTabWidget_;
@@ -66,6 +68,7 @@ namespace Swift {
QtChatListWindow* chatListWindow_;
UIEventStream* uiEventStream_;
QtRosterContextMenu* contextMenu_;
+ bool lastOfflineState_;
};
}