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

Gilles Caulier caulier.gilles at gmail.com
Sat Aug 30 18:30:37 BST 2008


SVN commit 854937 by cgilles:

digiKam from trunk : Hot Pixels image plugin is now ported to Editor Tool API
CCMAIL: digikam-devel at kde.org


 M  +1 -1      CMakeLists.txt  
 A             hotpixelstool.cpp   imageeffect_hotpixels.cpp#854875 [License: GPL (v2+)]
 A             hotpixelstool.h   imageeffect_hotpixels.h#854875 [License: GPL (v2+)]
 D             imageeffect_hotpixels.cpp  
 D             imageeffect_hotpixels.h  
 M  +5 -3      imageplugin_hotpixels.cpp  


--- trunk/extragear/graphics/digikam/imageplugins/hotpixels/CMakeLists.txt #854936:854937
@@ -4,7 +4,7 @@
                                            hotpixelfixer.cpp
                                            blackframelistview.cpp
                                            imageplugin_hotpixels.cpp
-                                           imageeffect_hotpixels.cpp 
+                                           hotpixelstool.cpp 
    )
 
 KDE4_ADD_PLUGIN(digikamimageplugin_hotpixels ${digikamimageplugin_hotpixels_PART_SRCS})
--- trunk/extragear/graphics/digikam/imageplugins/hotpixels/imageplugin_hotpixels.cpp #854936:854937
@@ -36,10 +36,12 @@
 // Local includes.
 
 #include "ddebug.h"
-#include "imageeffect_hotpixels.h"
+#include "hotpixelstool.h"
 #include "imageplugin_hotpixels.h"
 #include "imageplugin_hotpixels.moc"
 
+using namespace DigikamHotPixelsImagesPlugin;
+
 K_PLUGIN_FACTORY( HotPixelsFactory, registerPlugin<ImagePlugin_HotPixels>(); )
 K_EXPORT_PLUGIN ( HotPixelsFactory("digikamimageplugin_hotpixels") )
 
@@ -68,6 +70,6 @@
 
 void ImagePlugin_HotPixels::slotHotPixels()
 {
-    DigikamHotPixelsImagesPlugin::ImageEffect_HotPixels dlg(kapp->activeWindow());
-    dlg.exec();
+    HotPixelsTool *tool = new HotPixelsTool(this);
+    loadTool(tool);
 }



More information about the Digikam-devel mailing list