summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-03-24 09:53:37 (GMT)
committerSwift Review <review@swift.im>2014-04-02 11:45:22 (GMT)
commit1a35178bcad7c30e50a19e4017d021fb0485ccf0 (patch)
tree3d52cee147d6c3f70866a1b5a4c4ae942bb3d48b /Swift/QtUI/UserSearch/QtSuggestingJIDInput.h
parentc9275affd040ee1ca7c1d599b28df3b363bef888 (diff)
downloadswift-1a35178bcad7c30e50a19e4017d021fb0485ccf0.zip
swift-1a35178bcad7c30e50a19e4017d021fb0485ccf0.tar.bz2
Automatically moving user into the chat list when you select from the population drop-down.
Change-Id: I69b44e0e1dda2fa513d2d867ed10e5a8046ff0e9
Diffstat (limited to 'Swift/QtUI/UserSearch/QtSuggestingJIDInput.h')
-rw-r--r--Swift/QtUI/UserSearch/QtSuggestingJIDInput.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/UserSearch/QtSuggestingJIDInput.h b/Swift/QtUI/UserSearch/QtSuggestingJIDInput.h
index 673621c..9ec0512 100644
--- a/Swift/QtUI/UserSearch/QtSuggestingJIDInput.h
+++ b/Swift/QtUI/UserSearch/QtSuggestingJIDInput.h
@@ -8,7 +8,7 @@
#include <QLineEdit>
#include <QTreeView>
-
+#include <Swiften/Base/boost_bsignals.h>
#include <Swift/Controllers/Contact.h>
namespace Swift {
@@ -27,6 +27,8 @@ class QtSuggestingJIDInput : public QLineEdit {
void setSuggestions(const std::vector<Contact>& suggestions);
+ boost::signal<void (const JID&)> onUserSelected;
+
signals:
void editingDone();