#include <QtCore>
#include <QtGui>
+#include "tabcompleter.h"
class ChannelWidgetInput : public QLineEdit {
Q_OBJECT
public:
ChannelWidgetInput(QWidget *parent = 0);
-
+ ~ChannelWidgetInput();
+
protected:
virtual bool event(QEvent *);
virtual void keyPressEvent(QKeyEvent * event);
public slots:
void updateNickList(QStringList);
+ signals:
+ void nickListUpdated(QStringList);
+
private:
qint32 idx;
QStringList history;
QStringList nickList;
-
- bool tabMode;
- int lastCompletionLength;
- QStringList tabCompleteList;
- QStringList::Iterator nextCompletion;
+
+ TabCompleter *tabComplete;
};
#endif