Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imageview.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.cpp b/noncore/graphics/opie-eye/gui/imageview.cpp index fbc4494..8e7f982 100644 --- a/noncore/graphics/opie-eye/gui/imageview.cpp +++ b/noncore/graphics/opie-eye/gui/imageview.cpp | |||
@@ -14,4 +14,5 @@ ImageView::ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name | |||
14 | m_viewManager = 0; | 14 | m_viewManager = 0; |
15 | m_cfg = cfg; | 15 | m_cfg = cfg; |
16 | m_isFullScreen = false; | ||
16 | initKeys(); | 17 | initKeys(); |
17 | } | 18 | } |
@@ -46,4 +47,5 @@ void ImageView::initKeys() | |||
46 | lst.append( Opie::Core::OKeyPair(Qt::Key_N,0)); | 47 | lst.append( Opie::Core::OKeyPair(Qt::Key_N,0)); |
47 | lst.append( Opie::Core::OKeyPair(Qt::Key_P,0)); | 48 | lst.append( Opie::Core::OKeyPair(Qt::Key_P,0)); |
49 | lst.append( Opie::Core::OKeyPair(Qt::Key_F,0)); | ||
48 | 50 | ||
49 | m_viewManager = new Opie::Core::OKeyConfigManager(m_cfg, "image_view_keys", | 51 | m_viewManager = new Opie::Core::OKeyConfigManager(m_cfg, "image_view_keys", |
@@ -51,12 +53,6 @@ void ImageView::initKeys() | |||
51 | m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("View Image Info"), "imageviewinfo", | 53 | m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("View Image Info"), "imageviewinfo", |
52 | Resource::loadPixmap("1to1"), ViewInfo, | 54 | Resource::loadPixmap("1to1"), ViewInfo, |
53 | Opie::Core::OKeyPair(Qt::Key_I,Qt::ShiftButton), | 55 | Opie::Core::OKeyPair(Qt::Key_I,0), |
54 | this, SLOT(slotShowImageInfo()))); | 56 | this, SLOT(slotShowImageInfo()))); |
55 | #if 0 | ||
56 | m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Next image"), "nextimage", | ||
57 | Resource::loadPixmap("next"), ViewInfo, | ||
58 | Opie::Core::OKeyPair(Qt::Key_N,0), | ||
59 | this, SLOT(slotDispNext()))); | ||
60 | #endif | ||
61 | m_viewManager->handleWidget( this ); | 57 | m_viewManager->handleWidget( this ); |
62 | m_viewManager->load(); | 58 | m_viewManager->load(); |
@@ -70,4 +66,5 @@ void ImageView::keyReleaseEvent(QKeyEvent * e) | |||
70 | if (e->key()==Qt::Key_N) slotDispNext(); | 66 | if (e->key()==Qt::Key_N) slotDispNext(); |
71 | if (e->key()==Qt::Key_P) slotDispPrev(); | 67 | if (e->key()==Qt::Key_P) slotDispPrev(); |
68 | if (e->key()==Qt::Key_F) emit toggleFullScreen(); | ||
72 | } | 69 | } |
73 | 70 | ||