summaryrefslogtreecommitdiffstats
path: root/src/server/net/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/net/client.h')
-rw-r--r--src/server/net/client.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/server/net/client.h b/src/server/net/client.h
index 81f5346..9bbc23f 100644
--- a/src/server/net/client.h
+++ b/src/server/net/client.h
@@ -30,19 +30,19 @@ public:
~Client();
// Getters
- inline const bool isAuthed() const { return _authed == 2; }
+ inline bool isAuthed() { return _authed == 2; }
inline const QString& name() const { return _name; }
inline const QString& host() const { return _host; }
inline const QString ip() const { return _socket->peerAddress().toString(); }
- inline const int id() const { return _id; }
- inline const bool isActiveVncClient() const { return _isActiveVncClient; }
- inline const bool isActiveVncServer() const { return _vncPort > 0; }
- inline const bool isLocked() const { return _locked; }
- inline const int desiredProjectionSource() { return _desiredSource; }
- inline const int projectionSource() const { return _projectionSource; }
- inline const int isExamMode() const { return _isExamMode; }
- inline const bool wantsAttention() const { return _wantsAttention; }
- inline const void removeAttention() { if (!_wantsAttention) return; removeAttentionInternal(); }
+ inline int id() { return _id; }
+ inline bool isActiveVncClient() { return _isActiveVncClient; }
+ inline bool isActiveVncServer() { return _vncPort > 0; }
+ inline bool isLocked() { return _locked; }
+ inline int desiredProjectionSource() { return _desiredSource; }
+ inline int projectionSource() { return _projectionSource; }
+ inline int isExamMode() { return _isExamMode; }
+ inline bool wantsAttention() { return _wantsAttention; }
+ inline void removeAttention() { if (!_wantsAttention) return; removeAttentionInternal(); }
// Setters
inline void setTutor(bool enable) { _isTutor = enable; }