Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Stop exporting symbols from "Private" subclasses in libs/

parent 78adab93
......@@ -42,7 +42,7 @@ int compare(const QPair < QPointF, KoShape * > &a, const QPair < QPointF, KoShap
return a.first.y() < b.first.y();
}
class KoAnnotationLayoutManager::Private
class Q_DECL_HIDDEN KoAnnotationLayoutManager::Private
{
public:
Private()
......
......@@ -29,7 +29,7 @@
#include "KoToolProxy.h"
#include "KoSelection.h"
class KoCanvasBase::Private
class Q_DECL_HIDDEN KoCanvasBase::Private
{
public:
Private() : shapeController(0),
......
......@@ -24,7 +24,8 @@
#include <QSize>
#include <QPoint>
class KoCanvasController::Private {
class Q_DECL_HIDDEN KoCanvasController::Private
{
public:
Private()
: canvasMode(Centered)
......
......@@ -45,7 +45,7 @@
#include <KoConfig.h>
class KoCanvasControllerWidget::Private
class Q_DECL_HIDDEN KoCanvasControllerWidget::Private
{
public:
......
......@@ -29,7 +29,7 @@
#include "KoResourceManager_p.h"
#include <KoColorSpaceRegistry.h>
class KoCanvasResourceManager::Private
class Q_DECL_HIDDEN KoCanvasResourceManager::Private
{
public:
KoResourceManager manager;
......
......@@ -41,7 +41,7 @@ QTransform scaleFromPercent(const QSizeF &size)
return QTransform().scale(w/100, h/100);
}
class KoClipData::Private
class Q_DECL_HIDDEN KoClipData::Private
{
public:
Private() : deleteClipShapes(true)
......@@ -87,7 +87,7 @@ void KoClipData::removeClipShapesOwnership()
d->deleteClipShapes = false;
}
class KoClipPath::Private
class Q_DECL_HIDDEN KoClipPath::Private
{
public:
Private(KoClipData *data)
......
......@@ -29,7 +29,7 @@
#include "KoShapeController.h"
#include "KoResourceManager_p.h"
class KoDocumentResourceManager::Private
class Q_DECL_HIDDEN KoDocumentResourceManager::Private
{
public:
KoResourceManager manager;
......
......@@ -21,7 +21,7 @@
#include <QString>
class KoEventAction::Private
class Q_DECL_HIDDEN KoEventAction::Private
{
public:
QString id;
......
......@@ -19,7 +19,7 @@
#include "KoEventActionFactoryBase.h"
class KoEventActionFactoryBase::Private
class Q_DECL_HIDDEN KoEventActionFactoryBase::Private
{
public:
Private(const QString & id, const QString & action)
......
......@@ -41,7 +41,7 @@ public:
K_GLOBAL_STATIC(KoEventActionRegistry::Singleton, singleton)
class KoEventActionRegistry::Private
class Q_DECL_HIDDEN KoEventActionRegistry::Private
{
public:
QHash<QString, KoEventActionFactoryBase*> presentationEventActionFactories;
......
......@@ -25,7 +25,7 @@
#include <QString>
#include <QRectF>
class KoFilterEffect::Private
class Q_DECL_HIDDEN KoFilterEffect::Private
{
public:
Private()
......
......@@ -19,7 +19,8 @@
#include "KoFilterEffectFactoryBase.h"
#include <QString>
class KoFilterEffectFactoryBase::Private
class Q_DECL_HIDDEN KoFilterEffectFactoryBase::Private
{
public:
Private(const QString &_id, const QString &_name) : id(_id), name(_name)
......
......@@ -24,7 +24,7 @@
#include <QFileInfo>
#include <QDir>
class KoFilterEffectLoadingContext::Private
class Q_DECL_HIDDEN KoFilterEffectLoadingContext::Private
{
public:
Private()
......
......@@ -23,7 +23,7 @@
#include <QRectF>
#include <QTransform>
class KoFilterEffectRenderContext::Private
class Q_DECL_HIDDEN KoFilterEffectRenderContext::Private
{
public:
Private(const KoViewConverter &viewConverter)
......
......@@ -26,7 +26,7 @@
#include <QSet>
#include <QDebug>
class KoFilterEffectStack::Private
class Q_DECL_HIDDEN KoFilterEffectStack::Private
{
public:
Private()
......
......@@ -22,7 +22,7 @@
#include <KoXmlReader.h>
#include <kdebug.h>
class KoFrameShape::Private
class Q_DECL_HIDDEN KoFrameShape::Private
{
public:
Private(const QString &ns, const QString &tag)
......
......@@ -35,7 +35,7 @@
#define DEFAULT_GRID_SIZE_MM 5.0
class KoGridData::Private
class Q_DECL_HIDDEN KoGridData::Private
{
public:
Private()
......
......@@ -26,7 +26,7 @@
#include <QPainter>
class KoGuidesData::Private
class Q_DECL_HIDDEN KoGuidesData::Private
{
public:
Private() : showGuideLines(true), guidesColor(Qt::lightGray) {}
......
......@@ -30,7 +30,7 @@
#include <kdebug.h>
#include <kmimetype.h>
class KoImageCollection::Private
class Q_DECL_HIDDEN KoImageCollection::Private
{
public:
~Private()
......
......@@ -19,7 +19,7 @@
#include "KoInputDevice.h"
class KoInputDevice::Private
class Q_DECL_HIDDEN KoInputDevice::Private
{
public:
Private(QTabletEvent::TabletDevice d, QTabletEvent::PointerType p, qint64 id, bool m)
......
......@@ -19,7 +19,7 @@
#include "KoInputDeviceHandler.h"
class KoInputDeviceHandler::Private
class Q_DECL_HIDDEN KoInputDeviceHandler::Private
{
public:
Private(const QString &devId)
......
......@@ -21,7 +21,7 @@
#include "KoPointerEvent.h"
#include <QApplication>
class KoInputDeviceHandlerEvent::Private
class Q_DECL_HIDDEN KoInputDeviceHandlerEvent::Private
{
public:
Private()
......
......@@ -33,7 +33,7 @@
#include <QUrl>
#include <QPainterPath>
class KoMarker::Private
class Q_DECL_HIDDEN KoMarker::Private
{
public:
Private()
......
......@@ -28,7 +28,7 @@
#include <kstandarddirs.h>
#include <kdebug.h>
class KoMarkerCollection::Private
class Q_DECL_HIDDEN KoMarkerCollection::Private
{
public:
~Private()
......
......@@ -47,7 +47,7 @@ static const struct {
{ "marker-end" , "marker-end-width", "marker-end-center", "draw:marker-end" , "draw:marker-end-width", "draw:marker-end-center" }
};
class KoMarkerData::Private
class Q_DECL_HIDDEN KoMarkerData::Private
{
public:
Private(KoMarker *marker, qreal baseWidth, KoMarkerData::MarkerPosition position, bool center)
......
......@@ -27,7 +27,8 @@
#include <kdebug.h>
#include <QAction>
class KoPasteController::Private {
class Q_DECL_HIDDEN KoPasteController::Private
{
public:
Private(KoPasteController *p, KoCanvasBase *c, QAction *a) : parent(p), canvas(c), action(a) {
}
......
......@@ -35,7 +35,7 @@ static bool qIsNaNPoint(const QPointF &p) {
}
#endif
class KoPathPoint::Private
class Q_DECL_HIDDEN KoPathPoint::Private
{
public:
Private()
......
......@@ -263,7 +263,7 @@ private:
QList<QPointF> points;
};
class KoPathSegment::Private
class Q_DECL_HIDDEN KoPathSegment::Private
{
public:
Private(KoPathSegment *qq, KoPathPoint *p1, KoPathPoint *p2)
......
......@@ -28,7 +28,7 @@
#include <QTouchEvent>
#include <QGraphicsSceneMouseEvent>
class KoPointerEvent::Private
class Q_DECL_HIDDEN KoPointerEvent::Private
{
public:
Private()
......
......@@ -37,7 +37,7 @@
#include <KoGenChanges.h>
class KoShapeAnchor::Private
class Q_DECL_HIDDEN KoShapeAnchor::Private
{
public:
Private(KoShape *s)
......
......@@ -23,7 +23,7 @@
#include "KoShapeContainer.h"
class KoShapeContainerDefaultModel::Private
class Q_DECL_HIDDEN KoShapeContainerDefaultModel::Private
{
public:
class Relation
......
......@@ -41,7 +41,7 @@
#include <kdebug.h>
class KoShapeFactoryBase::Private
class Q_DECL_HIDDEN KoShapeFactoryBase::Private
{
public:
Private(const QString &_id, const QString &_name, const QString &_deferredPluginName)
......
......@@ -38,7 +38,7 @@ uint qHash(const KoShapeLoadingContext::AdditionalAttributeData & attributeData)
static QSet<KoShapeLoadingContext::AdditionalAttributeData> s_additionlAttributes;
class KoShapeLoadingContext::Private
class Q_DECL_HIDDEN KoShapeLoadingContext::Private
{
public:
Private(KoOdfLoadingContext &c, KoDocumentResourceManager *resourceManager)
......
......@@ -24,7 +24,7 @@
#include "KoShapeManager.h"
#include <QPainter>
class KoShapeManagerPaintingStrategy::Private
class Q_DECL_HIDDEN KoShapeManagerPaintingStrategy::Private
{
public:
Private(KoShapeManager * manager)
......
......@@ -47,7 +47,7 @@
#include <QTimer>
#include <kdebug.h>
class KoShapeManager::Private
class Q_DECL_HIDDEN KoShapeManager::Private
{
public:
Private(KoShapeManager *shapeManager, KoCanvasBase *c)
......
......@@ -107,7 +107,7 @@ private:
KoShapeManager *m_shapeManager;
};
class KoShapePainter::Private
class Q_DECL_HIDDEN KoShapePainter::Private
{
public:
Private()
......
......@@ -39,7 +39,7 @@
#include "KoDocumentResourceManager.h"
#include "commands/KoShapeCreateCommand.h"
class KoShapePaste::Private
class Q_DECL_HIDDEN KoShapePaste::Private
{
public:
Private(KoCanvasBase *cb, KoShapeLayer *l) : canvas(cb), layer(l) {}
......
......@@ -47,7 +47,7 @@
#include <kdebug.h>
#include <kglobal.h>
class KoShapeRegistry::Private
class Q_DECL_HIDDEN KoShapeRegistry::Private
{
public:
void insertFactory(KoShapeFactoryBase *factory);
......
......@@ -36,7 +36,7 @@
#include <QImage>
#include <QRectF>
class KoShapeShadow::Private
class Q_DECL_HIDDEN KoShapeShadow::Private
{
public:
Private()
......
......@@ -43,7 +43,7 @@
#include "KoMarkerData.h"
class KoShapeStroke::Private
class Q_DECL_HIDDEN KoShapeStroke::Private
{
public:
void paintBorder(KoShape *shape, QPainter &painter, const QPen &pen) const;
......
......@@ -23,7 +23,7 @@
#include <QAtomicInt>
class KoShapeStrokeModel::Private
class Q_DECL_HIDDEN KoShapeStrokeModel::Private
{
public:
Private() : refCount(0) { }
......
......@@ -31,7 +31,7 @@
#include <math.h>
class KoSnapGuide::Private
class Q_DECL_HIDDEN KoSnapGuide::Private
{
public:
Private(KoCanvasBase *parentCanvas)
......
......@@ -23,7 +23,7 @@
#include <KShortcut>
class KoToolFactoryBase::Private
class Q_DECL_HIDDEN KoToolFactoryBase::Private
{
public:
Private(const QString &i)
......
......@@ -44,7 +44,7 @@ class CanvasData;
class QToolButton;
class KoToolProxy;
class KoToolManager::Private
class Q_DECL_HIDDEN KoToolManager::Private
{
public:
Private(KoToolManager *qq);
......
......@@ -23,7 +23,7 @@
#include "KoShapeContainer.h"
#include <klocale.h>
class KoPathCombineCommand::Private
class Q_DECL_HIDDEN KoPathCombineCommand::Private
{
public:
Private(KoShapeBasedDocumentBase *c, const QList<KoPathShape*> &p)
......
......@@ -22,7 +22,7 @@
#include <klocale.h>
class KoPathFillRuleCommand::Private
class Q_DECL_HIDDEN KoPathFillRuleCommand::Private
{
public:
Private(Qt::FillRule fillRule) : newFillRule(fillRule) {
......
......@@ -25,7 +25,7 @@
#include <klocale.h>
#include <QPointF>
class KoPathPointMergeCommand::Private
class Q_DECL_HIDDEN KoPathPointMergeCommand::Private
{
public:
Private(const KoPathPointData &pointData1, const KoPathPointData &pointData2)
......
......@@ -21,7 +21,7 @@
#include "KoPathShape.h"
#include <klocale.h>
class KoPathReverseCommand::Private
class Q_DECL_HIDDEN KoPathReverseCommand::Private
{
public:
Private(const QList<KoPathShape*> &p)
......
......@@ -26,7 +26,7 @@
#include <klocale.h>
// #include <kdebug.h>
class KoShapeAlignCommand::Private
class Q_DECL_HIDDEN KoShapeAlignCommand::Private
{
public:
Private() : command(0) {}
......
......@@ -24,7 +24,7 @@
#include <klocale.h>
class KoShapeBackgroundCommand::Private
class Q_DECL_HIDDEN KoShapeBackgroundCommand::Private
{
public:
Private() {
......
......@@ -26,7 +26,7 @@
#include <klocale.h>
class KoShapeClipCommand::Private
class Q_DECL_HIDDEN KoShapeClipCommand::Private
{
public:
Private(KoShapeBasedDocumentBase *c)
......
......@@ -19,7 +19,7 @@
#include "KoShapeConnectionChangeCommand.h"
class KoShapeConnectionChangeCommand::Private
class Q_DECL_HIDDEN KoShapeConnectionChangeCommand::Private
{
public:
Private()
......
......@@ -25,7 +25,7 @@
#include <klocale.h>
class KoShapeCreateCommand::Private
class Q_DECL_HIDDEN KoShapeCreateCommand::Private
{
public:
Private(KoShapeBasedDocumentBase *c, KoShape *s)
......
......@@ -24,7 +24,7 @@
#include <klocale.h>
class KoShapeDeleteCommand::Private
class Q_DECL_HIDDEN KoShapeDeleteCommand::Private
{
public:
Private(KoShapeBasedDocumentBase *c)
......
......@@ -26,7 +26,7 @@
#include <klocale.h>
class KoShapeDistributeCommand::Private
class Q_DECL_HIDDEN KoShapeDistributeCommand::Private
{
public:
Private() : command(0) {}
......
......@@ -23,7 +23,7 @@
#include <KoShape.h>
#include <klocale.h>
class KoShapeMoveCommand::Private
class Q_DECL_HIDDEN KoShapeMoveCommand::Private
{
public:
QList<KoShape*> shapes;
......
......@@ -23,7 +23,7 @@
#include <klocale.h>
#include "KoShape.h"
class KoShapeRenameCommand::Private
class Q_DECL_HIDDEN KoShapeRenameCommand::Private
{
public:
Private(KoShape *shape, const QString &newName)
......
......@@ -23,7 +23,7 @@
#include <klocale.h>
#include "KoShape.h"
class KoShapeRunAroundCommand::Private
class Q_DECL_HIDDEN KoShapeRunAroundCommand::Private
{
public:
Private(KoShape *s, KoShape::TextRunAroundSide side, int runThrough, qreal distanceLeft, qreal distanceTop, qreal distanceRight, qreal distanceBottom, qreal threshold, KoShape::TextRunAroundContour contour)
......
......@@ -23,7 +23,7 @@
#include <klocale.h>
class KoShapeShadowCommand::Private
class Q_DECL_HIDDEN KoShapeShadowCommand::Private
{
public:
Private() {}
......
......@@ -23,7 +23,7 @@
#include <KoShape.h>
#include <klocale.h>
class KoShapeSizeCommand::Private
class Q_DECL_HIDDEN KoShapeSizeCommand::Private
{
public:
QList<KoShape*> shapes;
......
......@@ -26,7 +26,7 @@
#include <klocale.h>
class KoShapeStrokeCommand::Private
class Q_DECL_HIDDEN KoShapeStrokeCommand::Private
{
public:
Private() {}
......
......@@ -26,7 +26,7 @@
#include <kdebug.h>
class KoShapeTransformCommand::Private
class Q_DECL_HIDDEN KoShapeTransformCommand::Private
{
public:
Private(const QList<KoShape*> &list) : shapes(list) { }
......
......@@ -22,7 +22,7 @@
#include <klocale.h>
class KoShapeTransparencyCommand::Private
class Q_DECL_HIDDEN KoShapeTransparencyCommand::Private
{
public:
Private() {
......