SVN commit 854696 by aclemens:
digiKam from trunk: HSL plugin is now ported to Editor Tool API. CCMAIL: [hidden email] M +2 -2 CMakeLists.txt A hsl/hsltool.cpp hsl/imageeffect_hsl.cpp#854638 [License: GPL (v2+)] A hsl/hsltool.h hsl/imageeffect_hsl.h#854638 [License: GPL (v2+)] D hsl/imageeffect_hsl.cpp D hsl/imageeffect_hsl.h M +12 -12 imageplugin_core.cpp --- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #854695:854696 @@ -48,10 +48,10 @@ ${libclapack_SRCS} ../../imageplugins/coreplugin/autocorrectiontool.cpp ../../imageplugins/coreplugin/bcgtool.cpp + ../../imageplugins/coreplugin/bwsepiatool.cpp + ../../imageplugins/coreplugin/hsl/hsltool.cpp ../../imageplugins/coreplugin/hsl/hspreviewwidget.cpp - ../../imageplugins/coreplugin/hsl/imageeffect_hsl.cpp ../../imageplugins/coreplugin/imageeffect_blur.cpp - ../../imageplugins/coreplugin/bwsepiatool.cpp ../../imageplugins/coreplugin/imageeffect_iccproof.cpp ../../imageplugins/coreplugin/imageeffect_redeye.cpp ../../imageplugins/coreplugin/imageeffect_rgb.cpp --- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #854695:854696 @@ -24,14 +24,14 @@ // KDE includes. -#include <klocale.h> -#include <kgenericfactory.h> -#include <klibloader.h> #include <kaction.h> #include <kactioncollection.h> +#include <kapplication.h> #include <kcursor.h> +#include <kgenericfactory.h> +#include <klibloader.h> +#include <klocale.h> #include <kmessagebox.h> -#include <kapplication.h> // Local includes. @@ -39,16 +39,16 @@ #include "dimg.h" #include "dimgimagefilters.h" #include "imageiface.h" -#include "imageeffect_rgb.h" -#include "imageeffect_hsl.h" +#include "autocorrectiontool.h" #include "bcgtool.h" #include "bwsepiatool.h" +#include "hsltool.h" +#include "imageeffect_blur.h" +#include "imageeffect_iccproof.h" +#include "imageeffect_ratiocrop.h" #include "imageeffect_redeye.h" -#include "imageeffect_blur.h" +#include "imageeffect_rgb.h" #include "imageeffect_sharpen.h" -#include "imageeffect_ratiocrop.h" -#include "autocorrectiontool.h" -#include "imageeffect_iccproof.h" #include "imageplugin_core.h" #include "imageplugin_core.moc" @@ -293,8 +293,8 @@ void ImagePlugin_Core::slotHSL() { - ImageEffect_HSL dlg(kapp->activeWindow()); - dlg.exec(); + HSLTool *tool = new HSLTool(kapp->activeWindow()); + loadTool(tool); } void ImagePlugin_Core::slotSharpen() _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |