branches/extragear/kde3/graphics/digikam/imageplugins/texture

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

branches/extragear/kde3/graphics/digikam/imageplugins/texture

Gilles Caulier-4
SVN commit 854739 by cgilles:

digiKam from KDE3 branch: Texture image plugin is now ported to Editor Tool API
CCMAIL: [hidden email]


 M  +1 -1      Makefile.am  
 D             imageeffect_texture.cpp  
 D             imageeffect_texture.h  
 M  +5 -3      imageplugin_texture.cpp  
 A             texturetool.cpp   imageeffect_texture.cpp#854290 [License: GPL (v2+)]
 A             texturetool.h   imageeffect_texture.h#854290 [License: GPL (v2+)]


--- branches/extragear/kde3/graphics/digikam/imageplugins/texture/Makefile.am #854738:854739
@@ -19,7 +19,7 @@
        $(all_includes)
 
 digikamimageplugin_texture_la_SOURCES = imageplugin_texture.cpp \
-                                    imageeffect_texture.cpp texture.cpp
+                                    texturetool.cpp texture.cpp
 
 digikamimageplugin_texture_la_LIBADD = $(LIB_KPARTS) \
                                    $(top_builddir)/digikam/digikam/libdigikam.la  
--- branches/extragear/kde3/graphics/digikam/imageplugins/texture/imageplugin_texture.cpp #854738:854739
@@ -33,10 +33,12 @@
 // Local includes.
 
 #include "ddebug.h"
-#include "imageeffect_texture.h"
+#include "texturetool.h"
 #include "imageplugin_texture.h"
 #include "imageplugin_texture.moc"
 
+using namespace DigikamTextureImagesPlugin;
+
 K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_texture,
                            KGenericFactory<ImagePlugin_Texture>("digikamimageplugin_texture"));
 
@@ -63,6 +65,6 @@
 
 void ImagePlugin_Texture::slotTexture()
 {
-    DigikamTextureImagesPlugin::ImageEffect_Texture dlg(kapp->activeWindow());
-    dlg.exec();
+    TextureTool *tool = new TextureTool(this);
+    loadTool(tool);
 }
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel