Commit 43940323 authored by Volker Krause's avatar Volker Krause
Browse files

Don't accidentally export private classes.

Nested classes inherit the visibility of the outer class, which isn't
really what we want for private classes. So hide them explicitly.
parent a82bef9f
......@@ -41,7 +41,7 @@ const int MAIL_MIN_LINES = 4; // allow for From, To, no CC, Date, Subject
namespace KAlarmCal
{
class AlarmText::Private
class Q_DECL_HIDDEN AlarmText::Private
{
public:
enum Type { None, Email, Script, Todo };
......
......@@ -27,7 +27,7 @@
namespace KAlarmCal
{
class CollectionAttribute::Private
class Q_DECL_HIDDEN CollectionAttribute::Private
{
public:
Private()
......
......@@ -27,7 +27,7 @@
namespace KAlarmCal
{
class CompatibilityAttribute::Private
class Q_DECL_HIDDEN CompatibilityAttribute::Private
{
public:
Private()
......
......@@ -30,7 +30,7 @@
namespace KAlarmCal
{
class DateTime::Private
class Q_DECL_HIDDEN DateTime::Private
{
public:
Private() {}
......
......@@ -28,7 +28,7 @@
namespace KAlarmCal
{
class EventAttribute::Private
class Q_DECL_HIDDEN EventAttribute::Private
{
public:
Private() : mCommandError(KAEvent::CMD_NO_ERROR) {}
......
......@@ -63,7 +63,7 @@ private:
//=============================================================================
class KAAlarm::Private
class Q_DECL_HIDDEN KAAlarm::Private
{
public:
Private();
......@@ -81,7 +81,7 @@ public:
//=============================================================================
class KAEventPrivate : public QSharedData
class Q_DECL_HIDDEN KAEventPrivate : public QSharedData
{
public:
// Read-only internal flags additional to KAEvent::Flags enum values.
......
......@@ -45,7 +45,7 @@ public:
Recurrence_p(const Recurrence_p &r) : Recurrence(r) {}
};
class KARecurrence::Private
class Q_DECL_HIDDEN KARecurrence::Private
{
public:
Private()
......
......@@ -27,7 +27,7 @@ using namespace KCalCore;
namespace KAlarmCal
{
class Repetition::Private
class Q_DECL_HIDDEN Repetition::Private
{
public:
Private() : mInterval(0), mCount(0) {}
......
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