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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.h b/noncore/net/opieirc/ircchanneltab.h
index 001c96d..70b212c 100644
--- a/noncore/net/opieirc/ircchanneltab.h
+++ b/noncore/net/opieirc/ircchanneltab.h
@@ -32,42 +32,44 @@
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(); 50 void scrolling();
51protected slots: 51protected slots:
52 void processCommand(); 52 void processCommand();
53 void toggleList(); 53 void toggleList();
54 void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point); 54 void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point);
55 /* Popup slots */ 55 /* Popup slots */
56 void popupQuery(QListBoxItem*);
56 void popupQuery(); 57 void popupQuery();
58
57 void popupPing(); 59 void popupPing();
58 void popupVersion(); 60 void popupVersion();
59 void popupWhois(); 61 void popupWhois();
60protected: 62protected:
61 IRCServerTab *m_parentTab; 63 IRCServerTab *m_parentTab;
62 IRCChannel *m_channel; 64 IRCChannel *m_channel;
63 IRCChannelList *m_list; 65 IRCChannelList *m_list;
64 QPushButton *m_listButton; 66 QPushButton *m_listButton;
65 MainWindow *m_mainWindow; 67 MainWindow *m_mainWindow;
66 QTextView *m_textview; 68 QTextView *m_textview;
67 IRCHistoryLineEdit *m_field; 69 IRCHistoryLineEdit *m_field;
68 QPopupMenu *m_popup; 70 QPopupMenu *m_popup;
69 bool m_listVisible; 71 bool m_listVisible;
70 int m_lines; 72 int m_lines;
71}; 73};
72 74
73#endif /* __IRCCHANNELTAB_H */ 75#endif /* __IRCCHANNELTAB_H */