File indexing completed on 2025-01-19 04:46:53

0001 /*
0002    SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "openurlwithconfigplugin.h"
0008 #include "openurlwithconfiguredialog.h"
0009 
0010 #include <KPluginFactory>
0011 
0012 K_PLUGIN_CLASS_WITH_JSON(OpenUrlWithConfigPlugin, "messageviewer_openurlwithconfigplugin.json")
0013 
0014 OpenUrlWithConfigPlugin::OpenUrlWithConfigPlugin(QObject *parent, const QList<QVariant> &)
0015     : MessageViewer::MessageViewerConfigureSettingsPlugin(parent)
0016 {
0017 }
0018 
0019 OpenUrlWithConfigPlugin::~OpenUrlWithConfigPlugin() = default;
0020 
0021 void OpenUrlWithConfigPlugin::showConfigureDialog(QWidget *parent)
0022 {
0023     OpenUrlWithConfigureDialog dlg(parent);
0024     dlg.exec();
0025 }
0026 
0027 #include "openurlwithconfigplugin.moc"
0028 
0029 #include "moc_openurlwithconfigplugin.cpp"