Diffstat (limited to 'noncore/net/opieirc/ircservertab.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircservertab.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircservertab.h b/noncore/net/opieirc/ircservertab.h index cfa0832..e439d84 100644 --- a/noncore/net/opieirc/ircservertab.h +++ b/noncore/net/opieirc/ircservertab.h | |||
@@ -24,8 +24,9 @@ | |||
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 | 29 | ||
29 | class IRCServerTab : public IRCTab { | 30 | class IRCServerTab : public IRCTab { |
30 | Q_OBJECT | 31 | Q_OBJECT |
31 | public: | 32 | public: |
@@ -37,15 +38,18 @@ public: | |||
37 | IRCServer *server(); | 38 | IRCServer *server(); |
38 | 39 | ||
39 | /* Start the server session */ | 40 | /* Start the server session */ |
40 | void doConnect(); | 41 | void doConnect(); |
42 | /* Remove tabs from the internal tab lists */ | ||
41 | void removeChannelTab(IRCChannelTab *tab); | 43 | void removeChannelTab(IRCChannelTab *tab); |
44 | void removeQueryTab(IRCQueryTab *tab); | ||
42 | 45 | ||
43 | /* Execute a user command such as /join */ | 46 | /* Execute a user command such as /join */ |
44 | void executeCommand(IRCTab *tab, QString line); | 47 | void executeCommand(IRCTab *tab, QString line); |
45 | protected: | 48 | protected: |
46 | void appendText(QString text); | 49 | void appendText(QString text); |
47 | IRCChannelTab *getTabForChannel(IRCChannel *channel); | 50 | IRCChannelTab *getTabForChannel(IRCChannel *channel); |
51 | IRCQueryTab *getTabForQuery(IRCPerson *person); | ||
48 | public slots: | 52 | public slots: |
49 | void remove(); | 53 | void remove(); |
50 | void processCommand(); | 54 | void processCommand(); |
51 | protected slots: | 55 | protected slots: |
@@ -56,8 +60,11 @@ protected: | |||
56 | IRCSession *m_session; | 60 | IRCSession *m_session; |
57 | MainWindow *m_mainWindow; | 61 | MainWindow *m_mainWindow; |
58 | QTextView *m_textview; | 62 | QTextView *m_textview; |
59 | QLineEdit *m_field; | 63 | QLineEdit *m_field; |
64 | /* Channel tabs associated with this server tab */ | ||
60 | QList<IRCChannelTab> m_channelTabs; | 65 | QList<IRCChannelTab> m_channelTabs; |
66 | /* Query tabs associated with this server tab */ | ||
67 | QList<IRCQueryTab> m_queryTabs; | ||
61 | }; | 68 | }; |
62 | 69 | ||
63 | #endif /* __IRCSERVERTAB_H */ | 70 | #endif /* __IRCSERVERTAB_H */ |