- Bug #20 (RPL_NICKNAMEINUSER)
[quassel.git] / gui / channelwidgetinput.h
index 4d848e6..eb9a9de 100644 (file)
 
 #include <QtCore>
 #include <QtGui>
+#include "tabcompleter.h"
 
 class ChannelWidgetInput : public QLineEdit {
   Q_OBJECT
 
   public:
     ChannelWidgetInput(QWidget *parent = 0);
-
-  public slots:
-    void updateNickList(QStringList);
-
+    ~ChannelWidgetInput();
+    
   protected:
     virtual bool event(QEvent *);
     virtual void keyPressEvent(QKeyEvent * event);
@@ -40,11 +39,18 @@ class ChannelWidgetInput : public QLineEdit {
   private slots:
     void enter();
 
+  public slots:
+    void updateNickList(QStringList);
+    
+  signals:
+    void nickListUpdated(QStringList);
+    
   private:
     qint32 idx;
     QStringList history;
     QStringList nickList;
 
+    TabCompleter *tabComplete;
 };
 
 #endif