author | alwin <alwin> | 2004-04-07 11:10:21 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-07 11:10:21 (UTC) |
commit | 6095b1f70bcac407208e7473598f2bbf53339810 (patch) (unidiff) | |
tree | e76d8ad85b79de56a7aa7dd95c824da485901c6f /noncore/graphics/opie-eye/gui/imageview.h | |
parent | 364971c08f3d761102daab01889b9fab394f8f08 (diff) | |
download | opie-6095b1f70bcac407208e7473598f2bbf53339810.zip opie-6095b1f70bcac407208e7473598f2bbf53339810.tar.gz opie-6095b1f70bcac407208e7473598f2bbf53339810.tar.bz2 |
the ImageScrollView wrapped with another class where just the
opie-eye specifics are implemented. So we can move that into the
MM lib and use it in other programs.
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 | ||