extragear/graphics/digikam/imageplugins/coreplugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

extragear/graphics/digikam/imageplugins/coreplugin

Bugzilla from andi.clemens@gmx.net
SVN commit 854617 by aclemens:

digiKam from trunk: BCG plugin is now ported to Editor Tool API.
CCMAIL: [hidden email]

 M  +10 -10    CMakeLists.txt  
 A             bcgtool.cpp   imageeffect_bcg.cpp#854597 [License: GPL (v2+)]
 A             bcgtool.h   imageeffect_bcg.h#854597 [License: GPL (v2+)]
 D             imageeffect_bcg.cpp  
 D             imageeffect_bcg.h  
 M  +3 -3      imageplugin_core.cpp  


--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #854616:854617
@@ -46,22 +46,22 @@
 
 SET(digikamimageplugin_core_PART_SRCS
     ${libclapack_SRCS}
-    ../../imageplugins/coreplugin/imageplugin_core.cpp
     ../../imageplugins/coreplugin/autocorrectiontool.cpp
-    ../../imageplugins/coreplugin/imageeffect_bcg.cpp
-    ../../imageplugins/coreplugin/imageeffect_rgb.cpp
+    ../../imageplugins/coreplugin/bcgtool.cpp
+    ../../imageplugins/coreplugin/hsl/hspreviewwidget.cpp
+    ../../imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
     ../../imageplugins/coreplugin/imageeffect_blur.cpp
+    ../../imageplugins/coreplugin/imageeffect_bwsepia.cpp
+    ../../imageplugins/coreplugin/imageeffect_iccproof.cpp
     ../../imageplugins/coreplugin/imageeffect_redeye.cpp
-    ../../imageplugins/coreplugin/imageeffect_iccproof.cpp
-    ../../imageplugins/coreplugin/imageeffect_bwsepia.cpp
-    ../../imageplugins/coreplugin/hsl/hspreviewwidget.cpp
-    ../../imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
+    ../../imageplugins/coreplugin/imageeffect_rgb.cpp
+    ../../imageplugins/coreplugin/imageplugin_core.cpp
+    ../../imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp
+    ../../imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp
+    ../../imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp
     ../../imageplugins/coreplugin/sharpnesseditor/matrix.cpp
     ../../imageplugins/coreplugin/sharpnesseditor/refocus.cpp
     ../../imageplugins/coreplugin/sharpnesseditor/unsharp.cpp
-    ../../imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp
-    ../../imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp
-    ../../imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp
    )
 
 
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #854616:854617
@@ -41,7 +41,7 @@
 #include "imageiface.h"
 #include "imageeffect_rgb.h"
 #include "imageeffect_hsl.h"
-#include "imageeffect_bcg.h"
+#include "bcgtool.h"
 #include "imageeffect_bwsepia.h"
 #include "imageeffect_redeye.h"
 #include "imageeffect_blur.h"
@@ -236,8 +236,8 @@
 
 void ImagePlugin_Core::slotBCG()
 {
-    ImageEffect_BCG dlg(kapp->activeWindow());
-    dlg.exec();
+    BCGTool *tool = new BCGTool(kapp->activeWindow());
+    loadTool(tool);
 }
 
 void ImagePlugin_Core::slotRGB()
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel