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 1f90f9f..9e94c60 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.h +++ b/noncore/graphics/opie-eye/gui/mainwindow.h | |||
@@ -13,24 +13,25 @@ | |||
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 ImageView; |
25 | class ImageWidget; | ||
25 | class PIconView; | 26 | class PIconView; |
26 | class imageinfo; | 27 | class imageinfo; |
27 | 28 | ||
28 | class PMainWindow : public QMainWindow { | 29 | class PMainWindow : public QMainWindow { |
29 | Q_OBJECT | 30 | Q_OBJECT |
30 | enum Views { IconView, ImageInfo, ImageDisplay }; | 31 | enum Views { IconView, ImageInfo, ImageDisplay }; |
31 | public: | 32 | public: |
32 | static QString appName() { return QString::fromLatin1("opie-eye" ); } | 33 | static QString appName() { return QString::fromLatin1("opie-eye" ); } |
33 | PMainWindow(QWidget*, const char*, WFlags ); | 34 | PMainWindow(QWidget*, const char*, WFlags ); |
34 | ~PMainWindow(); | 35 | ~PMainWindow(); |
35 | 36 | ||
36 | signals: | 37 | signals: |
@@ -58,21 +59,21 @@ private: | |||
58 | void initInfo(); | 59 | void initInfo(); |
59 | void initDisp(); | 60 | void initDisp(); |
60 | 61 | ||
61 | private: | 62 | private: |
62 | Opie::Core::OConfig *m_cfg; | 63 | Opie::Core::OConfig *m_cfg; |
63 | Opie::Ui::OWidgetStack *m_stack; | 64 | Opie::Ui::OWidgetStack *m_stack; |
64 | PIconView* m_view; | 65 | PIconView* m_view; |
65 | imageinfo *m_info; | 66 | imageinfo *m_info; |
66 | ImageView *m_disp; | 67 | ImageView *m_disp; |
67 | bool autoRotate; | 68 | bool autoRotate; |
68 | bool autoScale; | 69 | bool autoScale; |
69 | bool zoomerOn; | 70 | bool zoomerOn; |
70 | QWidget*tFrame; | 71 | ImageWidget*tFrame; |
71 | QToolButton*rotateButton,*upButton,*fsButton,*viewModeButton; | 72 | QToolButton*rotateButton,*upButton,*fsButton,*viewModeButton; |
72 | QToolButton*nextButton,*prevButton,*zoomButton,*scaleButton; | 73 | QToolButton*nextButton,*prevButton,*zoomButton,*scaleButton; |
73 | 74 | ||
74 | private slots: | 75 | private slots: |
75 | void slotConfig(); | 76 | void slotConfig(); |
76 | }; | 77 | }; |
77 | 78 | ||
78 | #endif | 79 | #endif |