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 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h index f467f00..32f7e11 100644 --- a/noncore/graphics/opie-eye/gui/imageview.h +++ b/noncore/graphics/opie-eye/gui/imageview.h @@ -12,29 +12,35 @@ namespace Opie { class ImageView:public Opie::MM::OImageScrollView { Q_OBJECT enum ActionIds { - ViewInfo + ViewInfo, + FullScreen }; public: ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 ); virtual ~ImageView(); Opie::Core::OKeyConfigManager* manager(); + void setFullScreen(bool how){m_isFullScreen = how;} + bool fullScreen(){return m_isFullScreen;} signals: void dispImageInfo(const QString&); void dispNext(); void dispPrev(); + void toggleFullScreen(); protected: Opie::Core::OConfig * m_cfg; Opie::Core::OKeyConfigManager*m_viewManager; void initKeys(); + bool m_isFullScreen:1; + protected slots: virtual void slotShowImageInfo(); virtual void slotDispNext(); virtual void slotDispPrev(); virtual void keyReleaseEvent(QKeyEvent * e); }; |