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 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h index f0e6541..640905a 100644 --- a/noncore/graphics/opie-eye/gui/imageview.h +++ b/noncore/graphics/opie-eye/gui/imageview.h | |||
@@ -3,12 +3,14 @@ | |||
3 | 3 | ||
4 | #include <opie2/oimagescrollview.h> | 4 | #include <opie2/oimagescrollview.h> |
5 | 5 | ||
6 | #include <qwidget.h> | 6 | #include <qwidget.h> |
7 | 7 | ||
8 | class QTimer; | 8 | class QTimer; |
9 | class QActionGroup; | ||
10 | class QAction; | ||
9 | 11 | ||
10 | namespace Opie { | 12 | namespace Opie { |
11 | namespace Core { | 13 | namespace Core { |
12 | class OConfig; | 14 | class OConfig; |
13 | class OKeyConfigManager; | 15 | class OKeyConfigManager; |
14 | } | 16 | } |
@@ -26,18 +28,20 @@ class ImageView:public Opie::MM::OImageScrollView | |||
26 | Zoomer, | 28 | Zoomer, |
27 | Autorotate, | 29 | Autorotate, |
28 | Autoscale | 30 | Autoscale |
29 | }; | 31 | }; |
30 | 32 | ||
31 | public: | 33 | public: |
32 | ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 ); | 34 | ImageView(Opie::Core::OConfig *cfg,QWidget* parent,const char* name = 0, WFlags fl = 0 ); |
33 | virtual ~ImageView(); | 35 | virtual ~ImageView(); |
34 | Opie::Core::OKeyConfigManager* manager(); | 36 | Opie::Core::OKeyConfigManager* manager(); |
35 | void setFullScreen(bool how); | 37 | void setFullScreen(bool how); |
36 | bool fullScreen(){return m_isFullScreen;} | 38 | bool fullScreen(){return m_isFullScreen;} |
37 | virtual void enableFullscreen(); | 39 | virtual void enableFullscreen(); |
40 | void stopSlide(); | ||
41 | void setMenuActions(QActionGroup*hGroup,QActionGroup*nextprevGroup, QActionGroup*disptypeGroup); | ||
38 | 42 | ||
39 | signals: | 43 | signals: |
40 | void dispImageInfo(const QString&); | 44 | void dispImageInfo(const QString&); |
41 | void dispNext(); | 45 | void dispNext(); |
42 | void dispPrev(); | 46 | void dispPrev(); |
43 | void toggleFullScreen(); | 47 | void toggleFullScreen(); |
@@ -53,12 +57,13 @@ protected: | |||
53 | bool m_isFullScreen:1; | 57 | bool m_isFullScreen:1; |
54 | bool m_ignore_next_in:1; | 58 | bool m_ignore_next_in:1; |
55 | int focus_in_count; | 59 | int focus_in_count; |
56 | QTimer*m_slideTimer; | 60 | QTimer*m_slideTimer; |
57 | int m_slideValue; | 61 | int m_slideValue; |
58 | virtual void focusInEvent ( QFocusEvent * ); | 62 | virtual void focusInEvent ( QFocusEvent * ); |
63 | QActionGroup *m_gDisplayType,*m_gPrevNext,*m_hGroup; | ||
59 | 64 | ||
60 | public slots: | 65 | public slots: |
61 | virtual void hide(); | 66 | virtual void hide(); |
62 | virtual void startSlide(int); | 67 | virtual void startSlide(int); |
63 | virtual void nextSlide(); | 68 | virtual void nextSlide(); |
64 | 69 | ||