File indexing completed on 2024-05-26 05:14:40

0001 /*
0002     SPDX-FileCopyrightText: 2008 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "collectionpropertiespage.h"
0010 #include "ui_collectiongeneralpropertiespage.h"
0011 
0012 namespace Akonadi
0013 {
0014 /// @cond PRIVATE
0015 
0016 /**
0017  * @internal
0018  */
0019 class CollectionGeneralPropertiesPage : public CollectionPropertiesPage
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit CollectionGeneralPropertiesPage(QWidget *parent = nullptr);
0024 
0025     void load(const Collection &collection) override;
0026     void save(Collection &collection) override;
0027 
0028 private:
0029     Ui::CollectionGeneralPropertiesPage ui;
0030 };
0031 
0032 AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(CollectionGeneralPropertiesPageFactory, CollectionGeneralPropertiesPage)
0033 /// @endcond
0034 
0035 }