/* SPDX-FileCopyrightText: 2005 Sean Harmer SPDX-FileCopyrightText: 2005-2007 Till Adam SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef KACLEDITWIDGET_H #define KACLEDITWIDGET_H #include #if HAVE_POSIX_ACL || defined(Q_MOC_RUN) #include #include #include /// @internal class KACLEditWidget : public QWidget { Q_OBJECT public: explicit KACLEditWidget(QWidget *parent = nullptr); ~KACLEditWidget() override; KACL getACL() const; KACL getDefaultACL() const; void setACL(const KACL &); void setDefaultACL(const KACL &); void setAllowDefaults(bool value); private: class KACLEditWidgetPrivate; std::unique_ptr const d; Q_DISABLE_COPY(KACLEditWidget) }; #endif #endif