[Digikam-devel] branches/extragear/kde3/graphics/digikam/imageplugins/blurfx

Gilles Caulier caulier.gilles at gmail.com
Sat Aug 30 09:55:54 BST 2008


SVN commit 854722 by cgilles:

digiKam from KDE3 branch: BlurFX image plugin is now ported to Editor Tool API
CCMAIL: digikam-devel at kde.org


 M  +1 -1      Makefile.am  
 A             blurfxtool.cpp   imageeffect_blurfx.cpp#854290 [License: GPL (v2+)]
 A             blurfxtool.h   imageeffect_blurfx.h#854290 [License: GPL (v2+)]
 D             imageeffect_blurfx.cpp  
 D             imageeffect_blurfx.h  
 M  +5 -3      imageplugin_blurfx.cpp  


--- branches/extragear/kde3/graphics/digikam/imageplugins/blurfx/Makefile.am #854721:854722
@@ -18,7 +18,7 @@
 	       $(all_includes) 
 
 digikamimageplugin_blurfx_la_SOURCES = imageplugin_blurfx.cpp \
-	                                   imageeffect_blurfx.cpp blurfx.cpp 
+	                                   blurfxtool.cpp blurfx.cpp 
 
 digikamimageplugin_blurfx_la_LIBADD = $(LIB_KPARTS) \
 	                                  $(top_builddir)/digikam/digikam/libdigikam.la 
--- branches/extragear/kde3/graphics/digikam/imageplugins/blurfx/imageplugin_blurfx.cpp #854721:854722
@@ -33,10 +33,12 @@
 // Local includes.
 
 #include "ddebug.h"
-#include "imageeffect_blurfx.h"
+#include "blurfxtool.h"
 #include "imageplugin_blurfx.h"
 #include "imageplugin_blurfx.moc"
 
+using namespace DigikamBlurFXImagesPlugin;
+
 K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_blurfx,
                            KGenericFactory<ImagePlugin_BlurFX>("digikamimageplugin_blurfx"));
 
@@ -63,6 +65,6 @@
 
 void ImagePlugin_BlurFX::slotBlurFX()
 {
-    DigikamBlurFXImagesPlugin::ImageEffect_BlurFX dlg(kapp->activeWindow());
-    dlg.exec();
+    BlurFXTool *tool = new BlurFXTool(this);
+    loadTool(tool);
 }



More information about the Digikam-devel mailing list