Some little #include cleanup in libs/

parent ba2229d1
......@@ -18,20 +18,22 @@
* Boston, MA 02110-1301, USA.
*/
#include <QColor>
#include <QImage>
#include <qmath.h>
#include "KoOdfGradientBackground.h"
#include <KoOdfGradientBackground.h>
#include "KoShapeBackground_p.h"
#include "KoShapeSavingContext.h"
#include <KoUnit.h>
#include <KoXmlNS.h>
#include <KoXmlReader.h>
#include <KoGenStyles.h>
#include <QPainter>
#include "KoShapeSavingContext.h"
#include <KoOdfLoadingContext.h>
#include "KoShapeBackground_p.h"
#include <QPainter>
#include <QColor>
#include <QImage>
#include <qmath.h>
class KoOdfGradientBackgroundPrivate : public KoShapeBackgroundPrivate
{
......
......@@ -24,12 +24,11 @@
#include "KoShapeLoadingContext.h"
#include "KoShape.h"
#include <KoPathShape.h>
#include "KoPathShape.h"
#include "KoColorBackground.h"
#include <KoOdfLoadingContext.h>
#include <KoOdfWorkaround.h>
#include <KoXmlReader.h>
#include <KoXmlNS.h>
#include <KoColorBackground.h>
#include <KoStyleStack.h>
#include <KoUnit.h>
......
......@@ -20,9 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoOdfWorkaround.h"
#include "KoPathShape.h"
#include "KoPathShape_p.h"
#include "KoOdfWorkaround.h"
#include "KoPathPoint.h"
#include "KoShapeStrokeModel.h"
#include "KoViewConverter.h"
......
......@@ -19,20 +19,25 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include <QMutexLocker>
#include <QMutex>
#include <kservice.h>
#include <kservicetypetrader.h>
#include <KoDocumentResourceManager.h>
#include "KoShapeFactoryBase.h"
#include "KoDocumentResourceManager.h"
#include "KoDeferredShapeFactoryBase.h"
#include "KoShape.h"
#include "KoShapeLoadingContext.h"
#include <KoOdfLoadingContext.h>
#include <KoProperties.h>
#include <kservice.h>
#include <kservicetypetrader.h>
#include <QMutexLocker>
#include <QMutex>
#include <kdebug.h>
class KoShapeFactoryBase::Private
......
......@@ -37,20 +37,19 @@
#include <KDebug>
// Calligra
#include "KoUnit.h"
#include "KoStore.h"
#include "KoXmlNS.h"
#include "KoXmlReader.h"
#include <KoUnit.h>
#include <KoStore.h>
#include <KoXmlReader.h>
#include <KoXmlWriter.h>
#include <KoXmlNS.h>
#include <KoOdfManifestEntry.h>
#include <KoOdfLoadingContext.h>
#include <KoShapeLoadingContext.h>
#include <KoShapeSavingContext.h>
#include <KoEmbeddedDocumentSaver.h>
#include "KoShapeLoadingContext.h"
#include "KoShapeSavingContext.h"
#include "KoShapeContainerDefaultModel.h"
#include "KoShapeRegistry.h"
#include <KoShapeBackground.h>
#include "KoShapeBackground.h"
// The XML of a frame looks something like this:
......
......@@ -20,27 +20,25 @@
#include "KoPACanvasItem.h"
#include <QStyleOptionGraphicsItem>
#include <QGraphicsSceneResizeEvent>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneWheelEvent>
#include <KoShapeManager.h>
#include <KoToolProxy.h>
#include <KoUnit.h>
#include <KoText.h>
#include "KoPADocument.h"
#include "KoPAView.h"
#include "KoPAViewMode.h"
#include "KoPAPage.h"
#include "KoPAPageProvider.h"
#include <kxmlguifactory.h>
#include <KoShapeManager.h>
#include <KoToolProxy.h>
#include <KoUnit.h>
#include <KoText.h>
#include <kxmlguifactory.h>
#include <KAction>
#include <QMenu>
#include <QStyleOptionGraphicsItem>
#include <QGraphicsSceneResizeEvent>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneWheelEvent>
#include <QMenu>
KoPACanvasItem::KoPACanvasItem( KoPADocument * doc)
: QGraphicsWidget()
......
......@@ -18,32 +18,31 @@
*/
#include "KoPAPageBase.h"
#include "KoPASavingContext.h"
#include "KoPALoadingContext.h"
#include "KoPAPixmapCache.h"
#include "KoPAPageContainerModel.h"
#include "KoPASavingContext.h"
#include "KoPAUtil.h"
#include <QPainter>
#include <kdebug.h>
#include <KoXmlNS.h>
#include <KoPageLayout.h>
#include <KoShapeSavingContext.h>
#include <KoOdfLoadingContext.h>
#include <KoShapeLayer.h>
#include <KoShapeRegistry.h>
#include <KoGenStyle.h>
#include <KoGenStyles.h>
#include <KoOdfStylesReader.h>
#include <KoOdfGraphicStyles.h>
#include <KoXmlWriter.h>
#include <KoOdfLoadingContext.h>
#include <KoViewConverter.h>
#include <KoShapeLayer.h>
#include <KoShapeRegistry.h>
#include <KoShapeBackground.h>
#include <KoZoomHandler.h>
#include <kdebug.h>
#include <QPainter>
KoPAPageBase::KoPAPageBase()
: KoShapeContainer( new KoPAPageContainerModel() )
......
......@@ -18,6 +18,12 @@
* Boston, MA 02110-1301, USA.
*/
#include "symbolcombo.h"
#include <KCharSelect>
#include <KLocale>
#include <KDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QLayout>
......@@ -25,12 +31,6 @@
#include <QVariant>
#include <QHBoxLayout>
#include <kcharselect.h>
#include <klocale.h>
#include <kdialog.h>
#include "symbolcombo.h"
using namespace KoProperty;
SymbolCombo::SymbolCombo(Property *property, QWidget *parent)
......
......@@ -19,6 +19,11 @@
#include "KoAutoSaveRecoveryDialog.h"
#include <KoStore.h>
#include <kwidgetitemdelegate.h>
#include <klocale.h>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QListView>
......@@ -33,14 +38,8 @@
#include <QStyledItemDelegate>
#include <QPainter>
#include <QCheckBox>
#include <QLabel>
#include <QDebug>
#include <KoStore.h>
#include <kwidgetitemdelegate.h>
#include <klocale.h>
struct FileItem {
......
......@@ -20,7 +20,6 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "KoFilterManager.h"
#include "KoFilterManager_p.h"
#include <QVBoxLayout>
......
......@@ -21,14 +21,16 @@ Boston, MA 02110-1301, USA.
#ifndef __koFilterManager_p_h__
#define __koFilterManager_p_h__
#include <QString>
#include <QStringList>
#include <QWeakPointer>
#include "KoFilterManager.h"
#include <KUrl>
#include <KDialog>
#include <KoProgressUpdater.h>
#include <QString>
#include <QStringList>
#include <QWeakPointer>
class QListWidget;
class KoFilterManager::Private
......
......@@ -21,27 +21,27 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoApplication.h"
#include "KoPart.h"
#include "KoApplication.h"
#include "KoMainWindow.h"
#include "KoDocument.h"
#include "KoView.h"
#include "KoCanvasController.h"
#include "KoCanvasControllerWidget.h"
#include "KoOpenPane.h"
#include "KoMainWindow.h"
#include "KoProgressProxy.h"
#include "KoFilterManager.h"
#include "KoServiceProvider.h"
#include <KoDocumentInfoDlg.h>
#include <KoCanvasController.h>
#include <KoCanvasControllerWidget.h>
#include <kdebug.h>
#include <kstandarddirs.h>
#include <kxmlguifactory.h>
#include <kdeprintdialog.h>
#include <knotification.h>
#include <kdialog.h>
#include <kmessagebox.h>
#include <kdesktopfile.h>
#include <kmessagebox.h>
#include <kmimetype.h>
......
......@@ -41,7 +41,7 @@
#include <QStyleOptionFrame>
#include <QToolButton>
#include <QTabWidget>
#include <QToolButton>
class KoToolDocker::Private {
public:
......
......@@ -17,10 +17,10 @@
* Boston, MA 02110-1301, USA.
*/
#include <QDateTime>
#include "KoGenChange.h"
#include <KoXmlWriter.h>
#include <QDateTime>
#include <kdebug.h>
......
......@@ -18,9 +18,11 @@
* Boston, MA 02110-1301, USA.
*/
#include <KoUnit.h>
#include "KoShadowStyle.h"
#include <KoUnit.h>
// KoShadowStyle private class
class KoShadowStylePrivate: public QSharedData
{
......
......@@ -21,6 +21,8 @@
#ifndef KOSHADOWSTYLE_H
#define KOSHADOWSTYLE_H
#include "koodf_export.h"
#include <QColor>
#include <QMetaType>
#include <QPointF>
......
......@@ -18,10 +18,7 @@
*/
#include "KoColorSpace.h"
#include <QThreadStorage>
#include <QByteArray>
#include <QBitArray>
#include "KoColorSpace_p.h"
#include "KoChannelInfo.h"
#include "DebugPigment.h"
......@@ -37,7 +34,10 @@
#include "KoFallBackColorTransformation.h"
#include "KoUniqueNumberForIdServer.h"
#include "KoColorSpace_p.h"
#include <QThreadStorage>
#include <QByteArray>
#include <QBitArray>
KoColorSpace::KoColorSpace()
: d(new Private())
......
......@@ -24,9 +24,14 @@
#include "KoTriangleColorSelector.h"
#include "KoColorSlider.h"
#include "KoCheckerBoardPainter.h"
#include "KoColorSpaceRegistry.h"
#include <KoResourceServer.h>
#include <KoResourceServerProvider.h>
#include "KoResourceServer.h"
#include "KoResourceServerProvider.h"
#include <KoColorSpaceRegistry.h>
#include <KoColor.h>
#include <KColorDialog>
#include <KDebug>
#include <KLocale>
#include <QPainter>
#include <QWidgetAction>
......@@ -35,12 +40,6 @@
#include <QGridLayout>
#include <QToolButton>
#include <KColorDialog>
#include <KDebug>
#include <klocale.h>
#include <KoColor.h>
#include <KoColorSpaceRegistry.h>
class KoColorPopupAction::KoColorPopupActionPrivate
{
......
......@@ -23,7 +23,6 @@
#include <QRadioButton>
#include <QGridLayout>
#include <QButtonGroup>
#include <QButtonGroup>
#include <QPainter>
#include <kdebug.h>
#include <QStyleOption>
......
......@@ -26,7 +26,6 @@
#include <QTableView>
#include <QListView>
#include <QHeaderView>
#include <QHeaderView>
#include <QMouseEvent>
#include <QStyledItemDelegate>
......
......@@ -17,9 +17,10 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include <klocale.h>
#include "KoUniColorDialog.h"
#include "KoUniColorChooser.h"
#include <KLocale>
class KoUniColorDialogPrivate
{
......
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