summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircchanneltab.h
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircchanneltab.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.h b/noncore/net/opieirc/ircchanneltab.h
index 70b212c..ffd1d5f 100644
--- a/noncore/net/opieirc/ircchanneltab.h
+++ b/noncore/net/opieirc/ircchanneltab.h
@@ -28,12 +28,13 @@
28#include "ircmisc.h" 28#include "ircmisc.h"
29#include "mainwindow.h" 29#include "mainwindow.h"
30#include "ircchannellist.h" 30#include "ircchannellist.h"
31 31
32#define LISTWIDTH 70 32#define LISTWIDTH 70
33 33
34template <class T> class QDict;
34class IRCServerTab; 35class IRCServerTab;
35class IRCChannelTab : public IRCTab { 36class IRCChannelTab : public IRCTab {
36 Q_OBJECT 37 Q_OBJECT
37public: 38public:
38 /* IRCTab implementation */ 39 /* IRCTab implementation */
39 IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); 40 IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0);
@@ -41,12 +42,13 @@ public:
41 QString title(); 42 QString title();
42 IRCSession *session(); 43 IRCSession *session();
43 IRCChannel *channel(); 44 IRCChannel *channel();
44 IRCChannelList *list(); 45 IRCChannelList *list();
45public: 46public:
46 void appendText(QString text); 47 void appendText(QString text);
48 static void enqueue(const QString &channel, const QString &message);
47public slots: 49public slots:
48 void remove(); 50 void remove();
49 void settingsChanged(); 51 void settingsChanged();
50 void scrolling(); 52 void scrolling();
51protected slots: 53protected slots:
52 void processCommand(); 54 void processCommand();
@@ -67,9 +69,10 @@ protected:
67 MainWindow *m_mainWindow; 69 MainWindow *m_mainWindow;
68 QTextView *m_textview; 70 QTextView *m_textview;
69 IRCHistoryLineEdit *m_field; 71 IRCHistoryLineEdit *m_field;
70 QPopupMenu *m_popup; 72 QPopupMenu *m_popup;
71 bool m_listVisible; 73 bool m_listVisible;
72 int m_lines; 74 int m_lines;
75 static QDict<QString> m_queuedMessages;
73}; 76};
74 77
75#endif /* __IRCCHANNELTAB_H */ 78#endif /* __IRCCHANNELTAB_H */