--- 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;