KDE PIM support for the p≡p engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

47 lines
1.1 KiB

/*
SPDX-FileCopyrightText: 2017-2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "pepcomposerconfiguredialog.h"
#include "pepcomposerconfigurewidget.h"
#include <KLocalizedString>
pEpComposerConfigureDialog::pEpComposerConfigureDialog(QWidget *parent)
: PimCommon::ConfigurePluginDialog(parent)
{
setWindowTitle(i18nc("@title:window", "Configure \"p≡p Composer\" Plugin"));
initLayout();
}
pEpComposerConfigureDialog::~pEpComposerConfigureDialog()
{
}
QWidget *pEpComposerConfigureDialog::createLayout()
{
mConfigureWidget = new pEpComposerConfigureWidget(this);
mConfigureWidget->setObjectName(QStringLiteral("configurewidget"));
return mConfigureWidget;
}
void pEpComposerConfigureDialog::save()
{
mConfigureWidget->saveSettings();
}
void pEpComposerConfigureDialog::load()
{
mConfigureWidget->loadSettings();
}
void pEpComposerConfigureDialog::reset()
{
mConfigureWidget->resetSettings();
}
void pEpComposerConfigureDialog::help()
{
showHelp(QStringLiteral("kmail2"), mConfigureWidget->helpAnchor());
}