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

The DirectoryDesktopEntry class represents the a Directory type desktop entry. More...

#include <qx/linux/qx-directorydesktopentry.h>

Collaboration diagram for Qx::DirectoryDesktopEntry:
[legend]

Public Member Functions

QString extension () const override
 
QString toString () const override
 
QString type () const override
 
- 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 &notIn)
 
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)
 

Detailed Description

See also
DesktopEntry.

Member Function Documentation

◆ extension()

QString Qx::DirectoryDesktopEntry::extension ( ) const
overridevirtual

Returns the proper extension of the entry that corresponds to its type.

Implements Qx::DesktopEntry.

◆ toString()

QString Qx::DirectoryDesktopEntry::toString ( ) const
overridevirtual

Composites the desktop entry into its string form, as would be found in an entry file on disk.

Warning
If this string is later written to disk, you must ensure that the correct extension is used in correspondence with the entry's type.
See also
extension(), and type().

Reimplemented from Qx::DesktopEntry.

◆ type()

QString Qx::DirectoryDesktopEntry::type ( ) const
overridevirtual

Returns the type string of the entry.

Implements Qx::DesktopEntry.


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