Qx v0.5.8
Qt Extensions Library
|
The LinkDesktopEntry class represents the a Link type desktop entry. More...
#include <qx/linux/qx-linkdesktopentry.h>
Public Member Functions | |
LinkDesktopEntry () | |
QString | extension () const override |
void | setUrl (const QUrl &url) |
QString | toString () const override |
QString | type () const override |
QUrl | url () |
Public Member Functions inherited from Qx::DesktopEntry | |
QString | comment () const |
QString | genericName () const |
QString | icon () const |
bool | isHidden () const |
bool | isNoDisplay () const |
QString | name () const |
QStringList | notShowIn () const |
QStringList | onlyShowIn () const |
void | setComment (const QString &comment) |
void | setGenericName (const QString &name) |
void | setHidden (bool hidden) |
void | setIcon (const QString &icon) |
void | setName (const QString &name) |
void | setNoDisplay (bool display) |
void | setNotShowIn (const QStringList ¬In) |
void | setOnlyShowIn (const QStringList &showIn) |
Additional Inherited Members | |
Static Public Member Functions inherited from Qx::DesktopEntry | |
static IoOpReport | writeToDisk (QString path, const DesktopEntry *entry) |
Static Protected Member Functions inherited from Qx::DesktopEntry | |
static QString | keyValueString (const QString &key, bool value) |
static QString | keyValueString (const QString &key, const char *value) |
static QString | keyValueString (const QString &key, const QString &value) |
static QString | keyValueString (const QString &key, const QStringList &value) |
Qx::LinkDesktopEntry::LinkDesktopEntry | ( | ) |
Constructs an empty link desktop entry.
|
overridevirtual |
Returns the proper extension of the entry that corresponds to its type.
Implements Qx::DesktopEntry.
void Qx::LinkDesktopEntry::setUrl | ( | const QUrl & | url | ) |
Sets the URL this linked to by this entry to url.
|
overridevirtual |
Composites the desktop entry into its string form, as would be found in an entry file on disk.
Reimplemented from Qx::DesktopEntry.
|
overridevirtual |
Returns the type string of the entry.
Implements Qx::DesktopEntry.
QUrl Qx::LinkDesktopEntry::url | ( | ) |
Returns the URL this entry links to.