Diffstat (limited to 'noncore/net/opieirc/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/mainwindow.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/net/opieirc/mainwindow.h b/noncore/net/opieirc/mainwindow.h index dcb782f..d057178 100644 --- a/noncore/net/opieirc/mainwindow.h +++ b/noncore/net/opieirc/mainwindow.h | |||
@@ -20,12 +20,13 @@ | |||
20 | 20 | ||
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 <qtabwidget.h> | 27 | #include <qtabwidget.h> |
27 | #include "mainwindow.h" | 28 | #include "mainwindow.h" |
28 | #include "irctab.h" | 29 | #include "irctab.h" |
29 | 30 | ||
30 | class MainWindow : public QMainWindow { | 31 | class MainWindow : public QMainWindow { |
31 | Q_OBJECT | 32 | Q_OBJECT |
@@ -33,13 +34,15 @@ public: | |||
33 | MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 34 | MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
34 | 35 | ||
35 | void addTab(IRCTab *tab); | 36 | void addTab(IRCTab *tab); |
36 | void killTab(IRCTab *tab); | 37 | void killTab(IRCTab *tab); |
37 | protected slots: | 38 | protected slots: |
38 | void newConnection(); | 39 | void newConnection(); |
39 | void closeTab(); | 40 | void settings(); |
40 | void tabSelected(QWidget *widget); | 41 | protected: |
42 | void loadSettings(); | ||
41 | protected: | 43 | protected: |
42 | QTabWidget *m_tabWidget; | 44 | QTabWidget *m_tabWidget; |
45 | QList<IRCTab> m_tabs; | ||
43 | }; | 46 | }; |
44 | 47 | ||
45 | #endif /* __MAINWINDOW_H */ | 48 | #endif /* __MAINWINDOW_H */ |