Polkit-Qt-1
0.95.0
|
Class used to encapsulate a registered action. More...
#include <ActionDescription>
Public Types | |
enum | ImplicitAuthorization { Unknown = -1, NotAuthorized = 0, AuthenticationRequired = 1, AdministratorAuthenticationRequired = 2, AuthenticationRequiredRetained = 3, AdministratorAuthenticationRequiredRetained = 4, Authorized = 5 } |
typedef QList< ActionDescription > | List |
Public Member Functions | |
ActionDescription (PolkitActionDescription *actionDescription) | |
Constructor of ActionDescription object from PolkitActionDescription. More... | |
ActionDescription (const ActionDescription &other) | |
ActionDescription & | operator= (const ActionDescription &other) |
QString | actionId () const |
Gets the action id for ActionDescription. More... | |
QString | description () const |
Gets the description used of ActionDescription. More... | |
QString | message () const |
Gets the message user for ActionDescription. More... | |
QString | vendorName () const |
Gets the vendor name for ActionDescription, if any. More... | |
QString | vendorUrl () const |
Gets the vendor URL for ActionDescription, if any. More... | |
QString | iconName () const |
Gets the icon name for ActionDescription, if any. More... | |
ActionDescription::ImplicitAuthorization | implicitAny () const |
Gets the implicit authorization for ActionDescription used for any subject. More... | |
ActionDescription::ImplicitAuthorization | implicitInactive () const |
Gets the implicit authorization for ActionDescription used for subjects in inactive session on a local console. More... | |
ActionDescription::ImplicitAuthorization | implicitActive () const |
Gets the implicit authorization for ActionDescription used for subjects in active session on a local console. More... | |
Class used to encapsulate a registered action.
Enumerator | |
---|---|
Unknown | Unknown whether the subject is authorized, never returned in any public API. |
NotAuthorized | Subject is not authorized. |
AuthenticationRequired | Authentication is required. |
AdministratorAuthenticationRequired | Authentication as an administrator is required. |
AuthenticationRequiredRetained | Authentication is required. If the authorization is obtained, it is retained. |
AdministratorAuthenticationRequiredRetained | Authentication as an administrator is required. If the authorization is obtained, it is retained. |
Authorized | The subject is authorized. |
|
explicit |
Constructor of ActionDescription object from PolkitActionDescription.
actionDesciption | PolkitActionDescription |
QString PolkitQt1::ActionDescription::actionId | ( | ) | const |
Gets the action id for ActionDescription.
QString PolkitQt1::ActionDescription::description | ( | ) | const |
Gets the description used of ActionDescription.
QString PolkitQt1::ActionDescription::iconName | ( | ) | const |
Gets the icon name for ActionDescription, if any.
ActionDescription::ImplicitAuthorization PolkitQt1::ActionDescription::implicitActive | ( | ) | const |
Gets the implicit authorization for ActionDescription used for subjects in active session on a local console.
ActionDescription::ImplicitAuthorization PolkitQt1::ActionDescription::implicitAny | ( | ) | const |
Gets the implicit authorization for ActionDescription used for any subject.
ActionDescription::ImplicitAuthorization PolkitQt1::ActionDescription::implicitInactive | ( | ) | const |
Gets the implicit authorization for ActionDescription used for subjects in inactive session on a local console.
QString PolkitQt1::ActionDescription::message | ( | ) | const |
Gets the message user for ActionDescription.
QString PolkitQt1::ActionDescription::vendorName | ( | ) | const |
Gets the vendor name for ActionDescription, if any.
QString PolkitQt1::ActionDescription::vendorUrl | ( | ) | const |
Gets the vendor URL for ActionDescription, if any.