Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Tusooa Zhu
Krita
Commits
8d6147dc
Commit
8d6147dc
authored
Sep 27, 2014
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove even more unneeded includes in libs/flake
parent
9c8e0cb6
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
45 additions
and
19 deletions
+45
-19
libs/flake/KoPathShape.cpp
libs/flake/KoPathShape.cpp
+1
-0
libs/flake/KoPathShape.h
libs/flake/KoPathShape.h
+1
-0
libs/flake/KoSnapGuide.h
libs/flake/KoSnapGuide.h
+4
-5
libs/flake/KoSnapProxy.h
libs/flake/KoSnapProxy.h
+3
-3
libs/flake/KoSnapStrategy.cpp
libs/flake/KoSnapStrategy.cpp
+1
-0
libs/flake/KoSnapStrategy.h
libs/flake/KoSnapStrategy.h
+4
-2
libs/flake/KoTextShapeDataBase.h
libs/flake/KoTextShapeDataBase.h
+3
-2
libs/flake/KoToolBase.h
libs/flake/KoToolBase.h
+10
-7
libs/flake/KoTosContainer.cpp
libs/flake/KoTosContainer.cpp
+1
-0
libs/flake/KoTosContainerModel.cpp
libs/flake/KoTosContainerModel.cpp
+1
-0
libs/flake/svg/SvgGraphicContext.h
libs/flake/svg/SvgGraphicContext.h
+2
-0
libs/flake/svg/SvgStyleParser.cpp
libs/flake/svg/SvgStyleParser.cpp
+1
-0
libs/flake/svg/SvgUtil.cpp
libs/flake/svg/SvgUtil.cpp
+1
-0
libs/flake/tests/TestShapeShadowCommand.cpp
libs/flake/tests/TestShapeShadowCommand.cpp
+1
-0
libs/flake/tools/KoPathTool.h
libs/flake/tools/KoPathTool.h
+1
-0
libs/kopageapp/KoPAPageBase.h
libs/kopageapp/KoPAPageBase.h
+2
-0
libs/kotext/KoAnnotation.cpp
libs/kotext/KoAnnotation.cpp
+1
-0
libs/kotext/KoBookmark.cpp
libs/kotext/KoBookmark.cpp
+1
-0
libs/kotext/KoSection.cpp
libs/kotext/KoSection.cpp
+2
-0
libs/textlayout/InlineAnchorStrategy.cpp
libs/textlayout/InlineAnchorStrategy.cpp
+1
-0
libs/textlayout/KoTextLayoutObstruction.cpp
libs/textlayout/KoTextLayoutObstruction.cpp
+1
-0
plugins/defaultTools/connectionTool/ConnectionTool.cpp
plugins/defaultTools/connectionTool/ConnectionTool.cpp
+1
-0
plugins/defaultTools/connectionTool/ConnectionTool.h
plugins/defaultTools/connectionTool/ConnectionTool.h
+1
-0
No files found.
libs/flake/KoPathShape.cpp
View file @
8d6147dc
...
...
@@ -38,6 +38,7 @@
#include "KoMarker.h"
#include "KoMarkerSharedLoadingData.h"
#include "KoShapeStroke.h"
#include "KoInsets.h"
#include <KoXmlReader.h>
#include <KoXmlWriter.h>
...
...
libs/flake/KoPathShape.h
View file @
8d6147dc
...
...
@@ -26,6 +26,7 @@
#include "flake_export.h"
#include <QMetaType>
#include <QTransform>
#include "KoTosContainer.h"
#include "KoMarkerData.h"
...
...
libs/flake/KoSnapGuide.h
View file @
8d6147dc
...
...
@@ -22,11 +22,8 @@
#include "flake_export.h"
#include <KoPathSegment.h>
#include <QPointF>
#include <QList>
#include <QRectF>
#include <QPainterPath>
#include <Qt>
class
KoSnapStrategy
;
class
KoShape
;
...
...
@@ -34,7 +31,9 @@ class KoPathPoint;
class
KoViewConverter
;
class
KoCanvasBase
;
class
QPainter
;
class
KoCanvasBase
;
class
QPointF
;
class
QRectF
;
class
QLineF
;
/**
* This class is the place where all the snapping (i.e. snap to grid) is handled.
...
...
libs/flake/KoSnapProxy.h
View file @
8d6147dc
...
...
@@ -24,11 +24,11 @@ class KoSnapGuide;
class
KoShape
;
class
KoPathSegment
;
class
KoCanvasBase
;
#include <QList>
#include <QPointF>
#include <QRectF>
#include "flake_export.h"
class
QPointF
;
class
QRectF
;
/**
* This class provides access to different shape related snap targets to snap strategies.
*/
...
...
libs/flake/KoSnapStrategy.cpp
View file @
8d6147dc
...
...
@@ -22,6 +22,7 @@
#include "KoSnapGuide.h"
#include <KoPathShape.h>
#include <KoPathPoint.h>
#include <KoPathSegment.h>
#include <KoCanvasBase.h>
#include <KoViewConverter.h>
#include <KoGuidesData.h>
...
...
libs/flake/KoSnapStrategy.h
View file @
8d6147dc
...
...
@@ -22,14 +22,16 @@
#include "KoSnapGuide.h"
#include <QPointF>
#include <QPainterPath>
#include <QLineF>
class
TestSnapStrategy
;
class
KoPathPoint
;
class
KoSnapProxy
;
class
KoViewConverter
;
class
QTransform
;
class
QPainterPath
;
class
FLAKE_TEST_EXPORT
KoSnapStrategy
{
public:
...
...
libs/flake/KoTextShapeDataBase.h
View file @
8d6147dc
...
...
@@ -23,14 +23,15 @@
#include "flake_export.h"
#include "KoShapeUserData.h"
#include "KoInsets.h"
#include <QTextDocument>
class
KoTextShapeDataBasePrivate
;
class
KoXmlElement
;
class
KoShapeLoadingContext
;
class
KoShapeSavingContext
;
class
KoGenStyle
;
struct
KoInsets
;
class
QTextDocument
;
/**
* \internal
...
...
libs/flake/KoToolBase.h
View file @
8d6147dc
...
...
@@ -17,15 +17,13 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef KOTOOL_H
#define KOTOOL_H
#ifndef KOTOOL
BASE
_H
#define KOTOOL
BASE
_H
#include <QString>
#include <QList>
#include <QObject>
#include <Q
Cursor
>
#include <Q
String
List>
#include <Q
RectF
>
#include <Q
Set
>
#include <QList>
#include <Q
Hash
>
#include "flake_export.h"
...
...
@@ -41,7 +39,12 @@ class KAction;
class
QAction
;
class
QKeyEvent
;
class
QWidget
;
class
QCursor
;
class
QPainter
;
class
QString
;
class
QStringList
;
class
QRectF
;
class
QPointF
;
class
QInputMethodEvent
;
class
QDragMoveEvent
;
class
QDragLeaveEvent
;
...
...
libs/flake/KoTosContainer.cpp
View file @
8d6147dc
...
...
@@ -33,6 +33,7 @@
#include "KoGenStyle.h"
#include <QTextCursor>
#include <QTextDocument>
KoTosContainerPrivate
::
KoTosContainerPrivate
(
KoShapeContainer
*
q
)
:
KoShapeContainerPrivate
(
q
)
...
...
libs/flake/KoTosContainerModel.cpp
View file @
8d6147dc
...
...
@@ -23,6 +23,7 @@
#include "KoTosContainer.h"
#include <kdebug.h>
#include <QSizeF>
KoTosContainerModel
::
KoTosContainerModel
()
:
m_textShape
(
0
)
...
...
libs/flake/svg/SvgGraphicContext.h
View file @
8d6147dc
...
...
@@ -23,6 +23,8 @@
#include "flake_export.h"
#include <KoShapeStroke.h>
#include <QFont>
#include <QTransform>
class
FLAKE_EXPORT
SvgGraphicsContext
{
...
...
libs/flake/svg/SvgStyleParser.cpp
View file @
8d6147dc
...
...
@@ -30,6 +30,7 @@
#include <QStringList>
#include <QColor>
#include <QGradientStops>
class
SvgStyleParser
::
Private
{
...
...
libs/flake/svg/SvgUtil.cpp
View file @
8d6147dc
...
...
@@ -25,6 +25,7 @@
#include <QString>
#include <QRectF>
#include <QStringList>
#include <QFontMetrics>
#include <math.h>
...
...
libs/flake/tests/TestShapeShadowCommand.cpp
View file @
8d6147dc
...
...
@@ -21,6 +21,7 @@
#include <MockShapes.h>
#include "KoShapeShadow.h"
#include "KoShapeShadowCommand.h"
#include "KoInsets.h"
void
TestShapeShadowCommand
::
refCounting
()
{
...
...
libs/flake/tools/KoPathTool.h
View file @
8d6147dc
...
...
@@ -27,6 +27,7 @@
#include "KoToolBase.h"
#include "KoPathToolSelection.h"
#include <QList>
#include <QCursor>
class
QButtonGroup
;
class
KoCanvasBase
;
...
...
libs/kopageapp/KoPAPageBase.h
View file @
8d6147dc
...
...
@@ -25,6 +25,8 @@
#include "KoPageApp.h"
#include "kopageapp_export.h"
#include <QSize>
#define CACHE_PAGE_THUMBNAILS
struct
KoPageLayout
;
...
...
libs/kotext/KoAnnotation.cpp
View file @
8d6147dc
...
...
@@ -30,6 +30,7 @@
#include <KoShape.h>
#include <QTextDocument>
#include <QTextBlock>
#include <QTextCursor>
#include <kdebug.h>
...
...
libs/kotext/KoBookmark.cpp
View file @
8d6147dc
...
...
@@ -29,6 +29,7 @@
#include <KoXmlNS.h>
#include <QTextDocument>
#include <QTextBlock>
#include <QTextCursor>
#include <kdebug.h>
...
...
libs/kotext/KoSection.cpp
View file @
8d6147dc
...
...
@@ -32,6 +32,8 @@
#include <KoSectionEnd.h>
#include <KoTextDocument.h>
#include <QTextBlock>
class
KoSectionPrivate
{
public:
...
...
libs/textlayout/InlineAnchorStrategy.cpp
View file @
8d6147dc
...
...
@@ -25,6 +25,7 @@
#include <QTextLayout>
#include <QTextBlock>
#include <QTextDocument>
#include <kdebug.h>
InlineAnchorStrategy
::
InlineAnchorStrategy
(
KoAnchorInlineObject
*
anchorObject
,
KoTextLayoutRootArea
*
rootArea
)
...
...
libs/textlayout/KoTextLayoutObstruction.cpp
View file @
8d6147dc
...
...
@@ -24,6 +24,7 @@
#include <KoShapeShadow.h>
#include <KoShapeGroup.h>
#include <KoClipPath.h>
#include <KoInsets.h>
#include <QTransform>
#include <QPainterPath>
...
...
plugins/defaultTools/connectionTool/ConnectionTool.cpp
View file @
8d6147dc
...
...
@@ -43,6 +43,7 @@
#include <KoShapeLayer.h>
#include <KoShapeRegistry.h>
#include <KoSelection.h>
#include <KoPathSegment.h>
#include <KoDocumentResourceManager.h>
#include <KoInteractionStrategy.h>
#include <KoShapeConfigWidgetBase.h>
...
...
plugins/defaultTools/connectionTool/ConnectionTool.h
View file @
8d6147dc
...
...
@@ -28,6 +28,7 @@
#include <KoCanvasBase.h>
#include <KoSnapGuide.h>
#include <KoConnectionShape.h>
#include <QCursor>
class
KAction
;
class
QActionGroup
;
...
...
Write
Preview
Markdown
is supported
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