diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-05-23 14:53:15 (GMT) |
---|---|---|
committer | Vlad Voicu <vladvoic@gmail.com> | 2011-05-23 20:01:27 (GMT) |
commit | 1fe7e5991c8d1601874f47d9d7038eafb568f6f2 (patch) | |
tree | a126ee0f493efdf18c258e29c9f4a97189831cf8 /Swift/QtUI/Roster | |
parent | 8fe56244a23cd13ba9bafc439b1e502dfd3f82df (diff) | |
download | swift-contrib-1fe7e5991c8d1601874f47d9d7038eafb568f6f2.zip swift-contrib-1fe7e5991c8d1601874f47d9d7038eafb568f6f2.tar.bz2 |
added controllers for the History Window
Diffstat (limited to 'Swift/QtUI/Roster')
-rw-r--r-- | Swift/QtUI/Roster/QtTreeWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidget.cpp b/Swift/QtUI/Roster/QtTreeWidget.cpp index dcf5bfc..aeaca1a 100644 --- a/Swift/QtUI/Roster/QtTreeWidget.cpp +++ b/Swift/QtUI/Roster/QtTreeWidget.cpp @@ -17,6 +17,7 @@ #include "Swift/Controllers/UIEvents/UIEventStream.h" #include "Swift/Controllers/UIEvents/RequestChatUIEvent.h" #include "Swift/Controllers/UIEvents/RequestContactEditorUIEvent.h" +#include "Swift/Controllers/UIEvents/RequestViewHistoryUIEvent.h" #include "Swift/Controllers/UIEvents/RemoveRosterItemUIEvent.h" #include "Swift/Controllers/UIEvents/RenameGroupUIEvent.h" #include "QtSwiftUtil.h" @@ -154,7 +155,7 @@ void QtTreeWidget::contextMenuEvent(QContextMenuEvent* event) { } } else if (result == viewHistory) { - //TODO Handle history request + eventStream_->send(boost::make_shared<RequestViewHistoryUIEvent>(contact->getJID())); } } else if (GroupRosterItem* group = dynamic_cast<GroupRosterItem*>(item)) { |