File indexing completed on 2025-01-19 04:46:52
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "folderconfiguresettings_private_export.h" 0010 #include <Akonadi/Collection> 0011 #include <QWidget> 0012 class FolderConfigureSettingsGeneralWidget; 0013 class FolderConfigureSettingsTemplateWidget; 0014 class FolderConfigureSettingsViewWidget; 0015 class FolderConfigureSettingsExperyWidget; 0016 class LIBFOLDERCONFIGURESETTINGS_TESTS_EXPORT FolderConfigureSettingsPageWidget : public QWidget 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit FolderConfigureSettingsPageWidget(QWidget *parent = nullptr); 0021 ~FolderConfigureSettingsPageWidget() override; 0022 0023 void save(const Akonadi::Collection::List &cols); 0024 0025 private: 0026 FolderConfigureSettingsExperyWidget *const mCollectionExpiryWidget; 0027 FolderConfigureSettingsGeneralWidget *const mFolderConfigureSettingsGeneralWidget; 0028 FolderConfigureSettingsTemplateWidget *const mCollectionTemplateWidget; 0029 FolderConfigureSettingsViewWidget *const mFolderConfigureSettingsViewWidget; 0030 };