Commit 2489f798 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add export symbol

parent 530aad8b
......@@ -10,6 +10,7 @@ target_sources(messageviewer_openurlwithconfigplugin PRIVATE
target_link_libraries(messageviewer_openurlwithconfigplugin
KF5::MessageViewer
KF5::I18n
openurlwithconfigure
)
......
/* This file is part of the KDE project
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include "libopenurlwithconfigure_export.h"
/* Classes which are exported only for unit tests */
#ifdef BUILD_TESTING
#ifndef LIBOPENURLWITHCONFIGURE_TESTS_EXPORT
#define LIBOPENURLWITHCONFIGURE_TESTS_EXPORT LIBOPENURLWITHCONFIGURE_EXPORT
#endif
#else /* not compiling tests */
#define LIBOPENURLWITHCONFIGURE_TESTS_EXPORT
#endif
......@@ -5,6 +5,7 @@
*/
#include "openurlwithconfigplugin.h"
#include "openurlwithconfiguredialog.h"
#include <KPluginFactory>
......@@ -19,8 +20,8 @@ OpenUrlWithConfigPlugin::~OpenUrlWithConfigPlugin() = default;
void OpenUrlWithConfigPlugin::showConfigureDialog(QWidget *parent)
{
// DKIMConfigureDialog dlg(parent);
// dlg.exec();
OpenUrlWithConfigureDialog dlg(parent);
dlg.exec();
}
#include "openurlwithconfigplugin.moc"
......@@ -6,9 +6,10 @@
#pragma once
#include "libopenurlwithconfigure_export.h"
#include <QDialog>
class OpenUrlWithConfigureDialog : public QDialog
class LIBOPENURLWITHCONFIGURE_EXPORT OpenUrlWithConfigureDialog : public QDialog
{
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