Pimcommon
10#include "pimcommonakonadi_private_export.h"
12#include <Akonadi/Collection>
22class PIMCOMMONAKONADI_TESTS_EXPORT AclManager :
public QObject
26 Q_PROPERTY(Akonadi::Collection collection READ collection WRITE setCollection NOTIFY collectionChanged)
27 Q_PROPERTY(QAbstractItemModel *model READ model)
28 Q_PROPERTY(QItemSelectionModel *selectionModel READ selectionModel)
29 Q_PROPERTY(QAction *addAction READ addAction)
30 Q_PROPERTY(QAction *editAction READ editAction)
31 Q_PROPERTY(QAction *deleteAction READ deleteAction)
39 explicit AclManager(QObject *parent =
nullptr);
44 ~AclManager()
override;
49 void setCollection(
const Akonadi::Collection &collection);
54 [[nodiscard]] Akonadi::Collection collection()
const;
59 [[nodiscard]] QAbstractItemModel *model()
const;
65 [[nodiscard]] QItemSelectionModel *selectionModel()
const;
70 [[nodiscard]] QAction *addAction()
const;
75 [[nodiscard]] QAction *editAction()
const;
80 [[nodiscard]] QAction *deleteAction()
const;
82 void setChanged(
bool b);
87 void save(
bool recursive);
94 void collectionChanged(
const Akonadi::Collection &collection);
96 void collectionCanBeAdministrated(
bool canAdmin);
100 class AclManagerPrivate;
101 std::unique_ptr<AclManagerPrivate>
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.