summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-31 21:13:00 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-06-04 19:34:04 (GMT)
commitecd4309da49ad3186ae829b7c8b50eb78f856249 (patch)
tree35ef94e86b6e631a92d38652bc6b4f1ec618035e /Swift/QtUI/MUCSearch/QtMUCSearchWindow.h
parentfee6af7cc3a8a64fb5d3dbf5e2aaf73a6052ccf1 (diff)
downloadswift-ecd4309da49ad3186ae829b7c8b50eb78f856249.zip
swift-ecd4309da49ad3186ae829b7c8b50eb78f856249.tar.bz2
Add option to autojoin when joining a room.
Resolves: #380
Diffstat (limited to 'Swift/QtUI/MUCSearch/QtMUCSearchWindow.h')
-rw-r--r--Swift/QtUI/MUCSearch/QtMUCSearchWindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h
index 7b556b0..c0a8e72 100644
--- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h
+++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.h
@@ -32,8 +32,10 @@ namespace Swift {
void handleSelected(const QModelIndex& current);
void handleActivated(const QModelIndex& index);
private:
+ void createAutoJoin(const JID& room, boost::optional<String> passedNick);
MUCSearchModel* model_;
MUCSearchDelegate* delegate_;
UIEventStream* eventStream_;
+ String lastSetNick_;
};
}