Commit 73cfef2b 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 66a0a419
......@@ -57,7 +57,7 @@
using namespace KLDAP;
class Ber::BerPrivate
class Q_DECL_HIDDEN Ber::BerPrivate
{
public:
#ifdef LDAP_FOUND
......
......@@ -27,7 +27,7 @@
using namespace KLDAP;
class LdapAttributeProxyModel::LdapAttributeProxyModelPrivate
class Q_DECL_HIDDEN LdapAttributeProxyModel::LdapAttributeProxyModelPrivate
{
public:
LdapAttributeProxyModelPrivate();
......
......@@ -39,7 +39,7 @@
using namespace KLDAP;
class LdapConfigWidget::Private
class Q_DECL_HIDDEN LdapConfigWidget::Private
{
public:
Private(LdapConfigWidget *parent)
......
......@@ -58,7 +58,7 @@ static bool ldapoperation_sasl_initialized = false;
using namespace KLDAP;
class LdapConnection::LdapConnectionPrivate
class Q_DECL_HIDDEN LdapConnection::LdapConnectionPrivate
{
public:
LdapConnectionPrivate();
......
......@@ -25,7 +25,7 @@
using namespace KLDAP;
class LdapControl::Private : public QSharedData
class Q_DECL_HIDDEN LdapControl::Private : public QSharedData
{
public:
Private()
......
......@@ -26,7 +26,7 @@
using namespace KLDAP;
class LdapDN::LdapDNPrivate
class Q_DECL_HIDDEN LdapDN::LdapDNPrivate
{
public:
LdapDNPrivate() : m_dn() {}
......
......@@ -35,7 +35,7 @@ class LdapSearch;
/**
* @internal
*/
class LdapModel::LdapModelPrivate
class Q_DECL_HIDDEN LdapModel::LdapModelPrivate
{
public:
enum SearchType {
......
......@@ -25,7 +25,7 @@
using namespace KLDAP;
class LdapObject::Private : public QSharedData
class Q_DECL_HIDDEN LdapObject::Private : public QSharedData
{
public:
Private()
......
......@@ -69,7 +69,7 @@ static int kldap_timeout_value(int msecs, int elapsed)
return timeout < 0 ? 0 : timeout;
}
class LdapOperation::LdapOperationPrivate
class Q_DECL_HIDDEN LdapOperation::LdapOperationPrivate
{
public:
LdapOperationPrivate();
......
......@@ -32,7 +32,7 @@ using namespace KLDAP;
//blocking the GUI for xxx milliseconds
#define LDAPSEARCH_BLOCKING_TIMEOUT 10
class LdapSearch::Private
class Q_DECL_HIDDEN LdapSearch::Private
{
public:
Private(LdapSearch *parent)
......
......@@ -24,7 +24,7 @@
using namespace KLDAP;
class LdapServer::LdapServerPrivate
class Q_DECL_HIDDEN LdapServer::LdapServerPrivate
{
public:
QString mHost;
......
......@@ -27,7 +27,7 @@
using namespace KLDAP;
class LdapStructureProxyModel::LdapStructureProxyModelPrivate
class Q_DECL_HIDDEN LdapStructureProxyModel::LdapStructureProxyModelPrivate
{
public:
LdapStructureProxyModelPrivate();
......
......@@ -26,7 +26,7 @@
using namespace KLDAP;
class LdapUrl::LdapUrlPrivate
class Q_DECL_HIDDEN LdapUrl::LdapUrlPrivate
{
public:
LdapUrlPrivate()
......
......@@ -24,7 +24,7 @@
using namespace KLDAP;
class Ldif::LdifPrivate
class Q_DECL_HIDDEN Ldif::LdifPrivate
{
public:
int mModType;
......
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