Commit a427b0b1 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

Nested classes inherit the visibility, so need to explicitly opt out again
parent 946cc469
......@@ -28,7 +28,7 @@
using namespace KScreen;
class Config::Private : public QObject
class Q_DECL_HIDDEN Config::Private : public QObject
{
Q_OBJECT
public:
......
......@@ -30,7 +30,7 @@
using namespace KScreen;
class ConfigMonitor::Private : public QObject
class Q_DECL_HIDDEN ConfigMonitor::Private : public QObject
{
Q_OBJECT
......
......@@ -45,7 +45,7 @@
using namespace KScreen;
class Edid::Private
class Q_DECL_HIDDEN Edid::Private
{
public:
Private():
......
......@@ -53,7 +53,7 @@ Log* Log::instance()
}
using namespace KScreen;
class Log::Private
class Q_DECL_HIDDEN Log::Private
{
public:
QString context;
......
......@@ -20,7 +20,7 @@
#include "mode.h"
using namespace KScreen;
class Mode::Private
class Q_DECL_HIDDEN Mode::Private
{
public:
Private():
......
......@@ -30,7 +30,7 @@
using namespace KScreen;
class Output::Private
class Q_DECL_HIDDEN Output::Private
{
public:
Private():
......
......@@ -21,7 +21,7 @@
using namespace KScreen;
class Screen::Private
class Q_DECL_HIDDEN Screen::Private
{
public:
Private():
......
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