X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2Fchannelwidgetinput.h;h=eb9a9de9a82d2719cf4c7f73c434162944504f3d;hp=4d848e64203f13e26c301768ff3de3ab3763d0f1;hb=2b4fb2214870a8c521e90310e541fe5ea680ae3b;hpb=11ee1cf78677b51d8fea2749e8501216a831dfd7 diff --git a/gui/channelwidgetinput.h b/gui/channelwidgetinput.h index 4d848e64..eb9a9de9 100644 --- a/gui/channelwidgetinput.h +++ b/gui/channelwidgetinput.h @@ -23,16 +23,15 @@ #include #include +#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