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

Continue to impmement expire trash settings

parent 455d8bdc
Pipeline #28772 failed with stage
in 102 minutes and 39 seconds
...@@ -31,6 +31,7 @@ ExpireAccountTrashFolderConfigWidget::ExpireAccountTrashFolderConfigWidget(QWidg ...@@ -31,6 +31,7 @@ ExpireAccountTrashFolderConfigWidget::ExpireAccountTrashFolderConfigWidget(QWidg
mCollectionExpiryWidget = new MailCommon::CollectionExpiryWidget(this); mCollectionExpiryWidget = new MailCommon::CollectionExpiryWidget(this);
mCollectionExpiryWidget->setObjectName(QStringLiteral("mCollectionExpiryWidget")); mCollectionExpiryWidget->setObjectName(QStringLiteral("mCollectionExpiryWidget"));
connect(mCollectionExpiryWidget, &MailCommon::CollectionExpiryWidget::saveAndExpireRequested, this, &ExpireAccountTrashFolderConfigWidget::slotSaveAndExpireRequested);
mainLayout->addWidget(mCollectionExpiryWidget); mainLayout->addWidget(mCollectionExpiryWidget);
} }
...@@ -44,7 +45,8 @@ void ExpireAccountTrashFolderConfigWidget::save() ...@@ -44,7 +45,8 @@ void ExpireAccountTrashFolderConfigWidget::save()
//TODO //TODO
} }
void ExpireAccountTrashFolderConfigWidget::init() void ExpireAccountTrashFolderConfigWidget::slotSaveAndExpireRequested()
{ {
//mCollectionExpiryWidget->save(collection, saveSettings, expireNow);
//TODO //TODO
} }
...@@ -34,7 +34,7 @@ public: ...@@ -34,7 +34,7 @@ public:
~ExpireAccountTrashFolderConfigWidget(); ~ExpireAccountTrashFolderConfigWidget();
void save(); void save();
private: private:
void init(); void slotSaveAndExpireRequested();
MailCommon::CollectionExpiryWidget *mCollectionExpiryWidget = nullptr; MailCommon::CollectionExpiryWidget *mCollectionExpiryWidget = nullptr;
}; };
......
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