Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h index 408fe32..317a51e 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.h +++ b/noncore/graphics/opie-eye/gui/mainwindow.h | |||
@@ -1,29 +1,38 @@ | |||
1 | /* | 1 | /* |
2 | * GPLv2 zecke@handhelds.org | 2 | * GPLv2 zecke@handhelds.org |
3 | * No WArranty... | 3 | * No WArranty... |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef PHUNK_MAIN_WINDOW_H | 6 | #ifndef PHUNK_MAIN_WINDOW_H |
7 | #define PHUNK_MAIN_WINDOW_H | 7 | #define PHUNK_MAIN_WINDOW_H |
8 | 8 | ||
9 | #include <opie2/oconfig.h> | ||
10 | |||
9 | #include <qmainwindow.h> | 11 | #include <qmainwindow.h> |
10 | 12 | ||
11 | #include <qpe/config.h> | 13 | |
14 | |||
15 | namespace Opie { | ||
16 | namespace Ui{ | ||
17 | class OKeyConfigManager; | ||
18 | } | ||
19 | } | ||
12 | 20 | ||
13 | class PIconView; | 21 | class PIconView; |
14 | class PMainWindow : public QMainWindow { | 22 | class PMainWindow : public QMainWindow { |
15 | Q_OBJECT | 23 | Q_OBJECT |
16 | public: | 24 | public: |
17 | static QString appName() { return QString::fromLatin1("opie-eye" ); } | 25 | static QString appName() { return QString::fromLatin1("opie-eye" ); } |
18 | PMainWindow(QWidget*, const char*, WFlags ); | 26 | PMainWindow(QWidget*, const char*, WFlags ); |
19 | ~PMainWindow(); | 27 | ~PMainWindow(); |
20 | 28 | ||
21 | private: | 29 | private: |
22 | Config m_cfg; | 30 | Opie::Core::OConfig *m_cfg; |
23 | PIconView* m_view; | 31 | PIconView* m_view; |
24 | 32 | ||
33 | |||
25 | private slots: | 34 | private slots: |
26 | void slotConfig(); | 35 | void slotConfig(); |
27 | }; | 36 | }; |
28 | 37 | ||
29 | #endif | 38 | #endif |