Commit 444a387b authored by Volker Krause's avatar Volker Krause

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 05e733c7
......@@ -26,7 +26,7 @@
using namespace Akonadi;
class AbstractContactFormatter::Private
class Q_DECL_HIDDEN AbstractContactFormatter::Private
{
public:
KContacts::Addressee mContact;
......
......@@ -26,7 +26,7 @@
using namespace Akonadi;
class AbstractContactGroupFormatter::Private
class Q_DECL_HIDDEN AbstractContactGroupFormatter::Private
{
public:
KContacts::ContactGroup mContactGroup;
......
......@@ -44,7 +44,7 @@
using namespace Akonadi;
class ContactEditor::Private
class Q_DECL_HIDDEN ContactEditor::Private
{
public:
Private(ContactEditor::Mode mode, ContactEditor::DisplayMode displayMode, AbstractContactEditorWidget *editorWidget, ContactEditor *parent)
......
......@@ -40,7 +40,7 @@
using namespace Akonadi;
class ContactEditorDialog::Private
class Q_DECL_HIDDEN ContactEditorDialog::Private
{
public:
Private(ContactEditorDialog::Mode mode, ContactEditorDialog::DisplayMode displaymode, AbstractContactEditorWidget *editorWidget,
......
......@@ -37,7 +37,7 @@ namespace Akonadi
class ContactGroupModel;
class Monitor;
class ContactGroupEditor::Private
class Q_DECL_HIDDEN ContactGroupEditor::Private
{
public:
Private(ContactGroupEditor *parent);
......
......@@ -111,7 +111,7 @@ void ContactLineEdit::slotTextEdited()
mIsReference = false;
}
class ContactGroupEditorDelegate::Private
class Q_DECL_HIDDEN ContactGroupEditorDelegate::Private
{
public:
Private()
......
......@@ -42,7 +42,7 @@
using namespace Akonadi;
class ContactGroupEditorDialog::Private
class Q_DECL_HIDDEN ContactGroupEditorDialog::Private
{
public:
Private(ContactGroupEditorDialog *qq, ContactGroupEditorDialog::Mode mode)
......
......@@ -28,7 +28,7 @@
using namespace Akonadi;
class ContactGroupExpandJob::Private
class Q_DECL_HIDDEN ContactGroupExpandJob::Private
{
public:
Private(const KContacts::ContactGroup &group, ContactGroupExpandJob *parent)
......
......@@ -46,7 +46,7 @@ struct GroupMember {
bool loadingError;
};
class ContactGroupModel::Private
class Q_DECL_HIDDEN ContactGroupModel::Private
{
public:
Private(ContactGroupModel *parent)
......
......@@ -27,7 +27,7 @@
using namespace Akonadi;
class ContactGroupSearchJob::Private
class Q_DECL_HIDDEN ContactGroupSearchJob::Private
{
public:
int mLimit;
......
......@@ -42,7 +42,7 @@
using namespace Akonadi;
class ContactGroupViewer::Private
class Q_DECL_HIDDEN ContactGroupViewer::Private
{
public:
Private(ContactGroupViewer *parent)
......
......@@ -32,7 +32,7 @@
using namespace Akonadi;
class ContactGroupViewerDialog::Private
class Q_DECL_HIDDEN ContactGroupViewerDialog::Private
{
public:
ContactGroupViewer *mViewer;
......
......@@ -27,7 +27,7 @@
using namespace Akonadi;
class ContactMetaData::Private
class Q_DECL_HIDDEN ContactMetaData::Private
{
public:
Private()
......
......@@ -25,7 +25,7 @@
using namespace Akonadi;
class ContactMetaDataAttribute::Private
class Q_DECL_HIDDEN ContactMetaDataAttribute::Private
{
public:
QVariantMap mData;
......
......@@ -26,7 +26,7 @@
using namespace Akonadi;
class ContactSearchJob::Private
class Q_DECL_HIDDEN ContactSearchJob::Private
{
public:
int mLimit;
......
......@@ -32,7 +32,7 @@ static bool contactGroupMatchesFilter(const KContacts::ContactGroup &group, cons
using namespace Akonadi;
class ContactsFilterProxyModel::Private
class Q_DECL_HIDDEN ContactsFilterProxyModel::Private
{
public:
Private()
......
......@@ -34,7 +34,7 @@
using namespace Akonadi;
class ContactsTreeModel::Private
class Q_DECL_HIDDEN ContactsTreeModel::Private
{
public:
Private()
......
......@@ -50,7 +50,7 @@
using namespace Akonadi;
class ContactViewer::Private
class Q_DECL_HIDDEN ContactViewer::Private
{
public:
Private(ContactViewer *parent)
......
......@@ -34,7 +34,7 @@ using namespace Akonadi;
#include <KConfigGroup>
#include <QPushButton>
class ContactViewerDialog::Private
class Q_DECL_HIDDEN ContactViewerDialog::Private
{
public:
Private(ContactViewerDialog *parent)
......
......@@ -54,7 +54,7 @@
#include <QVBoxLayout>
#include <KCompletion/KLineEdit>
class ContactEditorWidget::Private
class Q_DECL_HIDDEN ContactEditorWidget::Private
{
public:
Private(ContactEditorWidget::DisplayMode displayMode, ContactEditorWidget *parent)
......
......@@ -31,7 +31,7 @@
namespace Akonadi
{
class EmailAddressSelection::Private : public QSharedData
class Q_DECL_HIDDEN EmailAddressSelection::Private : public QSharedData
{
public:
Private();
......
......@@ -31,7 +31,7 @@
using namespace Akonadi;
class EmailAddressSelectionDialog::Private
class Q_DECL_HIDDEN EmailAddressSelectionDialog::Private
{
public:
Private(EmailAddressSelectionDialog *qq, QAbstractItemModel *model)
......
......@@ -78,7 +78,7 @@ private:
/**
* @internal
*/
class EmailAddressSelectionWidget::Private
class Q_DECL_HIDDEN EmailAddressSelectionWidget::Private
{
public:
Private(bool showOnlyContactWithEmail, EmailAddressSelectionWidget *qq, QAbstractItemModel *model)
......
......@@ -26,7 +26,7 @@
using namespace Akonadi;
class LeafExtensionProxyModel::Private
class Q_DECL_HIDDEN LeafExtensionProxyModel::Private
{
public:
Private(LeafExtensionProxyModel *qq)
......
......@@ -39,7 +39,7 @@
using namespace Akonadi;
class StandardContactActionManager::Private
class Q_DECL_HIDDEN StandardContactActionManager::Private
{
public:
Private(KActionCollection *actionCollection, QWidget *parentWidget, StandardContactActionManager *parent)
......
......@@ -35,7 +35,7 @@
using namespace Akonadi;
class StandardContactFormatter::Private
class Q_DECL_HIDDEN StandardContactFormatter::Private
{
public:
Private()
......
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