diff options
Diffstat (limited to 'src/server/connectionframe/connectionframe.h')
-rw-r--r-- | src/server/connectionframe/connectionframe.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/connectionframe/connectionframe.h b/src/server/connectionframe/connectionframe.h index 72f57f3..4558406 100644 --- a/src/server/connectionframe/connectionframe.h +++ b/src/server/connectionframe/connectionframe.h @@ -38,6 +38,7 @@ private: int _timerId, _timerCounter; bool _isSelected; bool _isTutor; + bool _isFromRoomplan; static const int _startDragDistance = 40; @@ -50,7 +51,7 @@ public: static bool paintDisabled; - ConnectionFrame(MainWindow* main, QWidget* parent); + ConnectionFrame(MainWindow* main, QWidget* parent, bool fromRoomplan = false); virtual ~ConnectionFrame(); const inline QPoint getGridPosition() const { return _gridPosition; } @@ -68,6 +69,7 @@ public: Client* client() const { return _client; } inline bool isTutor() { return _isTutor; } + inline bool isFromRoomplan() { return _isFromRoomplan; } void setTutor(bool b); protected: |