projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Bug #20 (RPL_NICKNAMEINUSER)
[quassel.git]
/
gui
/
channelwidgetinput.h
diff --git
a/gui/channelwidgetinput.h
b/gui/channelwidgetinput.h
index
e466f1d
..
eb9a9de
100644
(file)
--- a/
gui/channelwidgetinput.h
+++ b/
gui/channelwidgetinput.h
@@
-23,13
+23,15
@@
#include <QtCore>
#include <QtGui>
#include <QtCore>
#include <QtGui>
+#include "tabcompleter.h"
class ChannelWidgetInput : public QLineEdit {
Q_OBJECT
public:
ChannelWidgetInput(QWidget *parent = 0);
class ChannelWidgetInput : public QLineEdit {
Q_OBJECT
public:
ChannelWidgetInput(QWidget *parent = 0);
-
+ ~ChannelWidgetInput();
+
protected:
virtual bool event(QEvent *);
virtual void keyPressEvent(QKeyEvent * event);
protected:
virtual bool event(QEvent *);
virtual void keyPressEvent(QKeyEvent * event);
@@
-40,15
+42,15
@@
class ChannelWidgetInput : public QLineEdit {
public slots:
void updateNickList(QStringList);
public slots:
void updateNickList(QStringList);
+ signals:
+ void nickListUpdated(QStringList);
+
private:
qint32 idx;
QStringList history;
QStringList nickList;
private:
qint32 idx;
QStringList history;
QStringList nickList;
-
- bool tabMode;
- int lastCompletionLength;
- QStringList tabCompleteList;
- QStringList::Iterator nextCompletion;
+
+ TabCompleter *tabComplete;
};
#endif
};
#endif