Diffstat (limited to 'noncore/net/opieirc/ircmisc.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircmisc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircmisc.h b/noncore/net/opieirc/ircmisc.h index b4a5b06..c42dcbd 100644 --- a/noncore/net/opieirc/ircmisc.h +++ b/noncore/net/opieirc/ircmisc.h | |||
@@ -52,20 +52,28 @@ protected: | |||
52 | int insertTab(QTab *, int index = -1); | 52 | int insertTab(QTab *, int index = -1); |
53 | protected: | 53 | protected: |
54 | QArray<QColor> m_colors; | 54 | QArray<QColor> m_colors; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | /* A QLineEdit with history functionality and tab completion */ | 57 | /* A QLineEdit with history functionality and tab completion */ |
58 | 58 | ||
59 | class IRCHistoryLineEdit : public QLineEdit { | 59 | class IRCHistoryLineEdit : public QLineEdit { |
60 | Q_OBJECT | 60 | Q_OBJECT |
61 | public: | 61 | public: |
62 | IRCHistoryLineEdit(QWidget *parent = 0, const char *name = 0); | 62 | IRCHistoryLineEdit(QWidget *parent = 0, const char *name = 0); |
63 | virtual bool eventFilter(QObject *object, QEvent *event); | 63 | virtual bool eventFilter(QObject *object, QEvent *event); |
64 | public slots: | ||
65 | void setEditFocus(); | ||
66 | signals: | ||
67 | void nextTab(); | ||
68 | void prevTab(); | ||
69 | void closeTab(); | ||
70 | |||
71 | |||
64 | protected: | 72 | protected: |
65 | void keyPressEvent(QKeyEvent *); | 73 | void keyPressEvent(QKeyEvent *); |
66 | protected: | 74 | protected: |
67 | QStringList m_history; | 75 | QStringList m_history; |
68 | int m_index; | 76 | int m_index; |
69 | }; | 77 | }; |
70 | 78 | ||
71 | #endif /* __IRCMISC_H */ | 79 | #endif /* __IRCMISC_H */ |