added toggle for moderation mode

This commit is contained in:
fourtf
2018-01-17 16:52:51 +01:00
parent 01efa1f447
commit e694214243
17 changed files with 136 additions and 83 deletions
+5
View File
@@ -62,6 +62,9 @@ public:
void setFlexSizeY(double y);
double getFlexSizeY();
void setModerationMode(bool value);
bool getModerationMode() const;
bool showChangeChannelPopup(const char *dialogTitle, bool empty = false);
void giveFocus(Qt::FocusReason reason);
bool hasFocus() const;
@@ -88,6 +91,8 @@ private:
double flexSizeX;
double flexSizeY;
bool moderationMode;
boost::signals2::connection channelIDChangedConnection;
void setChannel(SharedChannel newChannel);