SVN commit 854937 by cgilles:
digiKam from trunk : Hot Pixels image plugin is now ported to Editor Tool API
CCMAIL:
[hidden email]
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);
}
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel