author | skyhusker <skyhusker> | 2005-01-14 20:54:49 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-01-14 20:54:49 (UTC) |
commit | a808497c334275c4b73e31a9bea37f84e344964d (patch) (unidiff) | |
tree | 490b0396494b83b1145fc65ab81e3e437af9aed5 /noncore/net/opieirc/ircchanneltab.h | |
parent | b6c5c3b8b1ab130217678ec789db573ffc52c3eb (diff) | |
download | opie-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) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchanneltab.h | 3 |
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 | ||
34 | template <class T> class QDict; | ||
34 | class IRCServerTab; | 35 | class IRCServerTab; |
35 | class IRCChannelTab : public IRCTab { | 36 | class IRCChannelTab : public IRCTab { |
36 | Q_OBJECT | 37 | Q_OBJECT |
37 | public: | 38 | public: |
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(); |
45 | public: | 46 | public: |
46 | void appendText(QString text); | 47 | void appendText(QString text); |
48 | static void enqueue(const QString &channel, const QString &message); | ||
47 | public slots: | 49 | public slots: |
48 | void remove(); | 50 | void remove(); |
49 | void settingsChanged(); | 51 | void settingsChanged(); |
50 | void scrolling(); | 52 | void scrolling(); |
51 | protected slots: | 53 | protected 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 */ |