1 /* 2 SPDX-FileCopyrightText: 2020-2021 Laurent Montel <montel@kde.org> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include "folderconfiguresettings_private_export.h" 10 #include <Akonadi/Collection> 11 #include <QWidget> 12 class FolderConfigureSettingsGeneralWidget; 13 class FolderConfigureSettingsTemplateWidget; 14 class FolderConfigureSettingsViewWidget; 15 class FolderConfigureSettingsExperyWidget; 16 class LIBFOLDERCONFIGURESETTINGS_TESTS_EXPORT FolderConfigureSettingsPageWidget : public QWidget 17 { 18 Q_OBJECT 19 public: 20 explicit FolderConfigureSettingsPageWidget(QWidget *parent = nullptr); 21 ~FolderConfigureSettingsPageWidget() override; 22 23 void save(const Akonadi::Collection::List &cols); 24 25 private: 26 FolderConfigureSettingsExperyWidget *const mCollectionExpiryWidget; 27 FolderConfigureSettingsGeneralWidget *const mFolderConfigureSettingsGeneralWidget; 28 FolderConfigureSettingsTemplateWidget *const mCollectionTemplateWidget; 29 FolderConfigureSettingsViewWidget *const mFolderConfigureSettingsViewWidget; 30 }; 31 32