[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/imageplugins
From:       Andi Clemens <andi.clemens () gmx ! net>
Date:       2008-08-31 22:16:46
Message-ID: 1220221006.304310.15817.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 855489 by aclemens:

digiKam from trunk: Lens Correction - Antivignetting plugin is now ported to Editor \
                Tool API.
CCMAIL: digikam-devel@kde.org

 M  +1 -1      EDITORTOOLPORT  
 M  +1 -1      lenscorrection/CMakeLists.txt  
 M  +7 -3      lenscorrection/imageplugin_lenscorrection.cpp  
 A             lenscorrection/vignetting/antivignettingtool.cpp   \
lenscorrection/vignetting/imageeffect_antivignetting.cpp#855420 [License: GPL (v2+)]  \
A             lenscorrection/vignetting/antivignettingtool.h   \
lenscorrection/vignetting/imageeffect_antivignetting.h#855420 [License: GPL (v2+)]  D \
lenscorrection/vignetting/imageeffect_antivignetting.cpp    D             \
lenscorrection/vignetting/imageeffect_antivignetting.h  


--- trunk/extragear/graphics/digikam/imageplugins/EDITORTOOLPORT #855488:855489
@@ -23,7 +23,7 @@
 whitebalance                ImageDlgBase        DONE            DONE
 
 lenscorrection
-  \---antivignetting        ImageGuideDlg       A               DONE
+  \---antivignetting        ImageGuideDlg       DONE            DONE
   \---autocorrection        ImageGuideDlg       A               DONE
   \---distortion            ImageGuideDlg       A               DONE
 border                      ImageGuideDlg       DONE            DONE
--- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/CMakeLists.txt \
#855488:855489 @@ -14,7 +14,7 @@
                     distortion/pixelaccess.cpp
    )
 
-SET(vignetting_SRCS vignetting/imageeffect_antivignetting.cpp
+SET(vignetting_SRCS vignetting/antivignettingtool.cpp
                     vignetting/antivignetting.cpp)
 
 IF(LENSFUN_LIBRARY)
--- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/imageplugin_lenscorrection.cpp \
#855488:855489 @@ -38,11 +38,15 @@
 #endif // HAVE_LENSFUN
 
 #include "ddebug.h"
-#include "imageeffect_antivignetting.h"
+#include "antivignettingtool.h"
 #include "imageeffect_lensdistortion.h"
 #include "imageplugin_lenscorrection.h"
 #include "imageplugin_lenscorrection.moc"
 
+using namespace DigikamAntiVignettingImagesPlugin;
+using namespace DigikamAutoCorrectionImagesPlugin;
+using namespace DigikamLensDistortionImagesPlugin;
+
 K_PLUGIN_FACTORY( LensCorrectionFactory, \
registerPlugin<ImagePlugin_LensCorrection>(); )  K_EXPORT_PLUGIN ( \
LensCorrectionFactory("digikamimageplugin_lenscorrection") )  
@@ -106,6 +110,6 @@
 
 void ImagePlugin_LensCorrection::slotAntiVignetting()
 {
-    DigikamAntiVignettingImagesPlugin::ImageEffect_AntiVignetting \
                dlg(kapp->activeWindow());
-    dlg.exec();
+    AntiVignettingTool *tool = new AntiVignettingTool(this);
+    loadTool(tool);
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic