Diffstat (limited to 'noncore/net/opieirc/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/mainwindow.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/opieirc/mainwindow.h b/noncore/net/opieirc/mainwindow.h index d057178..9946f10 100644 --- a/noncore/net/opieirc/mainwindow.h +++ b/noncore/net/opieirc/mainwindow.h | |||
@@ -21,28 +21,30 @@ | |||
21 | #ifndef __MAINWINDOW_H | 21 | #ifndef __MAINWINDOW_H |
22 | #define __MAINWINDOW_H | 22 | #define __MAINWINDOW_H |
23 | 23 | ||
24 | #include <qmainwindow.h> | 24 | #include <qmainwindow.h> |
25 | #include <qaction.h> | 25 | #include <qaction.h> |
26 | #include <qlist.h> | 26 | #include <qlist.h> |
27 | #include <qtabwidget.h> | ||
28 | #include "mainwindow.h" | 27 | #include "mainwindow.h" |
28 | #include "ircmisc.h" | ||
29 | #include "irctab.h" | 29 | #include "irctab.h" |
30 | 30 | ||
31 | class MainWindow : public QMainWindow { | 31 | class MainWindow : public QMainWindow { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | public: | 33 | public: |
34 | MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 34 | MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
35 | 35 | ||
36 | void addTab(IRCTab *tab); | 36 | void addTab(IRCTab *tab); |
37 | void killTab(IRCTab *tab); | 37 | void killTab(IRCTab *tab); |
38 | protected slots: | 38 | protected slots: |
39 | void newConnection(); | 39 | void newConnection(); |
40 | void settings(); | 40 | void settings(); |
41 | void selected(QWidget *); | ||
42 | void changeEvent(IRCTab *); | ||
41 | protected: | 43 | protected: |
42 | void loadSettings(); | 44 | void loadSettings(); |
43 | protected: | 45 | protected: |
44 | QTabWidget *m_tabWidget; | 46 | IRCTabWidget *m_tabWidget; |
45 | QList<IRCTab> m_tabs; | 47 | QList<IRCTab> m_tabs; |
46 | }; | 48 | }; |
47 | 49 | ||
48 | #endif /* __MAINWINDOW_H */ | 50 | #endif /* __MAINWINDOW_H */ |