diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-31 21:13:00 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-06-04 19:34:04 (GMT) |
commit | ecd4309da49ad3186ae829b7c8b50eb78f856249 (patch) | |
tree | 35ef94e86b6e631a92d38652bc6b4f1ec618035e /Swift/QtUI/MUCSearch/QtMUCSearchWindow.h | |
parent | fee6af7cc3a8a64fb5d3dbf5e2aaf73a6052ccf1 (diff) | |
download | swift-contrib-ecd4309da49ad3186ae829b7c8b50eb78f856249.zip swift-contrib-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.h | 2 |
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_; }; } |