diff options
Diffstat (limited to 'Swift/QtUI/Whiteboard/QtWhiteboardWindow.h')
-rw-r--r-- | Swift/QtUI/Whiteboard/QtWhiteboardWindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h index fc55495..fbe98a7 100644 --- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h +++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.h @@ -49,11 +49,12 @@ namespace Swift { void setTextMode(); void setPolygonMode(); void setSelectMode(); - void handleLastItemChanged(QGraphicsItem* item); + void handleLastItemChanged(QGraphicsItem* item, int pos); private: void handleSessionTerminate(); void handleWhiteboardElementReceive(const WhiteboardElement::ref element); + void handleWhiteboardOperationReceive(const WhiteboardOperation::ref operation); void closeEvent(QCloseEvent* event); private: @@ -79,6 +80,7 @@ namespace Swift { QToolButton* polygonButton; QToolButton* selectButton; + std::string lastOpID; WhiteboardSession::ref whiteboardSession_; }; } |