summaryrefslogtreecommitdiffstats
path: root/src/server/connectionframe
diff options
context:
space:
mode:
authorManuel Schneider2014-07-21 23:51:08 +0200
committerManuel Schneider2014-07-21 23:51:08 +0200
commitfaccaa924e30d3383a3574fe9166540162337e97 (patch)
tree477994e5da1921e8295e7db667cae7f14a47909e /src/server/connectionframe
parentCorrect indenting by tabs (diff)
parentTried to implement the fixed room settings, but is not working correctly righ... (diff)
downloadpvs2-faccaa924e30d3383a3574fe9166540162337e97.tar.gz
pvs2-faccaa924e30d3383a3574fe9166540162337e97.tar.xz
pvs2-faccaa924e30d3383a3574fe9166540162337e97.zip
Merge branch 'master' of git.openslx.org:pvs2
Diffstat (limited to 'src/server/connectionframe')
-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; }