KDeclarative

kauthorizedproxy.h
1 /*
2  SPDX-FileCopyrightText: 2016 Kai Uwe Broulik <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 #pragma once
8 
9 #include <QObject>
10 
11 class KAuthorizedProxy : public QObject
12 {
13  Q_OBJECT
14 
15 public:
16  explicit KAuthorizedProxy(QObject *parent = nullptr);
17  ~KAuthorizedProxy() override;
18 
22  Q_INVOKABLE bool authorize(const QString &action) const;
23 
28  Q_INVOKABLE bool authorizeAction(const QString &action) const;
29 
30 };
Q_OBJECTQ_OBJECT
Q_INVOKABLEQ_INVOKABLE
KCONFIGCORE_EXPORT bool authorize(const QString &action)
KCONFIGCORE_EXPORT bool authorizeAction(const QString &action)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 22:44:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.