ImageViewer: Register the actions with the action manager

Merge-request: 2165
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
This commit is contained in:
Denis Mingulov
2010-06-18 11:02:50 +02:00
committed by Thorbjørn Lindeijer
parent 1f33357bb6
commit 89280929dc
10 changed files with 318 additions and 12 deletions

View File

@@ -37,6 +37,14 @@ namespace Constants {
const char * const IMAGEVIEWER_ID = "Editors.ImageViewer";
const char * const IMAGEVIEWER_DISPLAY_NAME = QT_TRANSLATE_NOOP("OpenWith::Editors", "Image Viewer");
// actions
const char * const ACTION_ZOOM_IN = "ImageViewer.ZoomIn";
const char * const ACTION_ZOOM_OUT = "ImageViewer.ZoomOut";
const char * const ACTION_ORIGINAL_SIZE = "ImageViewer.OriginalSize";
const char * const ACTION_FIT_TO_SCREEN = "ImageViewer.FitToScreen";
const char * const ACTION_BACKGROUND = "ImageViewer.Background";
const char * const ACTION_OUTLINE = "ImageViewer.Outline";
} // namespace Constants
} // namespace ImageViewer