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::SettableIconProvider Class Reference

#include "settableiconprovider.h"

+ Inheritance diagram for LeechCraft::Util::SettableIconProvider:
+ Collaboration diagram for LeechCraft::Util::SettableIconProvider:

Public Member Functions

void SetIcon (const QStringList &path, const QIcon &)
 
void ClearIcon (const QStringList &path)
 
QIcon GetIcon (const QStringList &path)
 Implement this method to return a proper QIcon for path. More...
 
- Public Member Functions inherited from LeechCraft::Util::WidthIconProvider
 WidthIconProvider ()
 
QPixmap requestPixmap (const QString &id, QSize *size, const QSize &requestedSize)
 Reimplemented from QDeclarativeImageProvider::requestPixmap(). More...
 

Detailed Description

Definition at line 40 of file settableiconprovider.h.

Member Function Documentation

void LeechCraft::Util::SettableIconProvider::ClearIcon ( const QStringList &  path)

Definition at line 46 of file settableiconprovider.cpp.

QIcon LeechCraft::Util::SettableIconProvider::GetIcon ( const QStringList &  path)
virtual

Implement this method to return a proper QIcon for path.

See this class documentation for more information.

Parameters
[in]pathThe icon path, a list obtained by breaking the URL request path at '/'.
Returns
QIcon for the path, or an empty QIcon.

Implements LeechCraft::Util::WidthIconProvider.

Definition at line 51 of file settableiconprovider.cpp.

void LeechCraft::Util::SettableIconProvider::SetIcon ( const QStringList &  path,
const QIcon &  icon 
)

Definition at line 41 of file settableiconprovider.cpp.


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