Akonadi

collectionmaintenancepage.h
1/*
2 SPDX-FileCopyrightText: 2009-2024 Laurent Montel <montel@kde.org>
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
14namespace Akonadi
15{
16class CollectionMaintenancePagePrivate;
17
18class AKONADIWIDGETS_EXPORT CollectionMaintenancePage : public Akonadi::CollectionPropertiesPage
19{
20 Q_OBJECT
21public:
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
28protected:
29 void init(const Akonadi::Collection &);
30
31private:
32 /// @cond PRIVATE
33 std::unique_ptr<CollectionMaintenancePagePrivate> const d;
34 /// @endcond
35};
36
37AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(CollectionMaintenancePageFactory, CollectionMaintenancePage)
38
39}
A single page in a collection properties dialog.
Represents a collection of PIM items.
Definition collection.h:62
Helper integration between Akonadi and Qt.
QAction * load(const QObject *recvr, const char *slot, QObject *parent)
const QList< QKeySequence > & save()
QCA_EXPORT void init()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.