[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/kolourpaint/imagelib/effects
From: Clarence Dang <dang () kde ! org>
Date: 2007-08-12 10:29:03
Message-ID: 1186914543.202232.16909.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 699216 by dang:
Remove unused headers esp. kimageeffect.h which will be killed
M +0 -10 kpEffectBalance.cpp
M +3 -11 kpEffectHSV.cpp
M +0 -3 kpEffectInvert.cpp
M +0 -5 kpEffectReduceColors.cpp
M +0 -8 kpEffectToneEnhance.cpp
--- trunk/KDE/kdegraphics/kolourpaint/imagelib/effects/kpEffectBalance.cpp #699215:699216
@@ -33,19 +33,9 @@
#include <math.h>
-#include <qfontmetrics.h>
-#include <qgridlayout.h>
#include <qimage.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpixmap.h>
-#include <qpushbutton.h>
-#include <kcombobox.h>
#include <kdebug.h>
-#include <kimageeffect.h>
-#include <klocale.h>
-#include <knuminput.h>
#include <kpPixmapFX.h>
--- trunk/KDE/kdegraphics/kolourpaint/imagelib/effects/kpEffectHSV.cpp #699215:699216
@@ -25,26 +25,18 @@
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// LOTODO: Remove unused headers
#include <kpEffectHSV.h>
-#include <QBitmap>
+#include <math.h>
+
+#include <qbitmap.h>
#include <qimage.h>
-#include <qrect.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpixmap.h>
#include <kdebug.h>
-#include <kimageeffect.h>
-#include <klocale.h>
-#include <knuminput.h>
#include <kpPixmapFX.h>
-#include <stdlib.h>
-#include <math.h>
void ColorToHSV(unsigned int c, float* pHue, float* pSaturation, float* pValue)
{
--- trunk/KDE/kdegraphics/kolourpaint/imagelib/effects/kpEffectInvert.cpp #699215:699216
@@ -31,13 +31,10 @@
#include <kpEffectInvert.h>
-#include <qcheckbox.h>
#include <qimage.h>
-#include <qlayout.h>
#include <qpixmap.h>
#include <kdebug.h>
-#include <klocale.h>
#include <kpPixmapFX.h>
--- trunk/KDE/kdegraphics/kolourpaint/imagelib/effects/kpEffectReduceColors.cpp #699215:699216
@@ -32,15 +32,10 @@
#include <kpEffectReduceColors.h>
#include <qbitmap.h>
-#include <qbuttongroup.h>
-#include <qcheckbox.h>
#include <qimage.h>
-#include <qlayout.h>
#include <qpixmap.h>
-#include <qradiobutton.h>
#include <kdebug.h>
-#include <klocale.h>
#include <kpPixmapFX.h>
--- trunk/KDE/kdegraphics/kolourpaint/imagelib/effects/kpEffectToneEnhance.cpp #699215:699216
@@ -26,7 +26,6 @@
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// LOTODO: Remove unused headers
// TODO: Audit this code and related Widget and Command for errors e.g. divide by zero etc. - Clarence
@@ -34,19 +33,12 @@
#include <QBitmap>
#include <qimage.h>
-#include <qrect.h>
-#include <qlabel.h>
-#include <qlayout.h>
#include <qpixmap.h>
#include <kdebug.h>
-#include <kimageeffect.h>
-#include <klocale.h>
-#include <knuminput.h>
#include <kpPixmapFX.h>
-#include <stdlib.h>
#define RED_WEIGHT 77
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic