summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircchanneltab.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.h') (more/less context) (show 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 @@
#include "ircmisc.h"
#include "mainwindow.h"
#include "ircchannellist.h"
#define LISTWIDTH 70
+template <class T> class QDict;
class IRCServerTab;
class IRCChannelTab : public IRCTab {
Q_OBJECT
public:
/* IRCTab implementation */
IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0);
@@ -41,12 +42,13 @@ public:
QString title();
IRCSession *session();
IRCChannel *channel();
IRCChannelList *list();
public:
void appendText(QString text);
+ static void enqueue(const QString &channel, const QString &message);
public slots:
void remove();
void settingsChanged();
void scrolling();
protected slots:
void processCommand();
@@ -67,9 +69,10 @@ protected:
MainWindow *m_mainWindow;
QTextView *m_textview;
IRCHistoryLineEdit *m_field;
QPopupMenu *m_popup;
bool m_listVisible;
int m_lines;
+ static QDict<QString> m_queuedMessages;
};
#endif /* __IRCCHANNELTAB_H */