author | wazlaf <wazlaf> | 2002-09-23 22:12:39 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-09-23 22:12:39 (UTC) |
commit | 074769a4adb816153e47d63087e9e326bd3a04bf (patch) (unidiff) | |
tree | cc69651d9e9e5901696a55d9523e343125780705 /noncore/net/opieirc/ircchanneltab.h | |
parent | e0b04701b3c9182ba22f56e329f98c57af4e1fe2 (diff) | |
download | opie-074769a4adb816153e47d63087e9e326bd3a04bf.zip opie-074769a4adb816153e47d63087e9e326bd3a04bf.tar.gz opie-074769a4adb816153e47d63087e9e326bd3a04bf.tar.bz2 |
configuration dialog + color configurability throughout the program + popup menu on the channel person list
Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchanneltab.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.h b/noncore/net/opieirc/ircchanneltab.h index 2127c4d..971614b 100644 --- a/noncore/net/opieirc/ircchanneltab.h +++ b/noncore/net/opieirc/ircchanneltab.h | |||
@@ -12,49 +12,59 @@ | |||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | 18 | ||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef __IRCCHANNELTAB_H | 21 | #ifndef __IRCCHANNELTAB_H |
22 | #define __IRCCHANNELTAB_H | 22 | #define __IRCCHANNELTAB_H |
23 | 23 | ||
24 | #include <qpopupmenu.h> | ||
24 | #include <qpushbutton.h> | 25 | #include <qpushbutton.h> |
25 | #include "irctab.h" | 26 | #include "irctab.h" |
26 | #include "ircsession.h" | 27 | #include "ircsession.h" |
27 | #include "mainwindow.h" | 28 | #include "mainwindow.h" |
28 | #include "ircchannellist.h" | 29 | #include "ircchannellist.h" |
29 | 30 | ||
30 | #define LISTWIDTH 70 | 31 | #define LISTWIDTH 70 |
31 | 32 | ||
32 | class IRCServerTab; | 33 | class IRCServerTab; |
33 | class IRCChannelTab : public IRCTab { | 34 | class IRCChannelTab : public IRCTab { |
34 | Q_OBJECT | 35 | Q_OBJECT |
35 | public: | 36 | public: |
36 | /* IRCTab implementation */ | 37 | /* IRCTab implementation */ |
37 | IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 38 | IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
38 | ~IRCChannelTab(); | 39 | ~IRCChannelTab(); |
39 | QString title(); | 40 | QString title(); |
40 | IRCSession *session(); | 41 | IRCSession *session(); |
41 | IRCChannel *channel(); | 42 | IRCChannel *channel(); |
42 | IRCChannelList *list(); | 43 | IRCChannelList *list(); |
43 | public: | 44 | public: |
44 | void appendText(QString text); | 45 | void appendText(QString text); |
45 | public slots: | 46 | public slots: |
46 | void remove(); | 47 | void remove(); |
48 | void settingsChanged(); | ||
49 | protected slots: | ||
47 | void processCommand(); | 50 | void processCommand(); |
48 | void toggleList(); | 51 | void toggleList(); |
52 | void mouseButtonPressed(int mouse, QListBoxItem *item, const QPoint &point); | ||
53 | /* Popup slots */ | ||
54 | void popupQuery(); | ||
55 | void popupPing(); | ||
56 | void popupVersion(); | ||
57 | void popupWhois(); | ||
49 | protected: | 58 | protected: |
50 | IRCServerTab *m_parentTab; | 59 | IRCServerTab *m_parentTab; |
51 | IRCChannel *m_channel; | 60 | IRCChannel *m_channel; |
52 | IRCChannelList *m_list; | 61 | IRCChannelList *m_list; |
53 | QPushButton *m_listButton; | 62 | QPushButton *m_listButton; |
54 | MainWindow *m_mainWindow; | 63 | MainWindow *m_mainWindow; |
55 | QTextView *m_textview; | 64 | QTextView *m_textview; |
56 | QLineEdit *m_field; | 65 | QLineEdit *m_field; |
66 | QPopupMenu *m_popup; | ||
57 | bool m_listVisible; | 67 | bool m_listVisible; |
58 | }; | 68 | }; |
59 | 69 | ||
60 | #endif /* __IRCCHANNELTAB_H */ | 70 | #endif /* __IRCCHANNELTAB_H */ |