Qx v0.5.8
Qt Extensions Library
|
The DesktopAction class contains the details of a ApplicationDesktopEntry action. More...
#include <qx/linux/qx-applicationdesktopentry.h>
Public Member Functions | |
DesktopAction () | |
QString | actionName () const |
QString | exec () const |
QString | icon () const |
QString | name () const |
void | setActionName (const QString &name) |
void | setExec (const QString &exec) |
void | setIcon (const QString &icon) |
void | setName (const QString &name) |
Qx::DesktopAction::DesktopAction | ( | ) |
Constructs an empty desktop actions.
QString Qx::DesktopAction::actionName | ( | ) | const |
Returns the identifying name of the action.
QString Qx::DesktopAction::exec | ( | ) | const |
Returns the program to execute for this action.
QString Qx::DesktopAction::icon | ( | ) | const |
Returns the icon path/name of the action.
QString Qx::DesktopAction::name | ( | ) | const |
Returns the display name of the action.
void Qx::DesktopAction::setActionName | ( | const QString & | name | ) |
Sets the identifying name of the action to name.
This is used in the action's corresponding group header.
void Qx::DesktopAction::setExec | ( | const QString & | exec | ) |
Sets the program executed by this action to exec.
void Qx::DesktopAction::setIcon | ( | const QString & | icon | ) |
Sets the path/name of the action's icon to icon.
void Qx::DesktopAction::setName | ( | const QString & | name | ) |
Sets the display name of the action to name.