Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imageview.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h index 5f15bc9..f3c37b5 100644 --- a/noncore/graphics/opie-eye/gui/imageview.h +++ b/noncore/graphics/opie-eye/gui/imageview.h | |||
@@ -28,14 +28,14 @@ class ImageView:public Opie::MM::OImageScrollView | |||
28 | 28 | ||
29 | public: | 29 | public: |
30 | ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 ); | 30 | ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 ); |
31 | virtual ~ImageView(); | 31 | virtual ~ImageView(); |
32 | Opie::Core::OKeyConfigManager* manager(); | 32 | Opie::Core::OKeyConfigManager* manager(); |
33 | void setFullScreen(bool how); | 33 | void setFullScreen(bool how); |
34 | virtual void enableFullscreen(); | ||
35 | bool fullScreen(){return m_isFullScreen;} | 34 | bool fullScreen(){return m_isFullScreen;} |
35 | virtual void enableFullscreen(); | ||
36 | 36 | ||
37 | signals: | 37 | signals: |
38 | void dispImageInfo(const QString&); | 38 | void dispImageInfo(const QString&); |
39 | void dispNext(); | 39 | void dispNext(); |
40 | void dispPrev(); | 40 | void dispPrev(); |
41 | void toggleFullScreen(); | 41 | void toggleFullScreen(); |
@@ -46,17 +46,16 @@ signals: | |||
46 | 46 | ||
47 | protected: | 47 | protected: |
48 | Opie::Core::OConfig * m_cfg; | 48 | Opie::Core::OConfig * m_cfg; |
49 | Opie::Core::OKeyConfigManager*m_viewManager; | 49 | Opie::Core::OKeyConfigManager*m_viewManager; |
50 | void initKeys(); | 50 | void initKeys(); |
51 | bool m_isFullScreen:1; | 51 | bool m_isFullScreen:1; |
52 | bool m_focus_out:1; | 52 | bool m_ignore_next_in:1; |
53 | bool block_next_focus:1; | 53 | int focus_in_count; |
54 | |||
55 | virtual void focusInEvent ( QFocusEvent * ); | 54 | virtual void focusInEvent ( QFocusEvent * ); |
56 | virtual void focusOutEvent ( QFocusEvent * ); | 55 | |
57 | 56 | ||
58 | protected slots: | 57 | protected slots: |
59 | virtual void slotShowImageInfo(); | 58 | virtual void slotShowImageInfo(); |
60 | virtual void keyReleaseEvent(QKeyEvent * e); | 59 | virtual void keyReleaseEvent(QKeyEvent * e); |
61 | virtual void contentsMousePressEvent ( QMouseEvent * e); | 60 | virtual void contentsMousePressEvent ( QMouseEvent * e); |
62 | }; | 61 | }; |
@@ -68,13 +67,11 @@ public: | |||
68 | ImageWidget(QWidget * parent=0, const char * name=0, WFlags f = WStyle_Customize | WStyle_NoBorder); | 67 | ImageWidget(QWidget * parent=0, const char * name=0, WFlags f = WStyle_Customize | WStyle_NoBorder); |
69 | virtual ~ImageWidget(){}; | 68 | virtual ~ImageWidget(){}; |
70 | 69 | ||
71 | protected: | 70 | protected: |
72 | 71 | ||
73 | public slots: | 72 | public slots: |
74 | virtual void show(); | ||
75 | virtual void hide(); | ||
76 | 73 | ||
77 | protected slots: | 74 | protected slots: |
78 | }; | 75 | }; |
79 | 76 | ||
80 | #endif | 77 | #endif |