Commit b61fbfba authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add expiry page

parent 2588f225
Pipeline #28048 passed with stage
in 52 minutes and 53 seconds
......@@ -18,6 +18,8 @@
*/
#include "folderconfiguresettingspagewidget.h"
#include <MailCommon/CollectionExpiryWidget>
#include <KLocalizedString>
#include <QTabWidget>
#include <QVBoxLayout>
......@@ -32,6 +34,11 @@ FolderConfigureSettingsPageWidget::FolderConfigureSettingsPageWidget(QWidget *pa
tab->setObjectName(QStringLiteral("tab"));
mainLayout->addWidget(tab);
mCollectionExpiryWidget = new MailCommon::CollectionExpiryWidget(this);
mCollectionExpiryWidget->setObjectName(QStringLiteral("mCollectionExpiryWidget"));
tab->addTab(mCollectionExpiryWidget, i18n("Expiry"));
//configure expire folder
//Preference mail
//General
......
......@@ -21,7 +21,9 @@
#define FOLDERCONFIGURESETTINGSPAGEWIDGET_H
#include <QWidget>
namespace MailCommon {
class CollectionExpiryWidget;
}
class FolderConfigureSettingsPageWidget : public QWidget
{
Q_OBJECT
......@@ -30,6 +32,8 @@ public:
~FolderConfigureSettingsPageWidget();
void save();
private:
MailCommon::CollectionExpiryWidget *mCollectionExpiryWidget = nullptr;
};
#endif // FOLDERCONFIGURESETTINGSPAGEWIDGET_H
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