PolkitQt-1
polkitqt1-actiondescription.cpp
55ActionDescription::ActionDescription(PolkitActionDescription *polkitActionDescription)
58 d->actionId = QString::fromUtf8(polkit_action_description_get_action_id(polkitActionDescription));
59 d->description = QString::fromUtf8(polkit_action_description_get_description(polkitActionDescription));
61 d->vendorName = QString::fromUtf8(polkit_action_description_get_vendor_name(polkitActionDescription));
62 d->vendorUrl = QString::fromUtf8(polkit_action_description_get_vendor_url(polkitActionDescription));
63 d->iconName = QString::fromUtf8(polkit_action_description_get_icon_name(polkitActionDescription));
65 d->implicitAny = static_cast<ActionDescription::ImplicitAuthorization>(polkit_action_description_get_implicit_any(
67 d->implicitInactive = static_cast<ActionDescription::ImplicitAuthorization>(polkit_action_description_get_implicit_inactive(
69 d->implicitActive = static_cast<ActionDescription::ImplicitAuthorization>(polkit_action_description_get_implicit_active(
Class used to encapsulate a registered action.
Definition polkitqt1-actiondescription.h:30
QString vendorUrl() const
Gets the vendor URL for ActionDescription, if any.
Definition polkitqt1-actiondescription.cpp:108
QString message() const
Gets the message used for ActionDescription.
Definition polkitqt1-actiondescription.cpp:98
ImplicitAuthorization
Definition polkitqt1-actiondescription.h:32
ActionDescription::ImplicitAuthorization implicitActive() const
Gets the implicit authorization for ActionDescription used for subjects in active session on a local ...
Definition polkitqt1-actiondescription.cpp:128
QString actionId() const
Gets the action id for ActionDescription.
Definition polkitqt1-actiondescription.cpp:88
QString vendorName() const
Gets the vendor name for ActionDescription, if any.
Definition polkitqt1-actiondescription.cpp:103
QString iconName() const
Gets the icon name for ActionDescription, if any.
Definition polkitqt1-actiondescription.cpp:113
ActionDescription::ImplicitAuthorization implicitAny() const
Gets the implicit authorization for ActionDescription used for any subject.
Definition polkitqt1-actiondescription.cpp:118
ActionDescription::ImplicitAuthorization implicitInactive() const
Gets the implicit authorization for ActionDescription used for subjects in inactive session on a loca...
Definition polkitqt1-actiondescription.cpp:123
QString description() const
Gets the description used for ActionDescription.
Definition polkitqt1-actiondescription.cpp:93
QString fromUtf8(QByteArrayView str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:06:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:06:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.