Pimcommon

collectionaclpage.h
1/**
2 * folderdialogacltab.h
3 *
4 * SPDX-FileCopyrightText: 2004 David Faure <faure@kde.org>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#pragma once
10
11#include "pimcommonakonadi_export.h"
12#include <Akonadi/CollectionPropertiesPage>
13
14namespace PimCommon
15{
16class CollectionAclPagePrivate;
17/**
18 * "Access Control" tab in the folder dialog
19 */
20class PIMCOMMONAKONADI_EXPORT CollectionAclPage : public Akonadi::CollectionPropertiesPage
21{
22 Q_OBJECT
23
24public:
25 explicit CollectionAclPage(QWidget *parent = nullptr);
26 ~CollectionAclPage() override;
27
28 void load(const Akonadi::Collection &collection) override;
29 void save(Akonadi::Collection &collection) override;
30
31 [[nodiscard]] bool canHandle(const Akonadi::Collection &collection) const override;
32
33protected:
34 void init();
35
36private:
37 std::unique_ptr<CollectionAclPagePrivate> const d;
38};
39AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(CollectionAclPageFactory, CollectionAclPage)
40}
"Access Control" tab in the folder dialog
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.