Commit bd2e8bf0 authored by Laurent Montel's avatar Laurent Montel 😁

Export more class as private symbole

parent 49bf5453
set(phonewidgettest_SRCS phonewidgettest.cpp ../phone/phonewidget.cpp ../phone/phonecomboboxtype.cpp ../phone/phonetypedialog.cpp
../../widgets/preferredlineeditwidget.cpp)
set(phonewidgettest_SRCS phonewidgettest.cpp)
add_executable(phonewidgettest ${phonewidgettest_SRCS})
add_test(phonewidgettest phonewidgettest)
ecm_mark_as_test(phonewidgettest)
target_link_libraries(phonewidgettest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion KF5::IconThemes)
set(mailwidgettest_SRCS mailwidgettest.cpp ../mail/mailwidget.cpp ../../widgets/preferredlineeditwidget.cpp)
set(mailwidgettest_SRCS mailwidgettest.cpp ../../widgets/preferredlineeditwidget.cpp)
add_executable(mailwidgettest ${mailwidgettest_SRCS})
add_test(mailwidgettest mailwidgettest)
ecm_mark_as_test(mailwidgettest)
......
......@@ -25,12 +25,13 @@
#include <QWidget>
#include <KContacts/Email>
#include "akonadicontact_private_export.h"
class QToolButton;
namespace Akonadi
{
class PreferredLineEditWidget;
class AkonadiContactSelectTypeCombobox;
class MailWidget : public QWidget
class AKONADI_CONTACTS_TESTS_EXPORT MailWidget : public QWidget
{
Q_OBJECT
public:
......
......@@ -25,13 +25,13 @@
#include <editor/widgets/akonadicontactcombobox.h>
#include <kcontacts/addressee.h>
#include "akonadicontact_private_export.h"
namespace Akonadi
{
/**
* @short A combobox to select a phone number type.
*/
class PhoneComboBoxType : public Akonadi::AkonadiContactComboBox
class AKONADI_CONTACTS_TESTS_EXPORT PhoneComboBoxType : public Akonadi::AkonadiContactComboBox
{
Q_OBJECT
......
......@@ -24,7 +24,7 @@
#define PHONELISTWIDGET_H
#include <QWidget>
#include "akonadicontact_private_export.h"
namespace KContacts
{
class Addressee;
......@@ -32,7 +32,7 @@ class Addressee;
namespace Akonadi
{
class PhoneWidgetLister;
class PhoneListWidget : public QWidget
class AKONADI_CONTACTS_TESTS_EXPORT PhoneListWidget : public QWidget
{
Q_OBJECT
public:
......
......@@ -23,6 +23,7 @@
#include <QDialog>
#include <KContacts/PhoneNumber>
#include "akonadicontact_private_export.h"
class QButtonGroup;
namespace Akonadi
......@@ -30,7 +31,7 @@ namespace Akonadi
/**
* A dialog for editing phone number types.
*/
class PhoneTypeDialog : public QDialog
class AKONADI_CONTACTS_TESTS_EXPORT PhoneTypeDialog : public QDialog
{
Q_OBJECT
public:
......
......@@ -24,6 +24,7 @@
#define PHONEWIDGET_H
#include <QWidget>
#include "akonadicontact_private_export.h"
class QToolButton;
namespace KContacts
{
......@@ -33,7 +34,7 @@ namespace Akonadi
{
class PreferredLineEditWidget;
class PhoneComboBoxType;
class PhoneWidget : public QWidget
class AKONADI_CONTACTS_TESTS_EXPORT PhoneWidget : public QWidget
{
Q_OBJECT
public:
......
......@@ -24,6 +24,7 @@
#define PHONEWIDGETLISTER_H
#include "../../widgets/kwidgetlister_p.h"
#include "akonadicontact_private_export.h"
namespace KContacts
{
class Addressee;
......@@ -31,7 +32,7 @@ class Addressee;
namespace Akonadi
{
class PhoneWidget;
class PhoneWidgetLister : public KWidgetLister
class AKONADI_CONTACTS_TESTS_EXPORT PhoneWidgetLister : public KWidgetLister
{
Q_OBJECT
public:
......
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