Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imageview.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h new file mode 100644 index 0000000..5ee0d7d --- a/dev/null +++ b/noncore/graphics/opie-eye/gui/imageview.h | |||
@@ -0,0 +1,40 @@ | |||
1 | #ifndef _IMAGE_VIEW_H | ||
2 | #define _IMAGE_VIEW_H | ||
3 | |||
4 | /* must be changed when it will moved to Opie::MM */ | ||
5 | #include "imagescrollview.h" | ||
6 | |||
7 | namespace Opie { | ||
8 | namespace Core { | ||
9 | class OConfig; | ||
10 | } | ||
11 | namespace Ui { | ||
12 | class OKeyConfigManager; | ||
13 | } | ||
14 | } | ||
15 | |||
16 | class ImageView:public ImageScrollView | ||
17 | { | ||
18 | Q_OBJECT | ||
19 | |||
20 | enum ActionIds { | ||
21 | ViewInfo | ||
22 | }; | ||
23 | |||
24 | public: | ||
25 | ImageView( QWidget* parent, const char* name = 0, WFlags fl = 0 ); | ||
26 | virtual ~ImageView(); | ||
27 | Opie::Ui::OKeyConfigManager* manager(); | ||
28 | |||
29 | signals: | ||
30 | void dispImageInfo(const QString&); | ||
31 | void sig_return(); | ||
32 | |||
33 | protected: | ||
34 | Opie::Core::OConfig * m_cfg; | ||
35 | Opie::Ui::OKeyConfigManager*m_viewManager; | ||
36 | void initKeys(); | ||
37 | protected slots: | ||
38 | virtual void slotShowImageInfo(); | ||
39 | }; | ||
40 | #endif | ||