SVN commit 854703 by aclemens:
digiKam from trunk: RGB plugin is now ported to Editor Tool API.
CCMAIL:
[hidden email]
M +1 -1 CMakeLists.txt
D imageeffect_rgb.cpp
D imageeffect_rgb.h
M +3 -3 imageplugin_core.cpp
A rgbtool.cpp imageeffect_rgb.cpp#854638 [License: GPL (v2+)]
A rgbtool.h imageeffect_rgb.h#854638 [License: GPL (v2+)]
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #854702:854703
@@ -54,10 +54,10 @@
../../imageplugins/coreplugin/imageeffect_blur.cpp
../../imageplugins/coreplugin/imageeffect_iccproof.cpp
../../imageplugins/coreplugin/imageeffect_redeye.cpp
- ../../imageplugins/coreplugin/imageeffect_rgb.cpp
../../imageplugins/coreplugin/imageplugin_core.cpp
../../imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp
../../imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp
+ ../../imageplugins/coreplugin/rgbtool.cpp
../../imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp
../../imageplugins/coreplugin/sharpnesseditor/matrix.cpp
../../imageplugins/coreplugin/sharpnesseditor/refocus.cpp
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #854702:854703
@@ -47,8 +47,8 @@
#include "imageeffect_iccproof.h"
#include "imageeffect_ratiocrop.h"
#include "imageeffect_redeye.h"
-#include "imageeffect_rgb.h"
#include "imageeffect_sharpen.h"
+#include "rgbtool.h"
#include "imageplugin_core.h"
#include "imageplugin_core.moc"
@@ -242,8 +242,8 @@
void ImagePlugin_Core::slotRGB()
{
- ImageEffect_RGB dlg(kapp->activeWindow());
- dlg.exec();
+ RGBTool *tool = new RGBTool(kapp->activeWindow());
+ loadTool(tool);
}
void ImagePlugin_Core::slotBlur()
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel