Changeset View
Changeset View
Standalone View
Standalone View
src/backends/polkit-1/Polkit1Backend.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
47 | void setupAction(const QString &) Q_DECL_OVERRIDE; | 47 | void setupAction(const QString &) Q_DECL_OVERRIDE; | ||
48 | void preAuthAction(const QString &action, QWidget *parent) Q_DECL_OVERRIDE; | 48 | void preAuthAction(const QString &action, QWidget *parent) Q_DECL_OVERRIDE; | ||
49 | Action::AuthStatus authorizeAction(const QString &) Q_DECL_OVERRIDE; | 49 | Action::AuthStatus authorizeAction(const QString &) Q_DECL_OVERRIDE; | ||
50 | Action::AuthStatus actionStatus(const QString &) Q_DECL_OVERRIDE; | 50 | Action::AuthStatus actionStatus(const QString &) Q_DECL_OVERRIDE; | ||
51 | QByteArray callerID() const Q_DECL_OVERRIDE; | 51 | QByteArray callerID() const Q_DECL_OVERRIDE; | ||
52 | ExtraCallerIDVerificationMethod extraCallerIDVerificationMethod() const Q_DECL_OVERRIDE; | 52 | ExtraCallerIDVerificationMethod extraCallerIDVerificationMethod() const Q_DECL_OVERRIDE; | ||
53 | bool isCallerAuthorized(const QString &action, QByteArray callerID) Q_DECL_OVERRIDE; | 53 | bool isCallerAuthorized(const QString &action, QByteArray callerID) Q_DECL_OVERRIDE; | ||
54 | bool actionExists(const QString &action) Q_DECL_OVERRIDE; | 54 | bool actionExists(const QString &action) Q_DECL_OVERRIDE; | ||
55 | bool revokeTemporaryAuthorization(const QString &action) Q_DECL_OVERRIDE; | ||||
55 | 56 | | |||
56 | private Q_SLOTS: | 57 | private Q_SLOTS: | ||
57 | void checkForResultChanged(); | 58 | void checkForResultChanged(); | ||
58 | void updateCachedActions(const PolkitQt1::ActionDescription::List &actions); | 59 | void updateCachedActions(const PolkitQt1::ActionDescription::List &actions); | ||
59 | 60 | | |||
60 | private: | 61 | private: | ||
61 | QHash<QString, Action::AuthStatus> m_cachedResults; | 62 | QHash<QString, Action::AuthStatus> m_cachedResults; | ||
62 | QStringList m_knownActions; | 63 | QStringList m_knownActions; | ||
Show All 22 Lines |