summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircservertab.h
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircservertab.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieirc/ircservertab.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircservertab.h b/noncore/net/opieirc/ircservertab.h
index 8d24cba..48200d7 100644
--- a/noncore/net/opieirc/ircservertab.h
+++ b/noncore/net/opieirc/ircservertab.h
@@ -17,32 +17,35 @@
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#include <qpe/qpeapplication.h>
24#include <qpe/qcopenvelope_qws.h>
24#include "irctab.h" 25#include "irctab.h"
25#include "ircsession.h" 26#include "ircsession.h"
26#include "mainwindow.h" 27#include "mainwindow.h"
27#include "ircchanneltab.h" 28#include "ircchanneltab.h"
28#include "ircquerytab.h" 29#include "ircquerytab.h"
29#include "ircmisc.h" 30#include "ircmisc.h"
30 31
32
31class IRCServerTab : public IRCTab { 33class IRCServerTab : public IRCTab {
32 Q_OBJECT 34 Q_OBJECT
33public: 35public:
34 /* IRCTab implementation */ 36 /* IRCTab implementation */
35 IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); 37 IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0);
36 ~IRCServerTab(); 38 ~IRCServerTab();
37 QString title(); 39 QString title();
38 IRCSession *session(); 40 IRCSession *session();
39 IRCServer *server(); 41 IRCServer *server();
40 42
41 /* Start the server session */ 43 /* Start the server session */
42 void doConnect(); 44 void doConnect();
45// QString *mynick();
43 /* Remove tabs from the internal tab lists */ 46 /* Remove tabs from the internal tab lists */
44 void removeChannelTab(IRCChannelTab *tab); 47 void removeChannelTab(IRCChannelTab *tab);
45 void removeQueryTab(IRCQueryTab *tab); 48 void removeQueryTab(IRCQueryTab *tab);
46 /* Return tabs from the internal tab lists */ 49 /* Return tabs from the internal tab lists */
47 IRCChannelTab *getTabForChannel(IRCChannel *channel); 50 IRCChannelTab *getTabForChannel(IRCChannel *channel);
48 IRCQueryTab *getTabForQuery(IRCPerson *person); 51 IRCQueryTab *getTabForQuery(IRCPerson *person);
@@ -50,12 +53,13 @@ public:
50 void addQueryTab(IRCQueryTab *tab); 53 void addQueryTab(IRCQueryTab *tab);
51 /* Execute a user command such as /join, /msg etc */ 54 /* Execute a user command such as /join, /msg etc */
52 void executeCommand(IRCTab *tab, QString line); 55 void executeCommand(IRCTab *tab, QString line);
53protected: 56protected:
54 void appendText(QString text); 57 void appendText(QString text);
55public slots: 58public slots:
59 void scrolling();
56 void remove(); 60 void remove();
57 void processCommand(); 61 void processCommand();
58 void settingsChanged(); 62 void settingsChanged();
59protected slots: 63protected slots:
60 void display(IRCOutput output); 64 void display(IRCOutput output);
61protected: 65protected: