Akonadi

collectionmaintenancepage.h
1 /*
2  SPDX-FileCopyrightText: 2009-2022 Laurent Montel <m[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "akonadiwidgets_export.h"
10 #include "collectionpropertiespage.h"
11 
12 #include <memory>
13 
14 namespace Akonadi
15 {
16 class CollectionMaintenancePagePrivate;
17 
18 class AKONADIWIDGETS_EXPORT CollectionMaintenancePage : public Akonadi::CollectionPropertiesPage
19 {
20  Q_OBJECT
21 public:
22  explicit CollectionMaintenancePage(QWidget *parent = nullptr);
23  ~CollectionMaintenancePage() override;
24 
25  void load(const Akonadi::Collection &col) override;
26  void save(Akonadi::Collection &col) override;
27 
28 protected:
29  void init(const Akonadi::Collection &);
30 
31 private:
32  /// @cond PRIVATE
33  std::unique_ptr<CollectionMaintenancePagePrivate> const d;
34  /// @endcond
35 };
36 
37 AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(CollectionMaintenancePageFactory, CollectionMaintenancePage)
38 
39 }
40 
QCA_EXPORT void init()
Represents a collection of PIM items.
Definition: collection.h:61
QAction * load(const QObject *recvr, const char *slot, QObject *parent)
const QList< QKeySequence > & save()
A single page in a collection properties dialog.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jun 30 2022 03:51:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.