Stop exporting symbols from "Private" subclasses in Krita libs

parent 3d07d89c
......@@ -33,7 +33,7 @@
#endif
class KisTransactionData::Private
class Q_DECL_HIDDEN KisTransactionData::Private
{
public:
KisPaintDeviceSP device;
......
......@@ -20,7 +20,7 @@
#include <kglobal.h>
class KisColorManager::Private {
class Q_DECL_HIDDEN KisColorManager::Private {
public:
// we are too dumb for that :)
};
......
......@@ -23,7 +23,7 @@
#include <QDebug>
class KisColorManager::Private {
class Q_DECL_HIDDEN KisColorManager::Private {
public:
Private(QObject *parent)
: colord(new KisColord(parent))
......
......@@ -231,7 +231,7 @@ private:
KisDocument *m_doc;
};
class KisDocument::Private
class Q_DECL_HIDDEN KisDocument::Private
{
public:
Private(KisDocument *document) :
......
......@@ -53,7 +53,7 @@
#endif
class KisDocumentSectionView::Private
class Q_DECL_HIDDEN KisDocumentSectionView::Private
{
public:
Private()
......
......@@ -29,7 +29,7 @@ Boston, MA 02110-1301, USA.
#include "KisImportExportManager.h"
#include "KoUpdater.h"
class KisImportExportFilter::Private
class Q_DECL_HIDDEN KisImportExportFilter::Private
{
public:
QPointer<KoUpdater> updater;
......
......@@ -33,7 +33,7 @@ Boston, MA 02110-1301, USA.
class QListWidget;
class KisImportExportManager::Private
class Q_DECL_HIDDEN KisImportExportManager::Private
{
public:
bool batch;
......
......@@ -153,7 +153,7 @@ public:
}
};
class KisMainWindow::Private
class Q_DECL_HIDDEN KisMainWindow::Private
{
public:
Private(KisMainWindow *parent)
......
......@@ -77,7 +77,7 @@
#include "kis_action.h"
class KisPart::Private
class Q_DECL_HIDDEN KisPart::Private
{
public:
Private(KisPart *_part)
......
......@@ -100,7 +100,7 @@ QString KisView::newObjectName()
bool KisView::s_firstView = true;
class KisView::Private
class Q_DECL_HIDDEN KisView::Private
{
public:
Private()
......
......@@ -22,7 +22,7 @@
#include <QMouseEvent>
#include <klocalizedstring.h>
class KisAbstractInputAction::Private
class Q_DECL_HIDDEN KisAbstractInputAction::Private
{
public:
QString id;
......
......@@ -18,7 +18,7 @@
#include "kis_abstract_shortcut.h"
class KisAbstractShortcut::Private
class Q_DECL_HIDDEN KisAbstractShortcut::Private
{
public:
KisAbstractInputAction *action;
......
......@@ -64,7 +64,7 @@ uint qHash(QPointer<T> value) {
return reinterpret_cast<quintptr>(value.data());
}
class KisInputManager::Private
class Q_DECL_HIDDEN KisInputManager::Private
{
public:
Private(KisInputManager *qq)
......
......@@ -45,7 +45,7 @@
#define PROFILE_VERSION 3
class KisInputProfileManager::Private
class Q_DECL_HIDDEN KisInputProfileManager::Private
{
public:
Private() : currentProfile(0) { }
......
......@@ -35,7 +35,7 @@
#endif
class KisShortcutMatcher::Private
class Q_DECL_HIDDEN KisShortcutMatcher::Private
{
public:
Private()
......
......@@ -20,7 +20,7 @@
#include "kis_abstract_input_action.h"
class KisSingleActionShortcut::Private
class Q_DECL_HIDDEN KisSingleActionShortcut::Private
{
public:
QList<Qt::Key> modifiers;
......
......@@ -20,7 +20,7 @@
#include "kis_abstract_input_action.h"
class KisStrokeShortcut::Private
class Q_DECL_HIDDEN KisStrokeShortcut::Private
{
public:
QList<Qt::Key> modifiers;
......
......@@ -21,7 +21,7 @@
#include "kis_action_manager.h"
#include <QEvent>
class KisAction::Private {
class Q_DECL_HIDDEN KisAction::Private {
public:
Private() : flags(NONE), conditions(NO_CONDITION), actionManager(0) {}
......
......@@ -35,7 +35,7 @@
class KisActionManager::Private {
class Q_DECL_HIDDEN KisActionManager::Private {
public:
Private()
......
......@@ -18,7 +18,7 @@
#include "kis_operation_ui_factory.h"
class KisOperationUIFactory::Private {
class Q_DECL_HIDDEN KisOperationUIFactory::Private {
public:
Private() {}
......
......@@ -19,7 +19,7 @@
#include "kis_operation_ui_widget.h"
class KisOperationUIWidget::Private {
class Q_DECL_HIDDEN KisOperationUIWidget::Private {
public:
Private() {}
......
......@@ -139,7 +139,7 @@ static const double spectral_chromaticity[81][3] =
{ 0.7347, 0.2653 } // 780 nm
};
class KisCIETongueWidget::Private
class Q_DECL_HIDDEN KisCIETongueWidget::Private
{
public:
......
......@@ -28,7 +28,7 @@ enum enumState {
/**
* Private members for KisCurveWidget class
*/
class KisCurveWidget::Private
class Q_DECL_HIDDEN KisCurveWidget::Private
{
KisCurveWidget *m_curveWidget;
......
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