Pimcommon

collectionaclwidget.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QWidget>
10class QCheckBox;
11namespace PimCommon
12{
13class AclManager;
14class CollectionAclWidget : public QWidget
15{
17public:
18 explicit CollectionAclWidget(QWidget *parent = nullptr);
19 ~CollectionAclWidget() override;
20
21 [[nodiscard]] PimCommon::AclManager *aclManager() const;
22 [[nodiscard]] bool recursive() const;
23 void setEnableRecursiveCheckBox(bool enable);
24
25private:
26 void slotRecursivePermissionChanged();
27 void slotCollectionCanBeAdministrated(bool b);
28 PimCommon::AclManager *const mAclManager;
29 QCheckBox *const mRecursiveChk;
30};
31}
folderdialogacltab.h
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.