summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircmisc.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/ircmisc.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircmisc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircmisc.h b/noncore/net/opieirc/ircmisc.h
index 37eed28..3cf64df 100644
--- a/noncore/net/opieirc/ircmisc.h
+++ b/noncore/net/opieirc/ircmisc.h
@@ -59,25 +59,26 @@ protected:
int insertTab(QTab *, int index = -1);
protected:
QArray<QColor> m_colors;
};
/* A QLineEdit with history functionality and tab completion */
class IRCHistoryLineEdit : public QLineEdit {
Q_OBJECT
public:
enum KeyMode {
KeyNextTab,
- KeyPrevTab
+ KeyPrevTab,
+ KeyCloseTab
};
static Opie::Core::OKeyConfigManager* keyConfigInstance();
IRCHistoryLineEdit(QWidget *parent = 0, const char *name = 0);
virtual bool eventFilter(QObject *object, QEvent *event);
public slots:
void setEditFocus();
signals:
void nextTab();
void prevTab();
void closeTab();