summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircmisc.h
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircmisc.h') (more/less context) (show 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:
59 int insertTab(QTab *, int index = -1); 59 int insertTab(QTab *, int index = -1);
60protected: 60protected:
61 QArray<QColor> m_colors; 61 QArray<QColor> m_colors;
62}; 62};
63 63
64/* A QLineEdit with history functionality and tab completion */ 64/* A QLineEdit with history functionality and tab completion */
65 65
66class IRCHistoryLineEdit : public QLineEdit { 66class IRCHistoryLineEdit : public QLineEdit {
67 Q_OBJECT 67 Q_OBJECT
68public: 68public:
69 enum KeyMode { 69 enum KeyMode {
70 KeyNextTab, 70 KeyNextTab,
71 KeyPrevTab 71 KeyPrevTab,
72 KeyCloseTab
72 }; 73 };
73 74
74 static Opie::Core::OKeyConfigManager* keyConfigInstance(); 75 static Opie::Core::OKeyConfigManager* keyConfigInstance();
75 76
76 IRCHistoryLineEdit(QWidget *parent = 0, const char *name = 0); 77 IRCHistoryLineEdit(QWidget *parent = 0, const char *name = 0);
77 virtual bool eventFilter(QObject *object, QEvent *event); 78 virtual bool eventFilter(QObject *object, QEvent *event);
78public slots: 79public slots:
79 void setEditFocus(); 80 void setEditFocus();
80signals: 81signals:
81 void nextTab(); 82 void nextTab();
82 void prevTab(); 83 void prevTab();
83 void closeTab(); 84 void closeTab();