SVN commit 854841 by cgilles:
digiKam from KDE3 branch : "Et voilà!!!", the last image plugin is ported to Editor Tool API
CCMAIL:
[hidden email]
M +1 -1 Makefile.am
A embosstool.cpp imageeffect_emboss.cpp#854290 [License: GPL (v2+)]
A embosstool.h imageeffect_emboss.h#854290 [License: GPL (v2+)]
D imageeffect_emboss.cpp
D imageeffect_emboss.h
M +5 -3 imageplugin_emboss.cpp
--- branches/extragear/kde3/graphics/digikam/imageplugins/emboss/Makefile.am #854840:854841
@@ -18,7 +18,7 @@
$(all_includes)
digikamimageplugin_emboss_la_SOURCES = imageplugin_emboss.cpp \
- imageeffect_emboss.cpp emboss.cpp
+ embosstool.cpp emboss.cpp
digikamimageplugin_emboss_la_LIBADD = $(LIB_KPARTS) \
$(top_builddir)/digikam/digikam/libdigikam.la
--- branches/extragear/kde3/graphics/digikam/imageplugins/emboss/imageplugin_emboss.cpp #854840:854841
@@ -34,10 +34,12 @@
// Local includes.
#include "ddebug.h"
-#include "imageeffect_emboss.h"
+#include "embosstool.h"
#include "imageplugin_emboss.h"
#include "imageplugin_emboss.moc"
+using namespace DigikamEmbossImagesPlugin;
+
K_EXPORT_COMPONENT_FACTORY(digikamimageplugin_emboss,
KGenericFactory<ImagePlugin_Emboss>("digikamimageplugin_emboss"));
@@ -65,6 +67,6 @@
void ImagePlugin_Emboss::slotEmboss()
{
- DigikamEmbossImagesPlugin::ImageEffect_Emboss dlg(kapp->activeWindow());
- dlg.exec();
+ EmbossTool *tool = new EmbossTool(this);
+ loadTool(tool);
}
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel