Commit 165b2b39 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Prepare a base class

parent 48609fd5
Pipeline #35609 passed with stage
in 57 minutes and 24 seconds
......@@ -9,6 +9,7 @@ set(folderconfiguresettings_SRCS
folderconfiguresettingstemplatewidget.cpp
folderconfiguresettingsviewwidget.cpp
folderconfiguremodifycollectionjob.cpp
folderconfiguresettingspagebase.cpp
)
ecm_qt_declare_logging_category(folderconfiguresettings_SRCS HEADER libfolderconfiguresettings_debug.h IDENTIFIER LIBFOLDERCONFIGURESETTINGS_PLUGIN_LOG CATEGORY_NAME org.kde.pim.libfolderconfiguresettingsplugin
......
/*
SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "folderconfiguresettingspagebase.h"
FolderConfigureSettingsPageBase::FolderConfigureSettingsPageBase(QWidget *parent)
: QWidget(parent)
{
}
FolderConfigureSettingsPageBase::~FolderConfigureSettingsPageBase()
{
}
/*
SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef FOLDERCONFIGURESETTINGSPAGEBASE_H
#define FOLDERCONFIGURESETTINGSPAGEBASE_H
#include <QWidget>
class FolderConfigureSettingsPageBase : public QWidget
{
Q_OBJECT
public:
explicit FolderConfigureSettingsPageBase(QWidget *parent = nullptr);
~FolderConfigureSettingsPageBase();
};
#endif // FOLDERCONFIGURESETTINGSPAGEBASE_H
......@@ -36,7 +36,7 @@ FolderConfigureSettingsPageWidget::FolderConfigureSettingsPageWidget(QWidget *pa
mFolderConfigureSettingsViewWidget->setObjectName(QStringLiteral("mFolderConfigureSettingsViewWidget"));
tab->addTab(mFolderConfigureSettingsViewWidget, i18n("View"));
//Expiry
//Expiry => add Tab
mCollectionExpiryWidget = new MailCommon::CollectionExpiryWidget(this);
mCollectionExpiryWidget->setObjectName(QStringLiteral("mCollectionExpiryWidget"));
mCollectionExpiryWidget->hideExpireNowButton();
......
Markdown is supported
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