#include <IconLoader.h>

Public Member Functions

 IconLoader ()
 
virtual ~IconLoader ()
 
QIcon load (QString name)
 

Private Member Functions

bool shouldInvert () const
 
bool shouldAutoInvert (QString) const
 
QPixmap loadPixmap (QString, int)
 
QPixmap loadScalable (QString, int)
 
QPixmap invertPixmap (QPixmap)
 
QString makeScalableFilename (QString, bool)
 
QString makeNonScalableFilename (QString, int, bool)
 

Detailed Description

Definition at line 21 of file IconLoader.h.

Constructor & Destructor Documentation

IconLoader::IconLoader ( )
inline

Definition at line 24 of file IconLoader.h.

virtual IconLoader::~IconLoader ( )
inlinevirtual

Member Function Documentation

QIcon IconLoader::load ( QString  name)
bool IconLoader::shouldInvert ( ) const
private

Definition at line 92 of file IconLoader.cpp.

Referenced by ~IconLoader().

bool IconLoader::shouldAutoInvert ( QString  name) const
private

Definition at line 105 of file IconLoader.cpp.

References autoInvertExceptions.

Referenced by ~IconLoader().

QPixmap IconLoader::loadPixmap ( QString  name,
int  size 
)
private

Definition at line 115 of file IconLoader.cpp.

Referenced by ~IconLoader().

QPixmap IconLoader::loadScalable ( QString  name,
int  size 
)
private

Definition at line 154 of file IconLoader.cpp.

Referenced by ~IconLoader().

QPixmap IconLoader::invertPixmap ( QPixmap  pmap)
private

Definition at line 201 of file IconLoader.cpp.

Referenced by ~IconLoader().

QString IconLoader::makeScalableFilename ( QString  name,
bool  invert 
)
private

Definition at line 191 of file IconLoader.cpp.

Referenced by ~IconLoader().

QString IconLoader::makeNonScalableFilename ( QString  name,
int  size,
bool  invert 
)
private

Definition at line 173 of file IconLoader.cpp.

Referenced by ~IconLoader().


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