summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircservertab.h
authorwazlaf <wazlaf>2002-09-21 23:59:08 (UTC)
committer wazlaf <wazlaf>2002-09-21 23:59:08 (UTC)
commitd60625b5551f26cdc35f7b2497ab538de859537d (patch) (unidiff)
tree998c8d2e1f12a9c7ab9b55fa578f93d1a178ade6 /noncore/net/opieirc/ircservertab.h
parent54238c669808ceccaa6fb0ab0dcbf4565b370196 (diff)
downloadopie-d60625b5551f26cdc35f7b2497ab538de859537d.zip
opie-d60625b5551f26cdc35f7b2497ab538de859537d.tar.gz
opie-d60625b5551f26cdc35f7b2497ab538de859537d.tar.bz2
query windows and basic commands such as /me, /msg
Diffstat (limited to 'noncore/net/opieirc/ircservertab.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircservertab.h7
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
@@ -25,6 +25,7 @@
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
29class IRCServerTab : public IRCTab { 30class IRCServerTab : public IRCTab {
30 Q_OBJECT 31 Q_OBJECT
@@ -38,13 +39,16 @@ public:
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);
45protected: 48protected:
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);
48public slots: 52public slots:
49 void remove(); 53 void remove();
50 void processCommand(); 54 void processCommand();
@@ -57,7 +61,10 @@ protected:
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 */