summaryrefslogtreecommitdiffstats
path: root/src/server/connectionframe/connectionframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/connectionframe/connectionframe.h')
-rw-r--r--src/server/connectionframe/connectionframe.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/connectionframe/connectionframe.h b/src/server/connectionframe/connectionframe.h
index 5a4e1df..faa1390 100644
--- a/src/server/connectionframe/connectionframe.h
+++ b/src/server/connectionframe/connectionframe.h
@@ -28,6 +28,7 @@ private:
QPoint _clickPoint;
QPoint _previousPosition;
+ QPoint _currentPosition;
Client *_client;
@@ -56,7 +57,11 @@ public:
void setSelection(bool selected);
const inline bool isSelected() const { return _isSelected; }
+ const inline void setCurrentPosition(QPoint position) { _currentPosition = position; }
+ const inline QPoint& getCurrentPosition() const { return _currentPosition; }
+
const QString& computerId() const { return _computerId; }
+ inline void setComputerId(QString computerId) { _computerId = computerId; }
Client* client() const { return _client; }
inline const bool isTutor() const { return _isTutor; }