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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.h b/noncore/net/opieirc/ircchanneltab.h
index a03ee3e..001c96d 100644
--- a/noncore/net/opieirc/ircchanneltab.h
+++ b/noncore/net/opieirc/ircchanneltab.h
@@ -26,47 +26,48 @@
26#include "irctab.h" 26#include "irctab.h"
27#include "ircsession.h" 27#include "ircsession.h"
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
34class IRCServerTab; 34class IRCServerTab;
35class IRCChannelTab : public IRCTab { 35class IRCChannelTab : public IRCTab {
36 Q_OBJECT 36 Q_OBJECT
37public: 37public:
38 /* IRCTab implementation */ 38 /* IRCTab implementation */
39 IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); 39 IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0);
40 ~IRCChannelTab(); 40 ~IRCChannelTab();
41 QString title(); 41 QString title();
42 IRCSession *session(); 42 IRCSession *session();
43 IRCChannel *channel(); 43 IRCChannel *channel();
44 IRCChannelList *list(); 44 IRCChannelList *list();
45public: 45public:
46 void appendText(QString text); 46 void appendText(QString text);
47public slots: 47public slots:
48 void remove(); 48 void remove();
49 void settingsChanged(); 49 void settingsChanged();
50 void scrolling();
50protected slots: 51protected slots:
51 void processCommand(); 52 void processCommand();
52 void toggleList(); 53 void toggleList();
53 void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point); 54 void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point);
54 /* Popup slots */ 55 /* Popup slots */
55 void popupQuery(); 56 void popupQuery();
56 void popupPing(); 57 void popupPing();
57 void popupVersion(); 58 void popupVersion();
58 void popupWhois(); 59 void popupWhois();
59protected: 60protected:
60 IRCServerTab *m_parentTab; 61 IRCServerTab *m_parentTab;
61 IRCChannel *m_channel; 62 IRCChannel *m_channel;
62 IRCChannelList *m_list; 63 IRCChannelList *m_list;
63 QPushButton *m_listButton; 64 QPushButton *m_listButton;
64 MainWindow *m_mainWindow; 65 MainWindow *m_mainWindow;
65 QTextView *m_textview; 66 QTextView *m_textview;
66 IRCHistoryLineEdit *m_field; 67 IRCHistoryLineEdit *m_field;
67 QPopupMenu *m_popup; 68 QPopupMenu *m_popup;
68 bool m_listVisible; 69 bool m_listVisible;
69 int m_lines; 70 int m_lines;
70}; 71};
71 72
72#endif /* __IRCCHANNELTAB_H */ 73#endif /* __IRCCHANNELTAB_H */