summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageview.h
Unidiff
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h
index 640905a..2408211 100644
--- a/noncore/graphics/opie-eye/gui/imageview.h
+++ b/noncore/graphics/opie-eye/gui/imageview.h
@@ -13,49 +13,49 @@ namespace Opie {
13 namespace Core { 13 namespace Core {
14 class OConfig; 14 class OConfig;
15 class OKeyConfigManager; 15 class OKeyConfigManager;
16 } 16 }
17} 17}
18 18
19class ImageView:public Opie::MM::OImageScrollView 19class ImageView:public Opie::MM::OImageScrollView
20{ 20{
21 Q_OBJECT 21 Q_OBJECT
22 22
23 enum ActionIds { 23 enum ActionIds {
24 ViewInfo, 24 ViewInfo,
25 FullScreen, 25 FullScreen,
26 ShowNext, 26 ShowNext,
27 ShowPrevious, 27 ShowPrevious,
28 Zoomer, 28 Zoomer,
29 Autorotate, 29 Autorotate,
30 Autoscale 30 Autoscale
31 }; 31 };
32 32
33public: 33public:
34 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 );
35 virtual ~ImageView(); 35 virtual ~ImageView();
36 Opie::Core::OKeyConfigManager* manager(); 36 Opie::Core::OKeyConfigManager* manager();
37 void setFullScreen(bool how); 37 void setFullScreen(bool how,bool force=true);
38 bool fullScreen(){return m_isFullScreen;} 38 bool fullScreen(){return m_isFullScreen;}
39 virtual void enableFullscreen(); 39 virtual void enableFullscreen();
40 void stopSlide(); 40 void stopSlide();
41 void setMenuActions(QActionGroup*hGroup,QActionGroup*nextprevGroup, QActionGroup*disptypeGroup); 41 void setMenuActions(QActionGroup*hGroup,QActionGroup*nextprevGroup, QActionGroup*disptypeGroup);
42 42
43signals: 43signals:
44 void dispImageInfo(const QString&); 44 void dispImageInfo(const QString&);
45 void dispNext(); 45 void dispNext();
46 void dispPrev(); 46 void dispPrev();
47 void toggleFullScreen(); 47 void toggleFullScreen();
48 void hideMe(); 48 void hideMe();
49 void toggleZoomer(); 49 void toggleZoomer();
50 void toggleAutoscale(); 50 void toggleAutoscale();
51 void toggleAutorotate(); 51 void toggleAutorotate();
52 52
53protected: 53protected:
54 Opie::Core::OConfig * m_cfg; 54 Opie::Core::OConfig * m_cfg;
55 Opie::Core::OKeyConfigManager*m_viewManager; 55 Opie::Core::OKeyConfigManager*m_viewManager;
56 void initKeys(); 56 void initKeys();
57 bool m_isFullScreen:1; 57 bool m_isFullScreen:1;
58 bool m_ignore_next_in:1; 58 bool m_ignore_next_in:1;
59 int focus_in_count; 59 int focus_in_count;
60 QTimer*m_slideTimer; 60 QTimer*m_slideTimer;
61 int m_slideValue; 61 int m_slideValue;