Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::DesktopAction Class Reference

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)
 

Detailed Description

Constructor & Destructor Documentation

◆ DesktopAction()

Qx::DesktopAction::DesktopAction ( )

Constructs an empty desktop actions.

Member Function Documentation

◆ actionName()

QString Qx::DesktopAction::actionName ( ) const

Returns the identifying name of the action.

◆ exec()

QString Qx::DesktopAction::exec ( ) const

Returns the program to execute for this action.

◆ icon()

QString Qx::DesktopAction::icon ( ) const

Returns the icon path/name of the action.

◆ name()

QString Qx::DesktopAction::name ( ) const

Returns the display name of the action.

◆ setActionName()

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.

◆ setExec()

void Qx::DesktopAction::setExec ( const QString & exec)

Sets the program executed by this action to exec.

◆ setIcon()

void Qx::DesktopAction::setIcon ( const QString & icon)

Sets the path/name of the action's icon to icon.

◆ setName()

void Qx::DesktopAction::setName ( const QString & name)

Sets the display name of the action to name.


The documentation for this class was generated from the following files: