KIO

kacleditwidget.h
1/*
2 SPDX-FileCopyrightText: 2005 Sean Harmer <sh@rama.homelinux.org>
3 SPDX-FileCopyrightText: 2005-2007 Till Adam <adam@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef KACLEDITWIDGET_H
9#define KACLEDITWIDGET_H
10
11#include <config-kiowidgets.h>
12
13#if HAVE_POSIX_ACL || defined(Q_MOC_RUN)
14
15#include <QWidget>
16
17#include <kacl.h>
18
19#include <memory>
20
21/// @internal
22class KACLEditWidget : public QWidget
23{
24 Q_OBJECT
25public:
26 explicit KACLEditWidget(QWidget *parent = nullptr);
27 ~KACLEditWidget() override;
28 KACL getACL() const;
29 KACL getDefaultACL() const;
30 void setACL(const KACL &);
31 void setDefaultACL(const KACL &);
32 void setAllowDefaults(bool value);
33
34private:
35 class KACLEditWidgetPrivate;
36 std::unique_ptr<KACLEditWidgetPrivate> const d;
37
38 Q_DISABLE_COPY(KACLEditWidget)
39};
40
41#endif
42#endif
The KACL class encapsulates a POSIX Access Control List.
Definition kacl.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.