File indexing completed on 2025-01-05 04:35:36
0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0002 // SPDX-FileCopyrightText: 2020-2022 Harald Sitter <sitter@kde.org> 0003 0004 #pragma once 0005 0006 #include <KPropertiesDialog> 0007 #include <KPropertiesDialogPlugin> 0008 0009 class SambaACL : public KPropertiesDialogPlugin 0010 { 0011 Q_OBJECT 0012 Q_PROPERTY(bool ready MEMBER m_ready NOTIFY readyChanged) 0013 public: 0014 explicit SambaACL(QObject *parent); 0015 void applyChanges() override; 0016 0017 Q_SIGNALS: 0018 void readyChanged(); 0019 0020 private Q_SLOTS: 0021 void refresh(); 0022 0023 private: 0024 QUrl m_url; 0025 std::unique_ptr<QWidget> m_page = nullptr; 0026 bool m_ready = false; 0027 };