equal
deleted
inserted
replaced
32 class QTextBrowser; |
32 class QTextBrowser; |
33 class QLineEdit; |
33 class QLineEdit; |
34 class QListWidget; |
34 class QListWidget; |
35 class QSettings; |
35 class QSettings; |
36 class SDLInteraction; |
36 class SDLInteraction; |
37 class QLabel; |
|
38 |
37 |
39 // this class is for custom nick sorting |
38 // this class is for custom nick sorting |
40 class ListWidgetNickItem : public QListWidgetItem |
39 class ListWidgetNickItem : public QListWidgetItem |
41 { |
40 { |
42 public: |
41 public: |
86 void chatLine(const QString& str); |
85 void chatLine(const QString& str); |
87 void kick(const QString & str); |
86 void kick(const QString & str); |
88 void ban(const QString & str); |
87 void ban(const QString & str); |
89 void info(const QString & str); |
88 void info(const QString & str); |
90 void follow(const QString &); |
89 void follow(const QString &); |
|
90 void nickCountUpdate(int cnt); |
91 |
91 |
92 private: |
92 private: |
93 QGridLayout mainLayout; |
93 QGridLayout mainLayout; |
94 QTextBrowser* chatText; |
94 QTextBrowser* chatText; |
95 QStringList chatStrings; |
95 QStringList chatStrings; |
100 QAction * acBan; |
100 QAction * acBan; |
101 QAction * acFollow; |
101 QAction * acFollow; |
102 QAction * acIgnore; |
102 QAction * acIgnore; |
103 QAction * acFriend; |
103 QAction * acFriend; |
104 QSettings * gameSettings; |
104 QSettings * gameSettings; |
105 QLabel * lblCount; |
|
106 SDLInteraction * sdli; |
105 SDLInteraction * sdli; |
107 Mix_Chunk *sound[4]; |
106 Mix_Chunk *sound[4]; |
108 bool notify; |
107 bool notify; |
109 bool showReady; |
108 bool showReady; |
110 |
109 |