![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
#include "item.h"
Public Member Functions | |
bool | operator== (const Item &) const |
bool | IsValid () const |
bool | IsHidden () const |
void | Execute (ICoreProxy_ptr) const |
QString | GetName (const QString &) const |
QString | GetGenericName (const QString &) const |
QString | GetComment (const QString &) const |
QString | GetIconName () const |
QStringList | GetCategories () const |
Type | GetType () const |
QString | GetCommand () const |
QString | GetWorkingDirectory () const |
QString | GetPermanentID () const |
void | SetIcon (const QIcon &) |
QIcon | GetIcon () const |
QDebug | DebugPrint (QDebug) const |
Static Public Member Functions | |
static Item_ptr | FromDesktopFile (const QString &) |
QDebug LeechCraft::Util::XDG::Item::DebugPrint | ( | QDebug | dbg | ) | const |
Definition at line 166 of file item.cpp.
Referenced by LeechCraft::Util::XDG::operator<<().
void LeechCraft::Util::XDG::Item::Execute | ( | ICoreProxy_ptr | proxy | ) | const |
Definition at line 67 of file item.cpp.
References LeechCraft::Util::XDG::Application, LeechCraft::FromUserInitiated, GetCommand(), GetType(), GetWorkingDirectory(), LeechCraft::Util::MakeEntity(), LeechCraft::OnlyHandle, and LeechCraft::Util::XDG::URL.
|
static |
Definition at line 191 of file item.cpp.
References LeechCraft::Util::XDG::Application, LeechCraft::Util::XDG::Dir, LeechCraft::Util::XDG::Other, and LeechCraft::Util::XDG::URL.
QStringList LeechCraft::Util::XDG::Item::GetCategories | ( | ) | const |
QString LeechCraft::Util::XDG::Item::GetCommand | ( | ) | const |
Definition at line 141 of file item.cpp.
Referenced by Execute(), and GetPermanentID().
QString LeechCraft::Util::XDG::Item::GetComment | ( | const QString & | lang | ) | const |
QString LeechCraft::Util::XDG::Item::GetGenericName | ( | const QString & | lang | ) | const |
QString LeechCraft::Util::XDG::Item::GetName | ( | const QString & | lang | ) | const |
QString LeechCraft::Util::XDG::Item::GetPermanentID | ( | ) | const |
Definition at line 151 of file item.cpp.
References GetCommand().
Type LeechCraft::Util::XDG::Item::GetType | ( | ) | const |
QString LeechCraft::Util::XDG::Item::GetWorkingDirectory | ( | ) | const |
bool LeechCraft::Util::XDG::Item::operator== | ( | const Item & | item | ) | const |
void LeechCraft::Util::XDG::Item::SetIcon | ( | const QIcon & | icon | ) |