equal
deleted
inserted
replaced
36 class QTextBrowser; |
36 class QTextBrowser; |
37 class QLineEdit; |
37 class QLineEdit; |
38 class QListView; |
38 class QListView; |
39 class QSettings; |
39 class QSettings; |
40 class QAbstractItemModel; |
40 class QAbstractItemModel; |
|
41 class QMenu; |
41 |
42 |
42 /// Class for custom nickname sorting |
43 /// Class for custom nickname sorting |
43 class ListWidgetNickItem : public QListWidgetItem |
44 class ListWidgetNickItem : public QListWidgetItem |
44 { |
45 { |
45 public: |
46 public: |
145 QAction * acBan; |
146 QAction * acBan; |
146 QAction * acFollow; |
147 QAction * acFollow; |
147 QAction * acIgnore; |
148 QAction * acIgnore; |
148 QAction * acFriend; |
149 QAction * acFriend; |
149 QSettings * gameSettings; |
150 QSettings * gameSettings; |
|
151 QMenu * m_nicksMenu; |
150 QStringList m_helloSounds; |
152 QStringList m_helloSounds; |
151 QString m_hilightSound; |
153 QString m_hilightSound; |
152 QString m_userNick; |
154 QString m_userNick; |
153 QString m_clickedNick; |
155 QString m_clickedNick; |
154 QList<QRegExp> m_highlights; ///< regular expressions used for highlighting |
156 QList<QRegExp> m_highlights; ///< regular expressions used for highlighting |
164 void onInfo(); |
166 void onInfo(); |
165 void onFollow(); |
167 void onFollow(); |
166 void onIgnore(); |
168 void onIgnore(); |
167 void onFriend(); |
169 void onFriend(); |
168 void chatNickDoubleClicked(QListWidgetItem * item); |
170 void chatNickDoubleClicked(QListWidgetItem * item); |
169 void chatNickSelected(int index); |
171 void chatNickSelected(); |
170 void linkClicked(const QUrl & link); |
172 void linkClicked(const QUrl & link); |
|
173 void nicksContextMenuRequested(const QPoint & pos); |
171 }; |
174 }; |
172 |
175 |
173 #endif // _CHAT_WIDGET_INCLUDED |
176 #endif // _CHAT_WIDGET_INCLUDED |