QTfrontend/chatwidget.h
changeset 2706 935b7d618cf0
parent 1860 ce140b2b928a
child 2773 e94f240a8a41
--- a/QTfrontend/chatwidget.h	Sun Jan 24 13:37:03 2010 +0000
+++ b/QTfrontend/chatwidget.h	Sun Jan 24 13:38:14 2010 +0000
@@ -20,6 +20,7 @@
 #define _CHAT_WIDGET_INCLUDED
 
 #include <QWidget>
+#include <QListWidget>
 #include <QString>
 #include <QGridLayout>
 
@@ -48,6 +49,7 @@
   void kick(const QString & str);
   void ban(const QString & str);
   void info(const QString & str);
+  void follow(const QString &);
 
  private:
   QGridLayout mainLayout;
@@ -58,12 +60,15 @@
   QAction * acInfo;
   QAction * acKick;
   QAction * acBan;
+  QAction * acFollow;
 
  private slots:
   void returnPressed();
   void onBan();
   void onKick();
   void onInfo();
+  void onFollow();
+  void chatNickDoubleClicked(QListWidgetItem * item);
 };
 
 #endif // _CHAT_WIDGET_INCLUDED