Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
2489f798
Commit
2489f798
authored
Jan 12, 2022
by
Laurent Montel
😁
Browse files
Add export symbol
parent
530aad8b
Changes
4
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerconfigureplugins/openurlwith/CMakeLists.txt
View file @
2489f798
...
...
@@ -10,6 +10,7 @@ target_sources(messageviewer_openurlwithconfigplugin PRIVATE
target_link_libraries
(
messageviewer_openurlwithconfigplugin
KF5::MessageViewer
KF5::I18n
openurlwithconfigure
)
...
...
plugins/messageviewerconfigureplugins/openurlwith/openurlwith_private_export.h
0 → 100644
View file @
2489f798
/* 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
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfigplugin.cpp
View file @
2489f798
...
...
@@ -5,6 +5,7 @@
*/
#include "openurlwithconfigplugin.h"
#include "openurlwithconfiguredialog.h"
#include <KPluginFactory>
...
...
@@ -19,8 +20,8 @@ OpenUrlWithConfigPlugin::~OpenUrlWithConfigPlugin() = default;
void
OpenUrlWithConfigPlugin
::
showConfigureDialog
(
QWidget
*
parent
)
{
//
DKIM
ConfigureDialog dlg(parent);
//
dlg.exec();
OpenUrlWith
ConfigureDialog
dlg
(
parent
);
dlg
.
exec
();
}
#include "openurlwithconfigplugin.moc"
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfiguredialog.h
View file @
2489f798
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment