Commit 58bd11fa authored by Laurent Montel's avatar Laurent Montel 😁

improve save settings

parent 517f2692
Pipeline #35400 failed with stage
in 60 minutes and 3 seconds
......@@ -25,6 +25,7 @@ FolderConfigureSettingsGeneralWidget::~FolderConfigureSettingsGeneralWidget()
{
}
void FolderConfigureSettingsGeneralWidget::save()
void FolderConfigureSettingsGeneralWidget::save(const Akonadi::Collection::List &cols)
{
//TODO
}
......@@ -9,6 +9,7 @@
#include <QWidget>
#include "folderconfiguresettings_private_export.h"
#include <AkonadiCore/Collection>
namespace MailCommon {
class CollectionGeneralWidget;
}
......@@ -18,7 +19,7 @@ class LIBFOLDERCONFIGURESETTINGS_TESTS_EXPORT FolderConfigureSettingsGeneralWidg
public:
explicit FolderConfigureSettingsGeneralWidget(QWidget *parent = nullptr);
~FolderConfigureSettingsGeneralWidget();
void save();
void save(const Akonadi::Collection::List &cols);
private:
MailCommon::CollectionGeneralWidget *mCollectionGeneralWidget = nullptr;
};
......
......@@ -49,11 +49,11 @@ FolderConfigureSettingsPageWidget::~FolderConfigureSettingsPageWidget()
{
}
void FolderConfigureSettingsPageWidget::save()
void FolderConfigureSettingsPageWidget::save(const Akonadi::Collection::List &cols)
{
//TODO
mFolderConfigureSettingsGeneralWidget->save();
mFolderConfigureSettingsGeneralWidget->save(cols);
//mCollectionExpiryWidget->save();
mFolderConfigureSettingsViewWidget->save();
mCollectionTemplateWidget->save();
mCollectionTemplateWidget->save(cols);
}
......@@ -9,7 +9,7 @@
#include <QWidget>
#include "folderconfiguresettings_private_export.h"
#include <AkonadiCore/Collection>
namespace MailCommon {
class CollectionExpiryWidget;
}
......@@ -23,7 +23,7 @@ public:
explicit FolderConfigureSettingsPageWidget(QWidget *parent = nullptr);
~FolderConfigureSettingsPageWidget();
void save();
void save(const Akonadi::Collection::List &cols);
private:
MailCommon::CollectionExpiryWidget *mCollectionExpiryWidget = nullptr;
FolderConfigureSettingsGeneralWidget *mFolderConfigureSettingsGeneralWidget = nullptr;
......
......@@ -23,6 +23,6 @@ FolderConfigureSettingsTemplateWidget::~FolderConfigureSettingsTemplateWidget()
{
}
void FolderConfigureSettingsTemplateWidget::save()
void FolderConfigureSettingsTemplateWidget::save(const Akonadi::Collection::List &cols)
{
}
......@@ -8,6 +8,7 @@
#define FOLDERCONFIGURESETTINGSTEMPLATEWIDGET_H
#include <QWidget>
#include <AkonadiCore/Collection>
namespace MailCommon {
class CollectionTemplatesWidget;
}
......@@ -17,7 +18,7 @@ class FolderConfigureSettingsTemplateWidget : public QWidget
public:
explicit FolderConfigureSettingsTemplateWidget(QWidget *parent = nullptr);
~FolderConfigureSettingsTemplateWidget();
void save();
void save(const Akonadi::Collection::List &cols);
private:
MailCommon::CollectionTemplatesWidget *mCollectionTemplateWidget = 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