LeechCraft  %{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
LeechCraft::Util::XDG::Item Class Reference

#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 &)
 

Detailed Description

Definition at line 50 of file item.h.

Member Function Documentation

QDebug LeechCraft::Util::XDG::Item::DebugPrint ( QDebug  dbg) const

Definition at line 166 of file item.cpp.

Referenced by LeechCraft::Util::XDG::operator<<().

+ Here is the caller graph for this function:

void LeechCraft::Util::XDG::Item::Execute ( ICoreProxy_ptr  proxy) const
Item_ptr LeechCraft::Util::XDG::Item::FromDesktopFile ( const QString &  filename)
static
QStringList LeechCraft::Util::XDG::Item::GetCategories ( ) const

Definition at line 131 of file item.cpp.

QString LeechCraft::Util::XDG::Item::GetCommand ( ) const

Definition at line 141 of file item.cpp.

Referenced by Execute(), and GetPermanentID().

+ Here is the caller graph for this function:

QString LeechCraft::Util::XDG::Item::GetComment ( const QString &  lang) const

Definition at line 121 of file item.cpp.

QString LeechCraft::Util::XDG::Item::GetGenericName ( const QString &  lang) const

Definition at line 116 of file item.cpp.

QIcon LeechCraft::Util::XDG::Item::GetIcon ( ) const

Definition at line 161 of file item.cpp.

QString LeechCraft::Util::XDG::Item::GetIconName ( ) const

Definition at line 126 of file item.cpp.

QString LeechCraft::Util::XDG::Item::GetName ( const QString &  lang) const

Definition at line 111 of file item.cpp.

QString LeechCraft::Util::XDG::Item::GetPermanentID ( ) const

Definition at line 151 of file item.cpp.

References GetCommand().

+ Here is the call graph for this function:

Type LeechCraft::Util::XDG::Item::GetType ( ) const

Definition at line 136 of file item.cpp.

Referenced by Execute().

+ Here is the caller graph for this function:

QString LeechCraft::Util::XDG::Item::GetWorkingDirectory ( ) const

Definition at line 146 of file item.cpp.

Referenced by Execute().

+ Here is the caller graph for this function:

bool LeechCraft::Util::XDG::Item::IsHidden ( ) const

Definition at line 62 of file item.cpp.

bool LeechCraft::Util::XDG::Item::IsValid ( ) const

Definition at line 57 of file item.cpp.

bool LeechCraft::Util::XDG::Item::operator== ( const Item item) const

Definition at line 45 of file item.cpp.

void LeechCraft::Util::XDG::Item::SetIcon ( const QIcon &  icon)

Definition at line 156 of file item.cpp.


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