--- a/QTfrontend/ui/widget/chatwidget.h Wed Oct 10 00:14:01 2012 -0400
+++ b/QTfrontend/ui/widget/chatwidget.h Wed Oct 10 23:15:58 2012 +0400
@@ -38,6 +38,7 @@
class QListView;
class QSettings;
class QAbstractItemModel;
+class QMenu;
/// Class for custom nickname sorting
class ListWidgetNickItem : public QListWidgetItem
@@ -147,6 +148,7 @@
QAction * acIgnore;
QAction * acFriend;
QSettings * gameSettings;
+ QMenu * m_nicksMenu;
QStringList m_helloSounds;
QString m_hilightSound;
QString m_userNick;
@@ -166,8 +168,9 @@
void onIgnore();
void onFriend();
void chatNickDoubleClicked(QListWidgetItem * item);
- void chatNickSelected(int index);
+ void chatNickSelected();
void linkClicked(const QUrl & link);
+ void nicksContextMenuRequested(const QPoint & pos);
};
#endif // _CHAT_WIDGET_INCLUDED