Commit df28d333 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Continue to use KMAILTESTS_TESTS_EXPORT

parent a5e662a6
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
set( kmail_potentialphishingemailjobtest_SRCS potentialphishingemailjobtest.cpp ../potentialphishingemailjob.cpp )
set( kmail_potentialphishingemailjobtest_SRCS potentialphishingemailjobtest.cpp )
add_executable( kmail_potentialphishingemailjobtest ${kmail_potentialphishingemailjobtest_SRCS})
add_test(NAME kmail_potentialphishingemailjobtest COMMAND kmail_potentialphishingemailjobtest)
ecm_mark_as_test(kmail_potentialphishingemailjobtest)
target_link_libraries( kmail_potentialphishingemailjobtest Qt5::Test KF5::Codecs KF5::PimCommon)
target_link_libraries( kmail_potentialphishingemailjobtest Qt5::Test KF5::Codecs KF5::PimCommon kmailprivate)
set( kmail_potentialphishingdetaildialogtest_SRCS potentialphishingdetaildialogtest.cpp ../potentialphishingdetaildialog.cpp ../potentialphishingdetailwidget.cpp)
set( kmail_potentialphishingdetaildialogtest_SRCS potentialphishingdetaildialogtest.cpp)
add_executable( kmail_potentialphishingdetaildialogtest ${kmail_potentialphishingdetaildialogtest_SRCS})
add_test(NAME kmail_potentialphishingdetaildialogtest COMMAND kmail_potentialphishingdetaildialogtest)
ecm_mark_as_test(kmail_potentialphishingdetaildialogtest)
target_link_libraries( kmail_potentialphishingdetaildialogtest Qt5::Test Qt5::Widgets KF5::ConfigCore KF5::I18n KF5::WidgetsAddons)
target_link_libraries( kmail_potentialphishingdetaildialogtest Qt5::Test Qt5::Widgets KF5::ConfigCore KF5::I18n KF5::WidgetsAddons kmailprivate)
set( kmail_potentialphishingdetailwidgettest_SRCS potentialphishingdetailwidgettest.cpp ../potentialphishingdetailwidget.cpp)
set( kmail_potentialphishingdetailwidgettest_SRCS potentialphishingdetailwidgettest.cpp)
add_executable( kmail_potentialphishingdetailwidgettest ${kmail_potentialphishingdetailwidgettest_SRCS})
add_test(NAME kmail_potentialphishingdetailwidgettest COMMAND kmail_potentialphishingdetailwidgettest)
ecm_mark_as_test(kmail_potentialphishingdetailwidgettest)
target_link_libraries( kmail_potentialphishingdetailwidgettest Qt5::Test Qt5::Widgets KF5::ConfigCore KF5::I18n KF5::WidgetsAddons KF5::PimCommon)
target_link_libraries( kmail_potentialphishingdetailwidgettest Qt5::Test Qt5::Widgets KF5::ConfigCore KF5::I18n KF5::WidgetsAddons KF5::PimCommon kmailprivate)
set( kmail_potentialphishingemailwarningtest_SRCS potentialphishingemailwarningtest.cpp ../potentialphishingemailwarning.cpp ../potentialphishingdetaildialog.cpp ../potentialphishingdetailwidget.cpp)
set( kmail_potentialphishingemailwarningtest_SRCS potentialphishingemailwarningtest.cpp)
add_executable( kmail_potentialphishingemailwarningtest ${kmail_potentialphishingemailwarningtest_SRCS})
add_test(NAME kmail_potentialphishingemailwarningtest COMMAND kmail_potentialphishingemailwarningtest)
ecm_mark_as_test(kmail_potentialphishingemailwarningtest)
target_link_libraries( kmail_potentialphishingemailwarningtest Qt5::Test Qt5::Widgets KF5::ConfigCore KF5::I18n KF5::WidgetsAddons)
target_link_libraries( kmail_potentialphishingemailwarningtest Qt5::Test Qt5::Widgets KF5::ConfigCore KF5::I18n KF5::WidgetsAddons kmailprivate)
......@@ -22,8 +22,9 @@
#define POTENTIALPHISHINGDETAILDIALOG_H
#include <QDialog>
#include "kmail_private_export.h"
class PotentialPhishingDetailWidget;
class PotentialPhishingDetailDialog : public QDialog
class KMAILTESTS_TESTS_EXPORT PotentialPhishingDetailDialog : public QDialog
{
Q_OBJECT
public:
......
......@@ -22,8 +22,9 @@
#define POTENTIALPHISHINGDETAILWIDGET_H
#include <QWidget>
#include "kmail_private_export.h"
class QListWidget;
class PotentialPhishingDetailWidget : public QWidget
class KMAILTESTS_TESTS_EXPORT PotentialPhishingDetailWidget : public QWidget
{
Q_OBJECT
public:
......
......@@ -21,10 +21,11 @@
#ifndef POTENTIALPHISHINGEMAILJOB_H
#define POTENTIALPHISHINGEMAILJOB_H
#include "kmail_private_export.h"
#include <QObject>
#include <QStringList>
class PotentialPhishingEmailJob : public QObject
class KMAILTESTS_TESTS_EXPORT PotentialPhishingEmailJob : public QObject
{
Q_OBJECT
public:
......
......@@ -22,8 +22,8 @@
#define POTENTIALPHISHINGEMAILWARNING_H
#include <KMessageWidget>
class PotentialPhishingEmailWarning : public KMessageWidget
#include "kmail_private_export.h"
class KMAILTESTS_TESTS_EXPORT PotentialPhishingEmailWarning : public KMessageWidget
{
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