Commit 4910e739 authored by Thorsten Zachmann's avatar Thorsten Zachmann

o move includes to cpp files

svn path=/trunk/koffice/; revision=605540
parent 19a91fde
......@@ -3,6 +3,7 @@ include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${KOFFICECORE_INCLUDES}
add_subdirectory(tests)
set(flake_SRCS
KoCanvasBase.cpp
KoCanvasResourceProvider.cpp
KoCommand.cpp
KoInteractionStrategy.cpp
......
/* This file is part of the KDE project
Copyright (C) 2006 Thorsten Zachmann <zachmann@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "KoCanvasBase.h"
#include "KoCanvasResourceProvider.h"
KoCanvasBase::KoCanvasBase()
{
m_resourceProvider = new KoCanvasResourceProvider(0);
}
KoCanvasBase::~KoCanvasBase()
{
delete m_resourceProvider;
}
......@@ -2,6 +2,7 @@
Copyright (C) 2006 Boudewijn Rempt <boud@valdyas.org>
Copyright (C) 2006 Thomas Zander <zander@kde.org>
Copyright (C) 2006 Thorsten Zachmann <zachmann@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
......@@ -30,8 +31,8 @@
#include <QRect>
#include <QWidget>
#include <KoCanvasResourceProvider.h>
class KoCanvasResourceProvider;
class KoSelection;
class KCommand;
class KoShapeManager;
......@@ -47,8 +48,8 @@ class KoCanvasBase {
public:
KoCanvasBase() { m_resourceProvider = new KoCanvasResourceProvider(0); }
virtual ~KoCanvasBase() { delete m_resourceProvider; }
KoCanvasBase();
virtual ~KoCanvasBase();
public:
......
/* This file is part of the KDE project
* Copyright (C) 2006 Thomas Zander <zander@kde.org>
* Copyright (C) 2006 Peter Simonsson <peter.simonsson@gmail.com>
* Copyright (C) 2006 Thoresten Zachmann <zachmann@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
......@@ -20,6 +21,7 @@
#include "KoCanvasController.h"
#include "KoShape.h"
#include "KoViewConverter.h"
#include <kdebug.h>
......
......@@ -21,6 +21,7 @@
#include "KoPathShape.h"
#include "KoInsets.h"
#include "KoShapeBorderModel.h"
#include "KoViewConverter.h"
#include <QDebug>
#include <QPainter>
......
......@@ -27,6 +27,7 @@
#include "KoShapeBorderModel.h"
#include "KoShapeManager.h"
#include "KoShapeUserData.h"
#include "KoViewConverter.h"
#include <QPainter>
#include <QtDebug>
......
......@@ -27,7 +27,6 @@
#include <QSet>
#include <QBrush>
#include "KoViewConverter.h"
#include <koffice_export.h>
class QPainter;
......@@ -41,6 +40,7 @@ class KoShapeContainer;
class KoShapeBorderModel;
class KoShapeManager;
class KoShapeUserData;
class KoViewConverter;
/**
*
......
......@@ -19,14 +19,13 @@
#ifndef KOTOOL_H
#define KOTOOL_H
#include "KoCanvasResourceProvider.h"
#include <QString>
#include <QObject>
#include <QCursor>
#include <koffice_export.h>
class KoCanvasResource;
class KoCanvasBase;
class KoPointerEvent;
class KoViewConverter;
......
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