summaryrefslogtreecommitdiffstats
path: root/src/server/connectionframe/connectionframe.h
diff options
context:
space:
mode:
authorBjörn Hagemeister2014-07-21 18:14:09 +0200
committerBjörn Hagemeister2014-07-21 18:14:09 +0200
commitf7da785b78a2412d1d5bdd43836ed8c9656cae81 (patch)
tree0322fa2d2ff2712356643ce521c01b7bebf7b731 /src/server/connectionframe/connectionframe.h
parentMerge branch 'master' of git.openslx.org:pvs2 (diff)
downloadpvs2-f7da785b78a2412d1d5bdd43836ed8c9656cae81.tar.gz
pvs2-f7da785b78a2412d1d5bdd43836ed8c9656cae81.tar.xz
pvs2-f7da785b78a2412d1d5bdd43836ed8c9656cae81.zip
Tried to implement the fixed room settings, but is not working correctly right now.
Problem is, the frames do not appear at setted position because of placeFrameInFreeCell() - call. Also, after updateSessionName(), all frames and clients are currently deleted if SessionName want to be setted manually.
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; }