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