QTfrontend/ui/widget/chatwidget.h
changeset 10536 1010df878643
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
--- a/QTfrontend/ui/widget/chatwidget.h	Sun Nov 23 03:58:56 2014 +0100
+++ b/QTfrontend/ui/widget/chatwidget.h	Sun Nov 23 05:03:11 2014 +0100
@@ -32,6 +32,7 @@
 #include "SDLInteraction.h"
 
 #include "SmartLineEdit.h"
+#include "playerslistmodel.h"
 
 class QTextBrowser;
 class QLineEdit;
@@ -87,6 +88,7 @@
         QString linkedNick(const QString & nickname);
         void beforeContentAdd();
         void afterContentAdd();
+        bool isInGame();
 
         /**
          * @brief Checks whether the message contains a highlight.
@@ -132,6 +134,7 @@
         void consoleCommand(const QString & command);
 
     private:
+        PlayersListModel* m_usersModel;
         bool m_isAdmin;
         QHBoxLayout mainLayout;
         QTextBrowser* chatText;