equal
deleted
inserted
replaced
30 #include <QListWidgetItem> |
30 #include <QListWidgetItem> |
31 |
31 |
32 #include "SDLInteraction.h" |
32 #include "SDLInteraction.h" |
33 |
33 |
34 #include "SmartLineEdit.h" |
34 #include "SmartLineEdit.h" |
|
35 #include "playerslistmodel.h" |
35 |
36 |
36 class QTextBrowser; |
37 class QTextBrowser; |
37 class QLineEdit; |
38 class QLineEdit; |
38 class QListView; |
39 class QListView; |
39 class QSettings; |
40 class QSettings; |
85 void discardStyleSheet(); |
86 void discardStyleSheet(); |
86 void saveStyleSheet(); |
87 void saveStyleSheet(); |
87 QString linkedNick(const QString & nickname); |
88 QString linkedNick(const QString & nickname); |
88 void beforeContentAdd(); |
89 void beforeContentAdd(); |
89 void afterContentAdd(); |
90 void afterContentAdd(); |
|
91 bool isInGame(); |
90 |
92 |
91 /** |
93 /** |
92 * @brief Checks whether the message contains a highlight. |
94 * @brief Checks whether the message contains a highlight. |
93 * @param sender the sender of the message |
95 * @param sender the sender of the message |
94 * @param message the message |
96 * @param message the message |
130 void follow(const QString &); |
132 void follow(const QString &); |
131 void nickCountUpdate(int cnt); |
133 void nickCountUpdate(int cnt); |
132 void consoleCommand(const QString & command); |
134 void consoleCommand(const QString & command); |
133 |
135 |
134 private: |
136 private: |
|
137 PlayersListModel* m_usersModel; |
135 bool m_isAdmin; |
138 bool m_isAdmin; |
136 QHBoxLayout mainLayout; |
139 QHBoxLayout mainLayout; |
137 QTextBrowser* chatText; |
140 QTextBrowser* chatText; |
138 QStringList chatStrings; |
141 QStringList chatStrings; |
139 QListView* chatNicks; |
142 QListView* chatNicks; |