Commit 05b3b8b6 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Do not leak symbols of pimpl classes, protect with Q_DECL_HIDDEN

Summary:
Nested classes inherit the visibility of their outer class,
so all the KClass::Private symbols have also been exported
if the ones of KClass were

Reviewers: graesslin, davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D11209
parent 19f00550
......@@ -42,7 +42,7 @@ class DecoratedClient;
class DecorationSettings;
class DecorationShadow;
class Decoration::Private
class Q_DECL_HIDDEN Decoration::Private
{
public:
Private(Decoration *decoration, const QVariantList &args);
......
......@@ -39,7 +39,7 @@ class QTimer;
namespace KDecoration2
{
class DecorationButton::Private
class Q_DECL_HIDDEN DecorationButton::Private
{
public:
explicit Private(DecorationButtonType type, const QPointer<Decoration> &decoration, DecorationButton *parent);
......
......@@ -40,7 +40,7 @@ namespace KDecoration2
class Decoration;
class DecorationButtonGroup::Private
class Q_DECL_HIDDEN DecorationButtonGroup::Private
{
public:
explicit Private(Decoration *decoration, DecorationButtonGroup *parent);
......
......@@ -38,7 +38,7 @@
namespace KDecoration2
{
class DecorationShadow::Private
class Q_DECL_HIDDEN DecorationShadow::Private
{
public:
explicit Private(DecorationShadow *parent);
......
......@@ -24,7 +24,7 @@
namespace KDecoration2
{
class DecoratedClientPrivate::Private
class Q_DECL_HIDDEN DecoratedClientPrivate::Private
{
public:
explicit Private(DecoratedClient *client, Decoration *decoration);
......
......@@ -23,7 +23,7 @@
namespace KDecoration2
{
class DecorationSettingsPrivate::Private
class Q_DECL_HIDDEN DecorationSettingsPrivate::Private
{
public:
explicit Private(DecorationSettings *settings);
......
Supports Markdown
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