Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
KolourPaint
Commits
69ed9fca
Commit
69ed9fca
authored
Oct 23, 2020
by
Laurent Montel
😁
Browse files
If include is define in .h remove it if it's defined in .cpp too (scripted)
parent
98aca4ec
Changes
19
Hide whitespace changes
Inline
Side-by-side
commands/kpCommandHistoryBase.cpp
View file @
69ed9fca
...
...
@@ -33,7 +33,6 @@
#include
<climits>
#include
<QLinkedList>
#include
<QMenu>
#include
<KSharedConfig>
...
...
commands/tools/polygonal/kpToolPolygonalCommand.cpp
View file @
69ed9fca
...
...
@@ -34,7 +34,6 @@
#include
"document/kpDocument.h"
#include
"kpDefs.h"
#include
"imagelib/kpImage.h"
#include
"tools/polygonal/kpToolPolygonalBase.h"
struct
kpToolPolygonalCommandPrivate
...
...
dialogs/imagelib/transforms/kpTransformPreviewDialog.cpp
View file @
69ed9fca
...
...
@@ -38,7 +38,6 @@
#include
<QGroupBox>
#include
<QLabel>
#include
<QLayout>
#include
<QPixmap>
#include
<QPushButton>
#include
"kpLogCategories.h"
...
...
dialogs/imagelib/transforms/kpTransformRotateDialog.cpp
View file @
69ed9fca
...
...
@@ -43,7 +43,6 @@
#include
<QGroupBox>
#include
<QLabel>
#include
<QLayout>
#include
<QImage>
#include
<QSpinBox>
#include
<QPolygon>
#include
<QPushButton>
...
...
document/kpDocument.cpp
View file @
69ed9fca
...
...
@@ -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>
...
...
imagelib/kpDocumentMetaInfo.cpp
View file @
69ed9fca
...
...
@@ -30,7 +30,6 @@
#include
<cmath>
#include
<QList>
#include
<QPoint>
#include
"kpLogCategories.h"
...
...
imagelib/kpFloodFill.cpp
View file @
69ed9fca
...
...
@@ -40,7 +40,6 @@
#include
"kpLogCategories.h"
#include
"kpColor.h"
#include
"kpImage.h"
#include
"kpDefs.h"
#include
"pixmapfx/kpPixmapFX.h"
#include
"tools/kpTool.h"
...
...
imagelib/kpPainter.cpp
View file @
69ed9fca
...
...
@@ -31,7 +31,6 @@
#include
"kpPainter.h"
#include
"kpImage.h"
#include
"pixmapfx/kpPixmapFX.h"
#include
"tools/kpTool.h"
#include
"tools/flow/kpToolFlowBase.h"
...
...
layers/selections/image/kpImageSelectionTransparency.cpp
View file @
69ed9fca
...
...
@@ -33,7 +33,6 @@
#include
"kpLogCategories.h"
#include
"imagelib/kpColor.h"
#include
"widgets/colorSimilarity/kpColorSimilarityHolder.h"
...
...
mainWindow/kpMainWindow.cpp
View file @
69ed9fca
...
...
@@ -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"
...
...
tools/flow/kpToolFlowBase.cpp
View file @
69ed9fca
...
...
@@ -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"
...
...
tools/kpTool.cpp
View file @
69ed9fca
...
...
@@ -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"
...
...
tools/polygonal/kpToolPolygonalBase.cpp
View file @
69ed9fca
...
...
@@ -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"
...
...
views/kpView.cpp
View file @
69ed9fca
...
...
@@ -45,7 +45,6 @@
#include
"kpLogCategories.h"
#include
"kpDefs.h"
#include
"document/kpDocument.h"
#include
"layers/selections/text/kpTextSelection.h"
#include
"tools/kpTool.h"
...
...
views/kpZoomedView.cpp
View file @
69ed9fca
...
...
@@ -34,7 +34,6 @@
#include
"kpLogCategories.h"
#include
"document/kpDocument.h"
#include
"views/kpView.h"
#include
"views/manager/kpViewManager.h"
...
...
widgets/imagelib/effects/kpEffectHSVWidget.cpp
View file @
69ed9fca
...
...
@@ -34,7 +34,6 @@
#include
"kpLogCategories.h"
#include
<KLocalizedString>
#include
"kpNumInput.h"
#include
"imagelib/effects/kpEffectHSV.h"
#include
"commands/imagelib/effects/kpEffectHSVCommand.h"
...
...
widgets/imagelib/effects/kpEffectToneEnhanceWidget.cpp
View file @
69ed9fca
...
...
@@ -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>
...
...
widgets/toolbars/options/kpToolWidgetBrush.cpp
View file @
69ed9fca
...
...
@@ -32,7 +32,6 @@
#include
"widgets/toolbars/options/kpToolWidgetBrush.h"
#include
<QPainter>
#include
<QPixmap>
#include
<KLocalizedString>
...
...
widgets/toolbars/options/kpToolWidgetEraserSize.cpp
View file @
69ed9fca
...
...
@@ -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
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment