diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-06-15 13:47:48 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-06-15 13:47:48 (GMT) |
commit | f3cc4c80787657ea770468915ec716dea2676d22 (patch) | |
tree | c4645d6e1376d7f327de35522d163510d8ed7939 /Swift/QtUI/Whiteboard/QtWhiteboardWindow.h | |
parent | 1dc6b7f7a3d96df848edad85c0d07d99340e3a3e (diff) | |
download | swift-contrib-f3cc4c80787657ea770468915ec716dea2676d22.zip swift-contrib-f3cc4c80787657ea770468915ec716dea2676d22.tar.bz2 |
Moved elements parsing to WhiteboardParser
Diffstat (limited to 'Swift/QtUI/Whiteboard/QtWhiteboardWindow.h')
-rw-r--r-- | Swift/QtUI/Whiteboard/QtWhiteboardWindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h index 5db19e9..fc55495 100644 --- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h +++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h @@ -9,6 +9,7 @@ #include <Swift/Controllers/UIInterfaces/WhiteboardWindow.h> #include <Swiften/Elements/Message.h> #include <Swiften/Whiteboard/WhiteboardSession.h> +#include <Swiften/Whiteboard/Elements/WhiteboardElement.h> #include <QWidget> #include <QGraphicsView> @@ -31,7 +32,6 @@ namespace Swift { Q_OBJECT; public: QtWhiteboardWindow(WhiteboardSession::ref whiteboardSession); - void addItem(const std::string& item); void show(); void setSession(WhiteboardSession::ref session); void activateWindow(); @@ -53,6 +53,7 @@ namespace Swift { private: void handleSessionTerminate(); + void handleWhiteboardElementReceive(const WhiteboardElement::ref element); void closeEvent(QCloseEvent* event); private: |