KDECore
Polkit1Backend.cpp
Go to the documentation of this file.
66 setCapabilities(AuthorizeFromHelperCapability | CheckActionExistenceCapability | PreAuthActionCapability);
73 connect(PolkitQt1::Authority::instance(), SIGNAL(enumerateActionsFinished(PolkitQt1::ActionDescription::List)),
96 if (QDBusConnection::sessionBus().interface()->isServiceRegistered(QLatin1String("org.kde.Polkit1AuthAgent"))) {
107 QDBusMessage::createMethodCall(QLatin1String("org.kde.Polkit1AuthAgent"), QLatin1String("/org/kde/Polkit1AuthAgent"), QLatin1String("org.kde.Polkit1AuthAgent"),
148 PolkitQt1::Authority::Result r = PolkitQt1::Authority::instance()->checkAuthorizationSync(action, subject,
virtual Action::AuthStatus actionStatus(const QString &)
Definition: Polkit1Backend.cpp:145
virtual bool actionExists(const QString &action)
Definition: Polkit1Backend.cpp:210
Definition: Polkit1Backend.h:64
The user could obtain the authorization after authentication.
Definition: kauthaction.h:83
Definition: Polkit1Backend.h:38
virtual bool isCallerAuthorized(const QString &action, QByteArray callerID)
Definition: Polkit1Backend.cpp:170
PolkitResultEventLoop(QObject *parent=0)
Definition: Polkit1Backend.cpp:42
void actionStatusChanged(const QString &action, Action::AuthStatus status)
virtual void setupAction(const QString &)
Definition: Polkit1Backend.cpp:140
void requestQuit(const PolkitQt1::Authority::Result &result)
Definition: Polkit1Backend.cpp:51
Definition: kuitsemantics.cpp:82
virtual QByteArray callerID() const
Definition: Polkit1Backend.cpp:161
The authorization has been denied by the authorization backend.
Definition: kauthaction.h:79
virtual Action::AuthStatus authorizeAction(const QString &)
Definition: Polkit1Backend.cpp:133
Definition: kfilesystemtype_p.h:29
virtual ~PolkitResultEventLoop()
Definition: Polkit1Backend.cpp:47
The authorization has been granted by the authorization backend.
Definition: kauthaction.h:82
PolkitQt1::Authority::Result result() const
Definition: Polkit1Backend.cpp:57
void setCapabilities(Capabilities capabilities)
Definition: AuthBackend.cpp:52
Definition: kuitsemantics.cpp:84
Definition: AuthBackend.h:31
virtual void preAuthAction(const QString &action, QWidget *parent)
Definition: Polkit1Backend.cpp:86
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.