Diffstat (limited to 'noncore/net/opieirc/ircservertab.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircservertab.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/opieirc/ircservertab.h b/noncore/net/opieirc/ircservertab.h index e439d84..698689a 100644 --- a/noncore/net/opieirc/ircservertab.h +++ b/noncore/net/opieirc/ircservertab.h | |||
@@ -33,34 +33,37 @@ public: | |||
33 | /* IRCTab implementation */ | 33 | /* IRCTab implementation */ |
34 | IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 34 | IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
35 | ~IRCServerTab(); | 35 | ~IRCServerTab(); |
36 | QString title(); | 36 | QString title(); |
37 | IRCSession *session(); | 37 | IRCSession *session(); |
38 | IRCServer *server(); | 38 | IRCServer *server(); |
39 | 39 | ||
40 | /* Start the server session */ | 40 | /* Start the server session */ |
41 | void doConnect(); | 41 | void doConnect(); |
42 | /* Remove tabs from the internal tab lists */ | 42 | /* Remove tabs from the internal tab lists */ |
43 | void removeChannelTab(IRCChannelTab *tab); | 43 | void removeChannelTab(IRCChannelTab *tab); |
44 | void removeQueryTab(IRCQueryTab *tab); | 44 | void removeQueryTab(IRCQueryTab *tab); |
45 | 45 | /* Return tabs from the internal tab lists */ | |
46 | /* Execute a user command such as /join */ | 46 | IRCChannelTab *getTabForChannel(IRCChannel *channel); |
47 | IRCQueryTab *getTabForQuery(IRCPerson *person); | ||
48 | /* Add tabs to the internal tab lists */ | ||
49 | void addQueryTab(IRCQueryTab *tab); | ||
50 | /* Execute a user command such as /join, /msg etc */ | ||
47 | void executeCommand(IRCTab *tab, QString line); | 51 | void executeCommand(IRCTab *tab, QString line); |
48 | protected: | 52 | protected: |
49 | void appendText(QString text); | 53 | void appendText(QString text); |
50 | IRCChannelTab *getTabForChannel(IRCChannel *channel); | ||
51 | IRCQueryTab *getTabForQuery(IRCPerson *person); | ||
52 | public slots: | 54 | public slots: |
53 | void remove(); | 55 | void remove(); |
54 | void processCommand(); | 56 | void processCommand(); |
57 | void settingsChanged(); | ||
55 | protected slots: | 58 | protected slots: |
56 | void display(IRCOutput output); | 59 | void display(IRCOutput output); |
57 | protected: | 60 | protected: |
58 | bool m_close; | 61 | bool m_close; |
59 | IRCServer m_server; | 62 | IRCServer m_server; |
60 | IRCSession *m_session; | 63 | IRCSession *m_session; |
61 | MainWindow *m_mainWindow; | 64 | MainWindow *m_mainWindow; |
62 | QTextView *m_textview; | 65 | QTextView *m_textview; |
63 | QLineEdit *m_field; | 66 | QLineEdit *m_field; |
64 | /* Channel tabs associated with this server tab */ | 67 | /* Channel tabs associated with this server tab */ |
65 | QList<IRCChannelTab> m_channelTabs; | 68 | QList<IRCChannelTab> m_channelTabs; |
66 | /* Query tabs associated with this server tab */ | 69 | /* Query tabs associated with this server tab */ |