File indexing completed on 2025-01-05 04:49:41

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