summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircchanneltab.h
authorskyhusker <skyhusker>2005-01-14 20:54:49 (UTC)
committer skyhusker <skyhusker>2005-01-14 20:54:49 (UTC)
commita808497c334275c4b73e31a9bea37f84e344964d (patch) (side-by-side diff)
tree490b0396494b83b1145fc65ab81e3e437af9aed5 /noncore/net/opieirc/ircchanneltab.h
parentb6c5c3b8b1ab130217678ec789db573ffc52c3eb (diff)
downloadopie-a808497c334275c4b73e31a9bea37f84e344964d.zip
opie-a808497c334275c4b73e31a9bea37f84e344964d.tar.gz
opie-a808497c334275c4b73e31a9bea37f84e344964d.tar.bz2
Added message queue, now topics always appear in channel tab
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
@@ -22,37 +22,39 @@
#define __IRCCHANNELTAB_H
#include <qpopupmenu.h>
#include <qpushbutton.h>
#include "irctab.h"
#include "ircsession.h"
#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);
~IRCChannelTab();
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();
void toggleList();
void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point);
/* Popup slots */
void popupQuery(QListBoxItem*);
void popupQuery();
@@ -61,15 +63,16 @@ protected slots:
void popupWhois();
protected:
IRCServerTab *m_parentTab;
IRCChannel *m_channel;
IRCChannelList *m_list;
QPushButton *m_listButton;
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 */