summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageview.cpp
Unidiff
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.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.cpp b/noncore/graphics/opie-eye/gui/imageview.cpp
index b919ca8..cda1a96 100644
--- a/noncore/graphics/opie-eye/gui/imageview.cpp
+++ b/noncore/graphics/opie-eye/gui/imageview.cpp
@@ -5,4 +5,4 @@
5#include <opie2/okeyconfigwidget.h> 5#include <opie2/okeyconfigwidget.h>
6#include <opie2/oresource.h>
6 7
7#include <qpe/resource.h>
8#include <qpe/qpeapplication.h> 8#include <qpe/qpeapplication.h>
@@ -165,4 +165,4 @@ void ImageView::initKeys()
165 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("View Image Info"), "imageviewinfo", 165 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("View Image Info"), "imageviewinfo",
166 Resource::loadPixmap("1to1"), ViewInfo, 166 Opie::Core::OResource::loadPixmap("1to1", Opie::Core::OResource::SmallIcon),
167 Opie::Core::OKeyPair(Qt::Key_I,0), 167 ViewInfo, Opie::Core::OKeyPair(Qt::Key_I,0),
168 this, SLOT(slotShowImageInfo()))); 168 this, SLOT(slotShowImageInfo())));
@@ -170,8 +170,8 @@ void ImageView::initKeys()
170 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle autorotate"), "imageautorotate", 170 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle autorotate"), "imageautorotate",
171 Resource::loadPixmap("rotate"), Autorotate, 171 Opie::Core::OResource::loadPixmap("rotate", Opie::Core::OResource::SmallIcon),
172 Opie::Core::OKeyPair(Qt::Key_R,0), 172 Autorotate, Opie::Core::OKeyPair(Qt::Key_R,0),
173 this, SIGNAL(toggleAutorotate()))); 173 this, SIGNAL(toggleAutorotate())));
174 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle autoscale"), "imageautoscale", 174 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle autoscale"), "imageautoscale",
175 Resource::loadPixmap("1to1"), Autoscale, 175 Opie::Core::OResource::loadPixmap("1to1", Opie::Core::OResource::SmallIcon),
176 Opie::Core::OKeyPair(Qt::Key_S,0), 176 Autoscale, Opie::Core::OKeyPair(Qt::Key_S,0),
177 this, SIGNAL(toggleAutoscale()))); 177 this, SIGNAL(toggleAutoscale())));
@@ -179,16 +179,16 @@ void ImageView::initKeys()
179 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Switch to next image"), "imageshownext", 179 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Switch to next image"), "imageshownext",
180 Resource::loadPixmap("forward"), ShowNext, 180 Opie::Core::OResource::loadPixmap("forward", Opie::Core::OResource::SmallIcon),
181 Opie::Core::OKeyPair(Qt::Key_Return,0), 181 ShowNext, Opie::Core::OKeyPair(Qt::Key_Return,0),
182 this, SIGNAL(dispNext()))); 182 this, SIGNAL(dispNext())));
183 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Switch to previous image"), "imageshowprev", 183 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Switch to previous image"), "imageshowprev",
184 Resource::loadPixmap("back"), ShowPrevious, 184 Opie::Core::OResource::loadPixmap("back", Opie::Core::OResource::SmallIcon),
185 Opie::Core::OKeyPair(Qt::Key_P,0), 185 ShowPrevious, Opie::Core::OKeyPair(Qt::Key_P,0),
186 this, SIGNAL(dispPrev()))); 186 this, SIGNAL(dispPrev())));
187 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle fullscreen"), "imagefullscreen", 187 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle fullscreen"), "imagefullscreen",
188 Resource::loadPixmap("fullscreen"), FullScreen, 188 Opie::Core::OResource::loadPixmap("fullscreen", Opie::Core::OResource::SmallIcon),
189 Opie::Core::OKeyPair(Qt::Key_F,0), 189 FullScreen, Opie::Core::OKeyPair(Qt::Key_F,0),
190 this, SIGNAL(toggleFullScreen()))); 190 this, SIGNAL(toggleFullScreen())));
191 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle thumbnail"), "imagezoomer", 191 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Toggle thumbnail"), "imagezoomer",
192 Resource::loadPixmap("mag"), Zoomer, 192 Opie::Core::OResource::loadPixmap("mag", Opie::Core::OResource::SmallIcon),
193 Opie::Core::OKeyPair(Qt::Key_T,0), 193 Zoomer, Opie::Core::OKeyPair(Qt::Key_T,0),
194 this, SIGNAL(toggleZoomer()))); 194 this, SIGNAL(toggleZoomer())));
@@ -196,8 +196,8 @@ void ImageView::initKeys()
196 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Increase brightness"), "incbrightness", 196 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Increase brightness"), "incbrightness",
197 Resource::loadPixmap("up"), Incbrightness, 197 Opie::Core::OResource::loadPixmap("up", Opie::Core::OResource::SmallIcon),
198 Opie::Core::OKeyPair(Qt::Key_B,0), 198 Incbrightness, Opie::Core::OKeyPair(Qt::Key_B,0),
199 this, SIGNAL(incBrightness()))); 199 this, SIGNAL(incBrightness())));
200 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Decrease brightness"), "decbrightness", 200 m_viewManager->addKeyConfig( Opie::Core::OKeyConfigItem(tr("Decrease brightness"), "decbrightness",
201 Resource::loadPixmap("down"), Decbrightness, 201 Opie::Core::OResource::loadPixmap("down", Opie::Core::OResource::SmallIcon),
202 Opie::Core::OKeyPair(Qt::Key_D,0), 202 Decbrightness, Opie::Core::OKeyPair(Qt::Key_D,0),
203 this, SIGNAL(decBrightness()))); 203 this, SIGNAL(decBrightness())));