[Digikam-devel] extragear/graphics/digikam/imageplugins/coreplugin

Gilles Caulier caulier.gilles at gmail.com
Mon Sep 1 10:54:14 BST 2008


SVN commit 855641 by cgilles:

digiKAm from trunk: Sharpen image plugin is now ported to EditorTool API
CCMAIL: digikam-devel at kde.org


 M  +1 -1      CMakeLists.txt  
 M  +3 -3      blurtool.h  
 M  +4 -4      imageplugin_core.cpp  
 D             sharpnesseditor/imageeffect_sharpen.cpp  
 D             sharpnesseditor/imageeffect_sharpen.h  
 A             sharpnesseditor/sharpentool.cpp   sharpnesseditor/imageeffect_sharpen.cpp#855625 [License: GPL (v2+)]
 A             sharpnesseditor/sharpentool.h   sharpnesseditor/imageeffect_sharpen.h#855625 [License: GPL (v2+)]


--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #855640:855641
@@ -58,7 +58,7 @@
     ../../imageplugins/coreplugin/ratiocrop/ratiocroptool.cpp 
     ../../imageplugins/coreplugin/redeyetool.cpp 
     ../../imageplugins/coreplugin/rgbtool.cpp 
-    ../../imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp 
+    ../../imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp 
     ../../imageplugins/coreplugin/sharpnesseditor/matrix.cpp
     ../../imageplugins/coreplugin/sharpnesseditor/refocus.cpp
     ../../imageplugins/coreplugin/sharpnesseditor/unsharp.cpp
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/blurtool.h #855640:855641
@@ -21,8 +21,8 @@
  *
  * ============================================================ */
 
-#ifndef IMAGEEFFECT_BLUR_H
-#define IMAGEEFFECT_BLUR_H
+#ifndef BLURTOOL_H
+#define BLURTOOL_H
 
 // Digikam includes.
 
@@ -77,4 +77,4 @@
 
 }  // NameSpace DigikamImagesPluginCore
 
-#endif /* IMAGEEFFECT_BLUR_H */
+#endif /* BLURTOOL_H */
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #855640:855641
@@ -46,7 +46,7 @@
 #include "iccprooftool.h"
 #include "blurtool.h"
 #include "ratiocroptool.h"
-#include "imageeffect_sharpen.h"
+#include "sharpentool.h"
 #include "redeyetool.h"
 #include "rgbtool.h"
 #include "imageplugin_core.h"
@@ -254,7 +254,7 @@
 
 void ImagePlugin_Core::slotAutoCorrection()
 {
-    AutoCorrectionTool *tool = new AutoCorrectionTool(kapp->activeWindow());
+    AutoCorrectionTool *tool = new AutoCorrectionTool(this);
     loadTool(tool);
 }
 
@@ -299,8 +299,8 @@
 
 void ImagePlugin_Core::slotSharpen()
 {
-    ImageEffect_Sharpen dlg(kapp->activeWindow());
-    dlg.exec();
+    SharpenTool *tool = new SharpenTool(this);
+    loadTool(tool);
 }
 
 void ImagePlugin_Core::slotRatioCrop()



More information about the Digikam-devel mailing list