61 QHash<QString, QString>
Name_;
62 QHash<QString, QString> GenericName_;
63 QHash<QString, QString> Comments_;
65 QStringList Categories_;
92 bool IsValid ()
const;
101 bool IsHidden ()
const;
123 QString GetName (
const QString& language)
const;
135 QString GetGenericName (
const QString& language)
const;
145 QString GetComment (
const QString& language)
const;
156 QString GetIconName ()
const;
162 QStringList GetCategories ()
const;
168 Type GetType ()
const;
180 QString GetCommand ()
const;
192 QString GetWorkingDirectory ()
const;
201 QString GetPermanentID ()
const;
216 void SetIcon (
const QIcon& icon);
234 QIcon GetIcon ()
const;
245 QDebug DebugPrint (QDebug stream)
const;
256 static Item_ptr FromDesktopFile (
const QString& file);
std::shared_ptr< Item > Item_ptr
std::shared_ptr< ICoreProxy > ICoreProxy_ptr
Describes a single XDG .desktop entry.
bool operator==(const Item &left, const Item &right)
Type
Describes the various types of XDG .desktop files.
QDebug operator<<(QDebug dbg, const Item &item)
Serializes item contents to the debugging stream.