author | alwin <alwin> | 2005-03-02 12:05:55 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-02 12:05:55 (UTC) |
commit | b9d921e98946ee787ec995f44eb1b937d669b430 (patch) (unidiff) | |
tree | 7136aa32ca3d90c0b03ec21f855f32b7536eb339 /noncore/graphics/opie-eye/gui/imageview.h | |
parent | 374cb9f45664c307ab7d0ed88fea5e76631518d9 (diff) | |
download | opie-b9d921e98946ee787ec995f44eb1b937d669b430.zip opie-b9d921e98946ee787ec995f44eb1b937d669b430.tar.gz opie-b9d921e98946ee787ec995f44eb1b937d669b430.tar.bz2 |
fixed some problems in bigscreen mode and when rotating
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, 7 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h index f1067bb..e8c8df7 100644 --- a/noncore/graphics/opie-eye/gui/imageview.h +++ b/noncore/graphics/opie-eye/gui/imageview.h | |||
@@ -6,12 +6,14 @@ | |||
6 | #include <qwidget.h> | 6 | #include <qwidget.h> |
7 | 7 | ||
8 | class QTimer; | 8 | class QTimer; |
9 | class QActionGroup; | 9 | class QActionGroup; |
10 | class QAction; | 10 | class QAction; |
11 | 11 | ||
12 | class QCopChannel; | ||
13 | |||
12 | namespace Opie { | 14 | namespace Opie { |
13 | namespace Core { | 15 | namespace Core { |
14 | class OConfig; | 16 | class OConfig; |
15 | class OKeyConfigManager; | 17 | class OKeyConfigManager; |
16 | } | 18 | } |
17 | } | 19 | } |
@@ -54,23 +56,28 @@ signals: | |||
54 | protected: | 56 | protected: |
55 | Opie::Core::OConfig * m_cfg; | 57 | Opie::Core::OConfig * m_cfg; |
56 | Opie::Core::OKeyConfigManager*m_viewManager; | 58 | Opie::Core::OKeyConfigManager*m_viewManager; |
57 | void initKeys(); | 59 | void initKeys(); |
58 | bool m_isFullScreen:1; | 60 | bool m_isFullScreen:1; |
59 | bool m_ignore_next_in:1; | 61 | bool m_ignore_next_in:1; |
62 | bool m_Rotated:1; | ||
63 | |||
60 | int focus_in_count; | 64 | int focus_in_count; |
61 | QTimer*m_slideTimer; | 65 | QTimer*m_slideTimer; |
62 | int m_slideValue; | 66 | int m_slideValue; |
63 | virtual void focusInEvent ( QFocusEvent * ); | 67 | virtual void focusInEvent ( QFocusEvent * ); |
64 | QActionGroup *m_gDisplayType,*m_gPrevNext,*m_hGroup; | 68 | QActionGroup *m_gDisplayType,*m_gPrevNext,*m_hGroup; |
65 | bool closeIfHide:1; | 69 | bool closeIfHide:1; |
70 | QCopChannel* m_sysChannel; | ||
71 | int m_rotation; | ||
66 | 72 | ||
67 | public slots: | 73 | public slots: |
68 | virtual void hide(); | 74 | virtual void hide(); |
69 | virtual void startSlide(int); | 75 | virtual void startSlide(int); |
70 | virtual void nextSlide(); | 76 | virtual void nextSlide(); |
77 | virtual void systemMessage( const QCString&, const QByteArray& ); | ||
71 | 78 | ||
72 | protected slots: | 79 | protected slots: |
73 | virtual void slotShowImageInfo(); | 80 | virtual void slotShowImageInfo(); |
74 | virtual void keyReleaseEvent(QKeyEvent * e); | 81 | virtual void keyReleaseEvent(QKeyEvent * e); |
75 | virtual void contentsMousePressEvent ( QMouseEvent * e); | 82 | virtual void contentsMousePressEvent ( QMouseEvent * e); |
76 | }; | 83 | }; |