summaryrefslogtreecommitdiffstats
path: root/src/gvimagepart
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvimagepart')
-rw-r--r--src/gvimagepart/gvimagepart.cpp8
-rw-r--r--src/gvimagepart/gvimagepart.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/gvimagepart/gvimagepart.cpp b/src/gvimagepart/gvimagepart.cpp
index 6b89051..0be5847 100644
--- a/src/gvimagepart/gvimagepart.cpp
+++ b/src/gvimagepart/gvimagepart.cpp
@@ -107,17 +107,17 @@ GVImagePart::GVImagePart(TQWidget* parentWidget, const char* /*widgetName*/, TQO
TQStringList mimeTypes=MimeTypeUtils::rasterImageMimeTypes();
mDirLister->setMimeFilter(mimeTypes);
- mPreviousImage=new KAction(i18n("&Previous Image"),
+ mPreviousImage=new TDEAction(i18n("&Previous Image"),
TQApplication::reverseLayout() ? "1rightarrow":"1leftarrow", Key_BackSpace,
this,TQT_SLOT(slotSelectPrevious()), actionCollection(), "previous");
- mNextImage=new KAction(i18n("&Next Image"),
+ mNextImage=new TDEAction(i18n("&Next Image"),
TQApplication::reverseLayout() ? "1leftarrow":"1rightarrow", Key_Space,
this,TQT_SLOT(slotSelectNext()), actionCollection(), "next");
updateNextPrevious();
KStdAction::saveAs( this, TQT_SLOT(saveAs()), actionCollection(), "saveAs" );
- new KAction(i18n("Rotate &Left"), "rotate_ccw", CTRL + Key_L, this, TQT_SLOT(rotateLeft()), actionCollection(), "rotate_left");
- new KAction(i18n("Rotate &Right"), "rotate_cw", CTRL + Key_R, this, TQT_SLOT(rotateRight()), actionCollection(), "rotate_right");
+ new TDEAction(i18n("Rotate &Left"), "rotate_ccw", CTRL + Key_L, this, TQT_SLOT(rotateLeft()), actionCollection(), "rotate_left");
+ new TDEAction(i18n("Rotate &Right"), "rotate_cw", CTRL + Key_R, this, TQT_SLOT(rotateRight()), actionCollection(), "rotate_right");
setXMLFile( "gvimagepart/gvimagepart.rc" );
}
diff --git a/src/gvimagepart/gvimagepart.h b/src/gvimagepart/gvimagepart.h
index 53c02dd..2fd6961 100644
--- a/src/gvimagepart/gvimagepart.h
+++ b/src/gvimagepart/gvimagepart.h
@@ -28,7 +28,7 @@ class TQFile;
class TQPoint;
class TDEAboutData;
-class KAction;
+class TDEAction;
class KDirLister;
class KFileItem;
@@ -152,8 +152,8 @@ private:
// for the next/previous actions
KDirLister* mDirLister;
- KAction* mNextImage;
- KAction* mPreviousImage;
+ TDEAction* mNextImage;
+ TDEAction* mPreviousImage;
// alphabetically sorted filenames of images in the picture's directory
TQStringList mImagesInDirectory;