Commit 69ed9fca authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent 98aca4ec
......@@ -33,7 +33,6 @@
#include <climits>
#include <QLinkedList>
#include <QMenu>
#include <KSharedConfig>
......
......@@ -34,7 +34,6 @@
#include "document/kpDocument.h"
#include "kpDefs.h"
#include "imagelib/kpImage.h"
#include "tools/polygonal/kpToolPolygonalBase.h"
struct kpToolPolygonalCommandPrivate
......
......@@ -38,7 +38,6 @@
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QPixmap>
#include <QPushButton>
#include "kpLogCategories.h"
......
......@@ -43,7 +43,6 @@
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QImage>
#include <QSpinBox>
#include <QPolygon>
#include <QPushButton>
......
......@@ -41,7 +41,6 @@
#include "document/kpDocumentSaveOptions.h"
#include "imagelib/kpDocumentMetaInfo.h"
#include "imagelib/effects/kpEffectReduceColors.h"
#include "pixmapfx/kpPixmapFX.h"
#include "tools/kpTool.h"
#include "widgets/toolbars/kpToolToolBar.h"
#include "lgpl/generic/kpUrlFormatter.h"
......@@ -53,7 +52,6 @@
#include <KIO/StatJob>
#include <QColor>
#include <QBitmap>
#include <QBrush>
#include <QFile>
#include <QImage>
......
......@@ -30,7 +30,6 @@
#include <cmath>
#include <QList>
#include <QPoint>
#include "kpLogCategories.h"
......
......@@ -40,7 +40,6 @@
#include "kpLogCategories.h"
#include "kpColor.h"
#include "kpImage.h"
#include "kpDefs.h"
#include "pixmapfx/kpPixmapFX.h"
#include "tools/kpTool.h"
......
......@@ -31,7 +31,6 @@
#include "kpPainter.h"
#include "kpImage.h"
#include "pixmapfx/kpPixmapFX.h"
#include "tools/kpTool.h"
#include "tools/flow/kpToolFlowBase.h"
......
......@@ -33,7 +33,6 @@
#include "kpLogCategories.h"
#include "imagelib/kpColor.h"
#include "widgets/colorSimilarity/kpColorSimilarityHolder.h"
......
......@@ -35,7 +35,6 @@
#include "widgets/kpColorCells.h"
#include "widgets/toolbars/kpColorToolBar.h"
#include "commands/kpCommandHistory.h"
#include "kpDefs.h"
#include "document/kpDocument.h"
#include "environments/document/kpDocumentEnvironment.h"
#include "layers/selections/kpSelectionDrag.h"
......
......@@ -46,7 +46,6 @@
#include "imagelib/kpImage.h"
#include "imagelib/kpPainter.h"
#include "pixmapfx/kpPixmapFX.h"
#include "layers/tempImage/kpTempImage.h"
#include "environments/tools/kpToolEnvironment.h"
#include "commands/tools/flow/kpToolFlowCommand.h"
#include "widgets/toolbars/kpToolToolBar.h"
......
......@@ -41,7 +41,6 @@
#include "imagelib/kpColor.h"
#include "widgets/toolbars/kpColorToolBar.h"
#include "kpDefs.h"
#include "tools/kpToolAction.h"
#include "environments/tools/kpToolEnvironment.h"
#include "widgets/toolbars/kpToolToolBar.h"
......
......@@ -35,9 +35,7 @@
#include <QtMath>
#include <QCursor>
#include <QPoint>
#include <QPolygon>
#include <QRect>
#include <KLocalizedString>
......@@ -45,7 +43,6 @@
#include "commands/kpCommandHistory.h"
#include "document/kpDocument.h"
#include "kpDefs.h"
#include "imagelib/kpImage.h"
#include "imagelib/kpPainter.h"
#include "pixmapfx/kpPixmapFX.h"
#include "layers/tempImage/kpTempImage.h"
......
......@@ -45,7 +45,6 @@
#include "kpLogCategories.h"
#include "kpDefs.h"
#include "document/kpDocument.h"
#include "layers/selections/text/kpTextSelection.h"
#include "tools/kpTool.h"
......
......@@ -34,7 +34,6 @@
#include "kpLogCategories.h"
#include "document/kpDocument.h"
#include "views/kpView.h"
#include "views/manager/kpViewManager.h"
......
......@@ -34,7 +34,6 @@
#include "kpLogCategories.h"
#include <KLocalizedString>
#include "kpNumInput.h"
#include "imagelib/effects/kpEffectHSV.h"
#include "commands/imagelib/effects/kpEffectHSVCommand.h"
......
......@@ -32,7 +32,6 @@
#include "imagelib/effects/kpEffectToneEnhance.h"
#include "commands/imagelib/effects/kpEffectToneEnhanceCommand.h"
#include "pixmapfx/kpPixmapFX.h"
#include "kpNumInput.h"
#include <QGridLayout>
#include <QLabel>
......
......@@ -32,7 +32,6 @@
#include "widgets/toolbars/options/kpToolWidgetBrush.h"
#include <QPainter>
#include <QPixmap>
#include <KLocalizedString>
......
......@@ -31,7 +31,6 @@
#include "kpToolWidgetEraserSize.h"
#include "imagelib/kpColor.h"
#include "imagelib/kpPainter.h"
#include "pixmapfx/kpPixmapFX.h"
#include "tools/kpTool.h"
......@@ -41,7 +40,6 @@
#include <QBitmap>
#include <QPainter>
#include <QPixmap>
static int EraserSizes [] = {2, 3, 5, 9, 17, 29};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment