[Digikam-devel] extragear/graphics/digikam/imageplugins
Andi Clemens
andi.clemens at gmx.net
Sun Aug 31 23:46:20 BST 2008
SVN commit 855506 by aclemens:
digiKam from trunk: Lens Correction - Autocorrection plugin is now ported to Editor Tool API.
CCMAIL: digikam-devel at kde.org
M +1 -1 EDITORTOOLPORT
M +1 -1 lenscorrection/CMakeLists.txt
A lenscorrection/autocorrection/autocorrectiontool.cpp lenscorrection/autocorrection/imageeffect_autocorrection.cpp#855420 [License: GPL (v2+)]
A lenscorrection/autocorrection/autocorrectiontool.h lenscorrection/autocorrection/imageeffect_autocorrection.h#855420 [License: GPL (v2+)]
D lenscorrection/autocorrection/imageeffect_autocorrection.cpp
D lenscorrection/autocorrection/imageeffect_autocorrection.h
M +3 -3 lenscorrection/imageplugin_lenscorrection.cpp
--- trunk/extragear/graphics/digikam/imageplugins/EDITORTOOLPORT #855505:855506
@@ -24,7 +24,7 @@
lenscorrection
\---antivignetting ImageGuideDlg DONE DONE
- \---autocorrection ImageGuideDlg A DONE
+ \---autocorrection ImageGuideDlg DONE DONE
\---distortion ImageGuideDlg A DONE
border ImageGuideDlg DONE DONE
distortionfx ImageGuideDlg DONE DONE
--- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/CMakeLists.txt #855505:855506
@@ -5,7 +5,7 @@
)
-SET(autocorrection_SRCS autocorrection/imageeffect_autocorrection.cpp
+SET(autocorrection_SRCS autocorrection/autocorrectiontool.cpp
autocorrection/klensfun.cpp
)
--- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/imageplugin_lenscorrection.cpp #855505:855506
@@ -34,7 +34,7 @@
#include "config-digikam.h"
#ifdef HAVE_LENSFUN
-#include "imageeffect_autocorrection.h"
+#include "autocorrectiontool.h"
#endif // HAVE_LENSFUN
#include "ddebug.h"
@@ -97,8 +97,8 @@
void ImagePlugin_LensCorrection::slotAutoCorrection()
{
#ifdef HAVE_LENSFUN
- DigikamAutoCorrectionImagesPlugin::ImageEffect_AutoCorrection dlg(kapp->activeWindow());
- dlg.exec();
+ AutoCorrectionTool *tool = new AutoCorrectionTool(this);
+ loadTool(tool);
#endif // HAVE_LENSFUN
}
More information about the Digikam-devel
mailing list