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

Andi Clemens andi.clemens at gmx.net
Fri Aug 29 23:48:05 BST 2008


SVN commit 854637 by aclemens:

digiKam from trunk: Black & White plugin is now ported to Editor Tool API.
CCMAIL: digikam-devel at kde.org

 M  +1 -1      CMakeLists.txt  
 A             bwsepiatool.cpp   imageeffect_bwsepia.cpp#854597 [License: GPL (v2+)]
 A             bwsepiatool.h   imageeffect_bwsepia.h#854597 [License: GPL (v2+)]
 D             imageeffect_bwsepia.cpp  
 D             imageeffect_bwsepia.h  
 M  +3 -3      imageplugin_core.cpp  


--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #854636:854637
@@ -51,7 +51,7 @@
     ../../imageplugins/coreplugin/hsl/hspreviewwidget.cpp
     ../../imageplugins/coreplugin/hsl/imageeffect_hsl.cpp 
     ../../imageplugins/coreplugin/imageeffect_blur.cpp 
-    ../../imageplugins/coreplugin/imageeffect_bwsepia.cpp 
+    ../../imageplugins/coreplugin/bwsepiatool.cpp 
     ../../imageplugins/coreplugin/imageeffect_iccproof.cpp 
     ../../imageplugins/coreplugin/imageeffect_redeye.cpp 
     ../../imageplugins/coreplugin/imageeffect_rgb.cpp 
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #854636:854637
@@ -42,7 +42,7 @@
 #include "imageeffect_rgb.h"
 #include "imageeffect_hsl.h"
 #include "bcgtool.h"
-#include "imageeffect_bwsepia.h"
+#include "bwsepiatool.h"
 #include "imageeffect_redeye.h"
 #include "imageeffect_blur.h"
 #include "imageeffect_sharpen.h"
@@ -287,8 +287,8 @@
 
 void ImagePlugin_Core::slotBW()
 {
-    ImageEffect_BWSepia dlg(kapp->activeWindow());
-    dlg.exec();
+    BWSepiaTool *tool = new BWSepiaTool(kapp->activeWindow());
+    loadTool(tool);
 }
 
 void ImagePlugin_Core::slotHSL()



More information about the Digikam-devel mailing list