Commit d1728b39 authored by Thomas Zander's avatar Thomas Zander

exports...

svn path=/trunk/koffice/; revision=545132
parent c53da730
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#define KOCommand_h #define KOCommand_h
#include <kcommand.h> #include <kcommand.h>
#include <koffice_export.h>
#include <KoSelection.h> #include <KoSelection.h>
...@@ -34,7 +35,7 @@ class KoShapeControllerInterface; ...@@ -34,7 +35,7 @@ class KoShapeControllerInterface;
class QString; class QString;
/// The undo / redo command for shape moving. /// The undo / redo command for shape moving.
class KoShapeMoveCommand : public KCommand { class FLAKE_EXPORT KoShapeMoveCommand : public KCommand {
public: public:
/** /**
* Constructor. * Constructor.
...@@ -55,7 +56,7 @@ private: ...@@ -55,7 +56,7 @@ private:
}; };
/// The undo / redo command for shape rotating. /// The undo / redo command for shape rotating.
class KoShapeRotateCommand : public KCommand { class FLAKE_EXPORT KoShapeRotateCommand : public KCommand {
public: public:
/** /**
* Comand to rotate a selection of shapes. Note that it just alters the rotated * Comand to rotate a selection of shapes. Note that it just alters the rotated
...@@ -75,7 +76,7 @@ private: ...@@ -75,7 +76,7 @@ private:
}; };
/// The undo / redo command for shape sizing. /// The undo / redo command for shape sizing.
class KoShapeSizeCommand : public KCommand { class FLAKE_EXPORT KoShapeSizeCommand : public KCommand {
public: public:
KoShapeSizeCommand(const KoSelectionSet &shapes, QList<QSizeF> &previousSizes, QList<QSizeF> &newSizes); KoShapeSizeCommand(const KoSelectionSet &shapes, QList<QSizeF> &previousSizes, QList<QSizeF> &newSizes);
void execute (); void execute ();
...@@ -87,7 +88,7 @@ private: ...@@ -87,7 +88,7 @@ private:
}; };
/// The undo / redo command for grouping shapes /// The undo / redo command for grouping shapes
class KoGroupShapesCommand : public KCommand { class FLAKE_EXPORT KoGroupShapesCommand : public KCommand {
public: public:
/** /**
* Command to group a set of shapes into a predefined container. * Command to group a set of shapes into a predefined container.
...@@ -117,7 +118,7 @@ protected: ...@@ -117,7 +118,7 @@ protected:
}; };
/// The undo / redo command for ungrouping shapes /// The undo / redo command for ungrouping shapes
class KoUngroupShapesCommand : public KoGroupShapesCommand { class FLAKE_EXPORT KoUngroupShapesCommand : public KoGroupShapesCommand {
public: public:
/** /**
* Command to ungroup a set of shapes from one parent container. * Command to ungroup a set of shapes from one parent container.
...@@ -131,7 +132,7 @@ public: ...@@ -131,7 +132,7 @@ public:
}; };
/// The undo / redo command for creating shapes /// The undo / redo command for creating shapes
class KoShapeCreateCommand : public KCommand { class FLAKE_EXPORT KoShapeCreateCommand : public KCommand {
public: public:
KoShapeCreateCommand( KoShapeControllerInterface *controller, KoShape *shape ); KoShapeCreateCommand( KoShapeControllerInterface *controller, KoShape *shape );
virtual ~KoShapeCreateCommand(); virtual ~KoShapeCreateCommand();
......
...@@ -23,11 +23,13 @@ ...@@ -23,11 +23,13 @@
#include <QMouseEvent> #include <QMouseEvent>
#include <koffice_export.h>
/** /**
* The event used in Flake to have both the original (canvas based) position as * The event used in Flake to have both the original (canvas based) position as
* well as the normalized position. * well as the normalized position.
*/ */
class KoGfxEvent class FLAKE_EXPORT KoGfxEvent
{ {
public: public:
/** /**
......
...@@ -20,10 +20,12 @@ ...@@ -20,10 +20,12 @@
#ifndef KOINSETS_H #ifndef KOINSETS_H
#define KOINSETS_H #define KOINSETS_H
#include <koffice_export.h>
/** /**
* An Insets object is a representation of the borders of a shape. * An Insets object is a representation of the borders of a shape.
*/ */
struct KoInsets { struct FLAKE_EXPORT KoInsets {
public: public:
/** /**
* Constructor. * Constructor.
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include "KoTool.h" #include "KoTool.h"
#include "KoSelection.h" #include "KoSelection.h"
#include <koffice_export.h>
class KoInteractionStrategy; class KoInteractionStrategy;
/** /**
...@@ -34,7 +36,7 @@ class KoInteractionStrategy; ...@@ -34,7 +36,7 @@ class KoInteractionStrategy;
* XXX: Also transforms? Or better use a separate tool for that. * XXX: Also transforms? Or better use a separate tool for that.
* XXX: We already have a moveTool; and 'default' does not say much about the class. What about renaming to KoSelectTool ? (TZ) * XXX: We already have a moveTool; and 'default' does not say much about the class. What about renaming to KoSelectTool ? (TZ)
*/ */
class KoInteractionTool : public KoTool class FLAKE_EXPORT KoInteractionTool : public KoTool
{ {
public: public:
/** /**
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include "KoInsets.h" #include "KoInsets.h"
#include "KoShapeBorderModel.h" #include "KoShapeBorderModel.h"
#include <koffice_export.h>
class KoShape; class KoShape;
class QPainter; class QPainter;
class QColor; class QColor;
...@@ -31,7 +33,7 @@ class KoViewConverter; ...@@ -31,7 +33,7 @@ class KoViewConverter;
/** /**
* A border for shapes that draws a single line around the object. * A border for shapes that draws a single line around the object.
*/ */
class KoLineBorder : public KoShapeBorderModel { class FLAKE_EXPORT KoLineBorder : public KoShapeBorderModel {
public: public:
/// Constructor for a thin line in black /// Constructor for a thin line in black
KoLineBorder(); KoLineBorder();
......
...@@ -25,11 +25,12 @@ class KoSelection; ...@@ -25,11 +25,12 @@ class KoSelection;
#include "KoShape.h" #include "KoShape.h"
#include <QPainterPath> #include <QPainterPath>
#include <koffice_export.h>
/** /**
* Example/test flake object that draws a Shape based on a path. * Example/test flake object that draws a Shape based on a path.
*/ */
class KoPathShape : public KoShape class FLAKE_EXPORT KoPathShape : public KoShape
{ {
public: public:
KoPathShape(); KoPathShape();
......
...@@ -24,12 +24,14 @@ ...@@ -24,12 +24,14 @@
#include <KoShape.h> #include <KoShape.h>
#include <koffice_export.h>
class QPainter; class QPainter;
/** /**
* Simple Rectangle shape. * Simple Rectangle shape.
*/ */
class KoRectangleShape : public KoShape class FLAKE_EXPORT KoRectangleShape : public KoShape
{ {
public: public:
KoRectangleShape(); KoRectangleShape();
......
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include "KoViewConverter.h" #include "KoViewConverter.h"
#include "KoFlake.h" #include "KoFlake.h"
#include <koffice_export.h>
typedef QSet<KoShape*> KoSelectionSet; typedef QSet<KoShape*> KoSelectionSet;
/** /**
...@@ -44,7 +46,7 @@ typedef QSet<KoShape*> KoSelectionSet; ...@@ -44,7 +46,7 @@ typedef QSet<KoShape*> KoSelectionSet;
* A selection, however, should not be selectable. We need to think * A selection, however, should not be selectable. We need to think
* a little about the interaction here. * a little about the interaction here.
*/ */
class KoSelection : public QObject, public KoShape { class FLAKE_EXPORT KoSelection : public QObject, public KoShape {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#include <QPainter> #include <QPainter>
#include <koffice_export.h>
class KoShape; class KoShape;
class KoViewConverter; class KoViewConverter;
...@@ -35,7 +37,7 @@ class KoViewConverter; ...@@ -35,7 +37,7 @@ class KoViewConverter;
* and preferred behavior, to have one instance of a border that is reused on several * and preferred behavior, to have one instance of a border that is reused on several
* objects. * objects.
*/ */
class KoShapeBorderModel { class FLAKE_EXPORT KoShapeBorderModel {
public: public:
KoShapeBorderModel() {}; KoShapeBorderModel() {};
virtual ~KoShapeBorderModel() {}; virtual ~KoShapeBorderModel() {};
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include <QList> #include <QList>
#include <koffice_export.h>
class QPainter; class QPainter;
class QPointF; class QPointF;
...@@ -35,7 +37,7 @@ class QPointF; ...@@ -35,7 +37,7 @@ class QPointF;
* for the KoShapeContainer. * for the KoShapeContainer.
* @see KoShapeContainer * @see KoShapeContainer
*/ */
class KoGraphicsContainerModel { class FLAKE_EXPORT KoGraphicsContainerModel {
public: public:
/// default constructor /// default constructor
KoGraphicsContainerModel() {} ; KoGraphicsContainerModel() {} ;
...@@ -120,7 +122,7 @@ public: ...@@ -120,7 +122,7 @@ public:
* and the width of the individual columns gets too small, the model can choose to * and the width of the individual columns gets too small, the model can choose to
* remove a child or add one when the width allows another column. * remove a child or add one when the width allows another column.
*/ */
class KoShapeContainer : public KoShape { class FLAKE_EXPORT KoShapeContainer : public KoShape {
public: public:
/** /**
* Default constructor; uses simple internal model. * Default constructor; uses simple internal model.
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#include <QList> #include <QList>
#include <koffice_export.h>
/** /**
* Provide grouping for shapes. * Provide grouping for shapes.
* The group shape allows you to add children which will then be grouped in selections * The group shape allows you to add children which will then be grouped in selections
...@@ -35,7 +37,7 @@ ...@@ -35,7 +37,7 @@
* of them at the same time. * of them at the same time.
* <p>Note that while this object is also a shape, it is not actually visible. * <p>Note that while this object is also a shape, it is not actually visible.
*/ */
class KoShapeGroup : public KoShapeContainer { class FLAKE_EXPORT KoShapeGroup : public KoShapeContainer {
public: public:
/// Constructor /// Constructor
KoShapeGroup(); KoShapeGroup();
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include <QObject> #include <QObject>
#include <QCursor> #include <QCursor>
#include <koffice_export.h>
class KoCanvasBase; class KoCanvasBase;
class KoGfxEvent; class KoGfxEvent;
class KoViewConverter; class KoViewConverter;
...@@ -43,7 +45,7 @@ class QPainter; ...@@ -43,7 +45,7 @@ class QPainter;
* It may be preferable to remove the tool system from flake and * It may be preferable to remove the tool system from flake and
* make it more general. * make it more general.
*/ */
class KoTool : public QObject class FLAKE_EXPORT KoTool : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
......
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