Logo Search packages:      
Sourcecode: qink version File versions  Download package

IconTheme Class Reference

#include <icontheme.h>

List of all members.


Detailed Description

Author:
Sikon <sikon@lucidfox.org>

Definition at line 61 of file icontheme.h.


Public Types

enum  DefaultTheme { DefaultThemeAny = 0, DefaultThemeGNOME = 1, DefaultThemeKDE = 2 }

Public Member Functions

QString getIconPath (const QString &name, unsigned size=22) const
 IconTheme (const QString &themeName=QString())
void loadDefaultTheme (DefaultTheme theme=DefaultThemeAny)
void loadTheme (const QString &theme)
void reload ()
const QString & themeName () const

Protected Member Functions

void addThemeData (const QString &name)
QMap< QString, QString > cache () const
bool dirMatchesSize (const IconDirData &dir, unsigned size) const
unsigned dirSizeDistance (const IconDirData &dir, unsigned size) const
QString findIcon (const QString &name, unsigned size) const
QString lookupFallbackIcon (const QString &name) const
QString lookupIcon (const QString &name, unsigned size, const IconThemeData &data) const

Private Attributes

QStringList _basedirs
QMap< QString, QString > _cache
EnvMap _envMap
QList< IconThemeData > _list
QString _themeName

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

Generated by  Doxygen 1.6.0   Back to index