+public:
+ TabCompleter(InputLine *inputLine_);
+
+ void reset();
+ void complete();
+
+ virtual bool eventFilter(QObject *obj, QEvent *event);
+
+private slots:
+ void ircUserJoinedOrParted(IrcUser *ircUser);
+
+private:
+ QPointer<InputLine> inputLine;
+ bool enabled;
+ QString nickSuffix;
+
+ QStringList completionList;
+ // QStringList completionTemplates;
+
+ QStringList::Iterator nextCompletion;
+ int lastCompletionLength;
+
+ void buildCompletionList();