Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchanneltab.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.h b/noncore/net/opieirc/ircchanneltab.h index 971614b..a03ee3e 100644 --- a/noncore/net/opieirc/ircchanneltab.h +++ b/noncore/net/opieirc/ircchanneltab.h | |||
@@ -20,16 +20,17 @@ | |||
20 | 20 | ||
21 | #ifndef __IRCCHANNELTAB_H | 21 | #ifndef __IRCCHANNELTAB_H |
22 | #define __IRCCHANNELTAB_H | 22 | #define __IRCCHANNELTAB_H |
23 | 23 | ||
24 | #include <qpopupmenu.h> | 24 | #include <qpopupmenu.h> |
25 | #include <qpushbutton.h> | 25 | #include <qpushbutton.h> |
26 | #include "irctab.h" | 26 | #include "irctab.h" |
27 | #include "ircsession.h" | 27 | #include "ircsession.h" |
28 | #include "ircmisc.h" | ||
28 | #include "mainwindow.h" | 29 | #include "mainwindow.h" |
29 | #include "ircchannellist.h" | 30 | #include "ircchannellist.h" |
30 | 31 | ||
31 | #define LISTWIDTH 70 | 32 | #define LISTWIDTH 70 |
32 | 33 | ||
33 | class IRCServerTab; | 34 | class IRCServerTab; |
34 | class IRCChannelTab : public IRCTab { | 35 | class IRCChannelTab : public IRCTab { |
35 | Q_OBJECT | 36 | Q_OBJECT |
@@ -51,20 +52,21 @@ protected slots: | |||
51 | void toggleList(); | 52 | void toggleList(); |
52 | void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point); | 53 | void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point); |
53 | /* Popup slots */ | 54 | /* Popup slots */ |
54 | void popupQuery(); | 55 | void popupQuery(); |
55 | void popupPing(); | 56 | void popupPing(); |
56 | void popupVersion(); | 57 | void popupVersion(); |
57 | void popupWhois(); | 58 | void popupWhois(); |
58 | protected: | 59 | protected: |
59 | IRCServerTab *m_parentTab; | 60 | IRCServerTab *m_parentTab; |
60 | IRCChannel *m_channel; | 61 | IRCChannel *m_channel; |
61 | IRCChannelList *m_list; | 62 | IRCChannelList *m_list; |
62 | QPushButton *m_listButton; | 63 | QPushButton *m_listButton; |
63 | MainWindow *m_mainWindow; | 64 | MainWindow *m_mainWindow; |
64 | QTextView *m_textview; | 65 | QTextView *m_textview; |
65 | QLineEdit *m_field; | 66 | IRCHistoryLineEdit *m_field; |
66 | QPopupMenu *m_popup; | 67 | QPopupMenu *m_popup; |
67 | bool m_listVisible; | 68 | bool m_listVisible; |
69 | int m_lines; | ||
68 | }; | 70 | }; |
69 | 71 | ||
70 | #endif /* __IRCCHANNELTAB_H */ | 72 | #endif /* __IRCCHANNELTAB_H */ |