summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-07-13 18:18:37 (GMT)
committerMateusz Piekos <mateuszpiekos@gmail.com>2012-07-13 18:18:37 (GMT)
commit0ba890e7e8c7e09c1257a7c3b1018f396e6896d1 (patch)
tree13dc4658023e89d48d4e7ae1854f70e827bf9cf6 /Swift/QtUI/Whiteboard/QtWhiteboardWindow.h
parent4dc0788b78da3fe5a9daed5ab4593ba6423600ec (diff)
downloadswift-contrib-0ba890e7e8c7e09c1257a7c3b1018f396e6896d1.zip
swift-contrib-0ba890e7e8c7e09c1257a7c3b1018f396e6896d1.tar.bz2
Integrated WhiteboardClient and WhiteboardServer into rest of the code
Diffstat (limited to 'Swift/QtUI/Whiteboard/QtWhiteboardWindow.h')
-rw-r--r--Swift/QtUI/Whiteboard/QtWhiteboardWindow.h4
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_;
};
}