Commit 26e75be6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to implement scam configure dialog

parent 2618c413
Pipeline #91889 failed with stage
in 37 minutes and 16 seconds
# SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
# SPDX-License-Identifier: BSD-3-Clause
add_library(scamconfiguresettings)
target_sources(scamconfiguresettings PRIVATE
scamconfiguresettingsdialog.cpp
)
ecm_qt_declare_logging_category(scamconfiguresettings HEADER libscamconfiguresettings_debug.h IDENTIFIER LIBSCAMCONFIGURESETTINGS_PLUGIN_LOG CATEGORY_NAME org.kde.pim.libfolderconfiguresettingsplugin
DESCRIPTION "kdepim-addons (scamettings-configure)"
EXPORT KDEPIMADDONS
)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(scamconfiguresettings PROPERTIES UNITY_BUILD ON)
endif()
generate_export_header(scamconfiguresettings BASE_NAME libscamconfiguresettings)
target_link_libraries(scamconfiguresettings
KF5::MessageViewer
KF5::I18n
)
set_target_properties(scamconfiguresettings
PROPERTIES OUTPUT_NAME scamconfiguresettings VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
)
install(TARGETS scamconfiguresettings ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
######
kcoreaddons_add_plugin(messageviewer_scamconfiguresettingsplugin INSTALL_NAMESPACE messageviewer/configuresettings)
target_sources(messageviewer_scamconfiguresettingsplugin PRIVATE
......
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "scamconfiguresettingsdialog.h"
#include <KLocalizedString>
#include <QDialogButtonBox>
#include <QVBoxLayout>
ScamConfigureSettingsDialog::ScamConfigureSettingsDialog(QWidget *parent)
: QDialog(parent)
{
}
ScamConfigureSettingsDialog::~ScamConfigureSettingsDialog()
{
}
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QDialog>
class ScamConfigureSettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit ScamConfigureSettingsDialog(QWidget *parent = nullptr);
~ScamConfigureSettingsDialog() override;
};
Supports Markdown
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