Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchanneltab.h | 4 |
1 files changed, 3 insertions, 1 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 | |||
@@ -16,24 +16,25 @@ | |||
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | 18 | ||
19 | */ | 19 | */ |
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 |
36 | public: | 37 | public: |
37 | /* IRCTab implementation */ | 38 | /* IRCTab implementation */ |
38 | IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 39 | IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
39 | ~IRCChannelTab(); | 40 | ~IRCChannelTab(); |
@@ -53,18 +54,19 @@ protected slots: | |||
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 */ |