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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h index e9b16d0..adb5dc2 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.h +++ b/noncore/graphics/opie-eye/gui/mainwindow.h | |||
@@ -1,50 +1,51 @@ | |||
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> | 9 | #include <opie2/oconfig.h> |
10 | 10 | ||
11 | #include <qmainwindow.h> | 11 | #include <qmainwindow.h> |
12 | 12 | ||
13 | 13 | ||
14 | 14 | ||
15 | namespace Opie { | 15 | namespace Opie { |
16 | namespace Ui{ | 16 | namespace Ui{ |
17 | class OWidgetStack; | 17 | class OWidgetStack; |
18 | } | 18 | } |
19 | namespace Core{ | 19 | namespace Core{ |
20 | class OKeyConfigManager; | 20 | class OKeyConfigManager; |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | class ImageView; | ||
24 | class PIconView; | 25 | class PIconView; |
25 | class imageinfo; | 26 | class imageinfo; |
26 | class ImageView; | 27 | |
27 | class PMainWindow : public QMainWindow { | 28 | class PMainWindow : public QMainWindow { |
28 | Q_OBJECT | 29 | Q_OBJECT |
29 | enum Views { IconView, ImageInfo, ImageDisplay }; | 30 | enum Views { IconView, ImageInfo, ImageDisplay }; |
30 | public: | 31 | public: |
31 | static QString appName() { return QString::fromLatin1("opie-eye" ); } | 32 | static QString appName() { return QString::fromLatin1("opie-eye" ); } |
32 | PMainWindow(QWidget*, const char*, WFlags ); | 33 | PMainWindow(QWidget*, const char*, WFlags ); |
33 | ~PMainWindow(); | 34 | ~PMainWindow(); |
34 | 35 | ||
35 | signals: | 36 | signals: |
36 | void configChanged(); | 37 | void configChanged(); |
37 | 38 | ||
38 | public slots: | 39 | public slots: |
39 | void slotShowInfo( const QString& inf ); | 40 | void slotShowInfo( const QString& inf ); |
40 | void slotDisplay( const QString& inf ); | 41 | void slotDisplay( const QString& inf ); |
41 | void slotReturn(); | 42 | void slotReturn(); |
42 | void slotRotateToggled(bool); | 43 | void slotRotateToggled(bool); |
43 | void slotScaleToggled(bool); | 44 | void slotScaleToggled(bool); |
44 | void slotZoomerToggled(bool); | 45 | void slotZoomerToggled(bool); |
45 | void setDocument( const QString& ); | 46 | void setDocument( const QString& ); |
46 | 47 | ||
47 | protected: | 48 | protected: |
48 | void raiseIconView(); | 49 | void raiseIconView(); |
49 | void closeEvent( QCloseEvent* ); | 50 | void closeEvent( QCloseEvent* ); |
50 | 51 | ||