Stop exporting symbols from private nested structs in libs

parent 2987cfc8
......@@ -28,7 +28,7 @@
#include <QTextDocument>
struct KoTextOdfSaveHelper::Private {
struct Q_DECL_HIDDEN KoTextOdfSaveHelper::Private {
Private(const QTextDocument *document, int from, int to)
: context(0)
, document(document)
......
......@@ -32,7 +32,7 @@
#include "KoXmlNS.h"
struct KoOdfWriteStore::Private {
struct Q_DECL_HIDDEN KoOdfWriteStore::Private {
Private(KoStore * store)
: store(store)
, storeDevice(0)
......
......@@ -240,7 +240,7 @@ uint qHash(const KoColorConversionSystem::NodeKey &key)
return qHash(key.modelId) + qHash(key.depthId);
}
struct KoColorConversionSystem::Private {
struct Q_DECL_HIDDEN KoColorConversionSystem::Private {
QHash<NodeKey, Node*> graph;
QList<Vertex*> vertexes;
......
......@@ -28,7 +28,7 @@ KoColorConversionTransformation::Intent KoColorConversionTransformation::Adjustm
KoColorConversionTransformation::ConversionFlags KoColorConversionTransformation::AdjustmentConversionFlags = BlackpointCompensation | NoWhiteOnWhiteFixup;
struct KoColorConversionTransformation::Private {
struct Q_DECL_HIDDEN KoColorConversionTransformation::Private {
const KoColorSpace* srcColorSpace;
const KoColorSpace* dstColorSpace;
Intent renderingIntent;
......
......@@ -26,7 +26,7 @@
#include "DebugPigment.h"
#include "KoColorSpaceRegistry.h"
struct KoColorConversionTransformationFactory::Private {
struct Q_DECL_HIDDEN KoColorConversionTransformationFactory::Private {
QString srcModelId;
QString srcDepthId;
QString dstModelId;
......
......@@ -19,7 +19,8 @@
#include "KoColorProfile.h"
#include "DebugPigment.h"
struct KoColorProfile::Private {
struct Q_DECL_HIDDEN KoColorProfile::Private {
QString name;
QString info;
QString fileName;
......
......@@ -21,7 +21,7 @@
#include <kglobal.h>
#include <QString>
struct KoColorSpaceEngine::Private {
struct Q_DECL_HIDDEN KoColorSpaceEngine::Private {
QString id;
QString name;
};
......
......@@ -27,7 +27,7 @@
#include "KoColorSpace.h"
#include "KoColorSpaceRegistry.h"
struct KoColorSpaceFactory::Private {
struct Q_DECL_HIDDEN KoColorSpaceFactory::Private {
QList<KoColorProfile*> colorprofiles;
QList<KoColorSpace*> colorspaces;
QHash<QString, KoColorSpace* > availableColorspaces;
......
......@@ -47,7 +47,7 @@
#include "colorspaces/KoSimpleColorSpaceEngine.h"
#include "KoColorSpace_p.h"
struct KoColorSpaceRegistry::Private {
struct Q_DECL_HIDDEN KoColorSpaceRegistry::Private {
KoGenericRegistry<KoColorSpaceFactory *> colorSpaceFactoryRegistry;
QList<KoColorSpaceFactory *> localFactories;
QHash<QString, KoColorProfile * > profileMap;
......
......@@ -23,7 +23,7 @@
#include "KoColorSpace.h"
#include <QThreadStorage>
struct KoColorSpace::Private {
struct Q_DECL_HIDDEN KoColorSpace::Private {
QString id;
quint32 idNumber;
......
......@@ -19,7 +19,7 @@
#include "KoColorTransformationFactory.h"
struct KoColorTransformationFactory::Private {
struct Q_DECL_HIDDEN KoColorTransformationFactory::Private {
QString id;
};
......
......@@ -21,7 +21,7 @@
#include "KoColorTransformationFactory.h"
struct KoColorTransformationFactoryRegistry::Private {
struct Q_DECL_HIDDEN KoColorTransformationFactoryRegistry::Private {
static KoColorTransformationFactoryRegistry* s_registry;
};
......
......@@ -21,7 +21,7 @@
#include <QVector>
struct KoCompositeColorTransformation::Private
struct Q_DECL_HIDDEN KoCompositeColorTransformation::Private
{
~Private() {
qDeleteAll(transformations);
......
......@@ -92,7 +92,7 @@ void KoCompositeOp::ParameterInfo::updateOpacityAndAverage(float value) {
}
}
struct KoCompositeOp::Private {
struct Q_DECL_HIDDEN KoCompositeOp::Private {
const KoColorSpace * colorSpace;
QString id;
QString description;
......
......@@ -27,7 +27,7 @@
#include "DebugPigment.h"
struct KoFallBackColorTransformation::Private {
struct Q_DECL_HIDDEN KoFallBackColorTransformation::Private {
const KoColorSpace* fallBackColorSpace;
KoCachedColorConversionTransformation* csToFallBackCache;
KoCachedColorConversionTransformation* fallBackToCsCache;
......
......@@ -23,7 +23,7 @@
#include <KoColorSpace.h>
struct KoMultipleColorConversionTransformation::Private {
struct Q_DECL_HIDDEN KoMultipleColorConversionTransformation::Private {
QList<KoColorConversionTransformation*> transfos;
quint32 maxPixelSize;
};
......
......@@ -23,7 +23,7 @@
#include <kglobal.h>
struct KoUniqueNumberForIdServer::Private {
struct Q_DECL_HIDDEN KoUniqueNumberForIdServer::Private {
Private()
: currentNumber(0) {}
......
......@@ -30,7 +30,7 @@
#define PREVIEW_HEIGHT 64
struct KoAbstractGradient::Private {
struct Q_DECL_HIDDEN KoAbstractGradient::Private {
const KoColorSpace* colorSpace;
QGradient::Spread spread;
QGradient::Type type;
......
......@@ -27,7 +27,7 @@
#include "KoHashGenerator.h"
#include "KoHashGeneratorProvider.h"
struct KoResource::Private {
struct Q_DECL_HIDDEN KoResource::Private {
QString name;
QString filename;
bool valid;
......
......@@ -29,7 +29,7 @@
#define ARROWSIZE 8
struct KoColorSlider::Private
struct Q_DECL_HIDDEN KoColorSlider::Private
{
Private() : upToDate(false), displayRenderer(0) {}
KoColor minColor;
......
......@@ -22,7 +22,7 @@
#include <kglobal.h>
struct KoResourceItemChooserSync::Private
struct Q_DECL_HIDDEN KoResourceItemChooserSync::Private
{
int baseLength;
};
......
......@@ -148,7 +148,7 @@ void KoResourceLoaderThread::barrier()
}
struct KoResourceServerProvider::Private
struct Q_DECL_HIDDEN KoResourceServerProvider::Private
{
KoResourceServer<KoPattern>* patternServer;
KoResourceServer<KoAbstractGradient>* gradientServer;
......
......@@ -33,7 +33,7 @@ enum CurrentHandle {
HueHandle,
ValueSaturationHandle };
struct KoTriangleColorSelector::Private {
struct Q_DECL_HIDDEN KoTriangleColorSelector::Private {
Private(KoTriangleColorSelector *_q, const KoColorDisplayRendererInterface *_displayRenderer)
: q(_q),
displayRenderer(_displayRenderer),
......
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