Diffstat (limited to 'noncore/net/opieirc/ircservertab.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircservertab.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircservertab.h b/noncore/net/opieirc/ircservertab.h index 698689a..8d24cba 100644 --- a/noncore/net/opieirc/ircservertab.h +++ b/noncore/net/opieirc/ircservertab.h | |||
@@ -17,24 +17,25 @@ | |||
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 __IRCSERVERTAB_H | 21 | #ifndef __IRCSERVERTAB_H |
22 | #define __IRCSERVERTAB_H | 22 | #define __IRCSERVERTAB_H |
23 | 23 | ||
24 | #include "irctab.h" | 24 | #include "irctab.h" |
25 | #include "ircsession.h" | 25 | #include "ircsession.h" |
26 | #include "mainwindow.h" | 26 | #include "mainwindow.h" |
27 | #include "ircchanneltab.h" | 27 | #include "ircchanneltab.h" |
28 | #include "ircquerytab.h" | 28 | #include "ircquerytab.h" |
29 | #include "ircmisc.h" | ||
29 | 30 | ||
30 | class IRCServerTab : public IRCTab { | 31 | class IRCServerTab : public IRCTab { |
31 | Q_OBJECT | 32 | Q_OBJECT |
32 | public: | 33 | public: |
33 | /* IRCTab implementation */ | 34 | /* IRCTab implementation */ |
34 | IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 35 | IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
35 | ~IRCServerTab(); | 36 | ~IRCServerTab(); |
36 | QString title(); | 37 | QString title(); |
37 | IRCSession *session(); | 38 | IRCSession *session(); |
38 | IRCServer *server(); | 39 | IRCServer *server(); |
39 | 40 | ||
40 | /* Start the server session */ | 41 | /* Start the server session */ |
@@ -49,25 +50,26 @@ public: | |||
49 | void addQueryTab(IRCQueryTab *tab); | 50 | void addQueryTab(IRCQueryTab *tab); |
50 | /* Execute a user command such as /join, /msg etc */ | 51 | /* Execute a user command such as /join, /msg etc */ |
51 | void executeCommand(IRCTab *tab, QString line); | 52 | void executeCommand(IRCTab *tab, QString line); |
52 | protected: | 53 | protected: |
53 | void appendText(QString text); | 54 | void appendText(QString text); |
54 | public slots: | 55 | public slots: |
55 | void remove(); | 56 | void remove(); |
56 | void processCommand(); | 57 | void processCommand(); |
57 | void settingsChanged(); | 58 | void settingsChanged(); |
58 | protected slots: | 59 | protected slots: |
59 | void display(IRCOutput output); | 60 | void display(IRCOutput output); |
60 | protected: | 61 | protected: |
62 | int m_lines; | ||
61 | bool m_close; | 63 | bool m_close; |
62 | IRCServer m_server; | 64 | IRCServer m_server; |
63 | IRCSession *m_session; | 65 | IRCSession *m_session; |
64 | MainWindow *m_mainWindow; | 66 | MainWindow *m_mainWindow; |
65 | QTextView *m_textview; | 67 | QTextView *m_textview; |
66 | QLineEdit *m_field; | 68 | IRCHistoryLineEdit *m_field; |
67 | /* Channel tabs associated with this server tab */ | 69 | /* Channel tabs associated with this server tab */ |
68 | QList<IRCChannelTab> m_channelTabs; | 70 | QList<IRCChannelTab> m_channelTabs; |
69 | /* Query tabs associated with this server tab */ | 71 | /* Query tabs associated with this server tab */ |
70 | QList<IRCQueryTab> m_queryTabs; | 72 | QList<IRCQueryTab> m_queryTabs; |
71 | }; | 73 | }; |
72 | 74 | ||
73 | #endif /* __IRCSERVERTAB_H */ | 75 | #endif /* __IRCSERVERTAB_H */ |