KIconTheme Class Reference
#include <kicontheme.h>
Detailed Description
Class to use/access icon themes in KDE.This class is used by the iconloader but can be used by others too.
- See also:
- KIconLoader
Definition at line 186 of file kicontheme.h.
Public Member Functions | |
KIconTheme (const QString &name, const QString &appName=QString::null) | |
~KIconTheme () | |
QString | name () const |
QString | description () const |
QString | example () const |
QString | screenshot () const |
QString | linkOverlay () const |
QString | zipOverlay () const |
QString | lockOverlay () const |
QString | shareOverlay () const |
QString | dir () const |
QStringList | inherits () const |
bool | isValid () const |
bool | isHidden () const |
int | depth () const |
int | defaultSize (KIcon::Group group) const |
QValueList< int > | querySizes (KIcon::Group group) const |
QStringList | queryIcons (int size, KIcon::Context context=KIcon::Any) const |
QStringList | queryIconsByContext (int size, KIcon::Context context=KIcon::Any) const |
KIcon | iconPath (const QString &name, int size, KIcon::MatchType match) const |
bool | hasContext (KIcon::Context context) const |
Static Public Member Functions | |
static QStringList | list () |
static QString | current () |
static void | reconfigure () |
static QString | defaultThemeName () |
Constructor & Destructor Documentation
|
Load an icon theme by name.
Definition at line 82 of file kicontheme.cpp. |
Member Function Documentation
|
Returns the current icon theme.
Definition at line 442 of file kicontheme.cpp. |
|
The default size of this theme for a certain icon group.
Definition at line 242 of file kicontheme.cpp. |
|
Returns the default icon theme.
Definition at line 508 of file kicontheme.cpp. |
|
The minimum display depth required for this theme. This can either be 8 or 32.
Definition at line 279 of file kicontheme.h. |
|
A description for the icon theme.
Definition at line 209 of file kicontheme.h. |
|
Returns the toplevel theme directory.
Definition at line 253 of file kicontheme.h. |
|
Return the name of the "example" icon. This can be used to present the theme to the user.
Definition at line 235 of file kicontheme.cpp. |
|
Returns true if the theme has any icons for the given context.
Definition at line 345 of file kicontheme.cpp. |
|
Lookup an icon in the theme.
Definition at line 359 of file kicontheme.cpp. |
|
The themes this icon theme falls back on.
Definition at line 259 of file kicontheme.h. |
|
The icon theme should be hidden to the user?
Definition at line 230 of file kicontheme.cpp. |
|
The icon theme exists?
Definition at line 225 of file kicontheme.cpp. |
|
Returns the name of this theme's link overlay.
Definition at line 237 of file kicontheme.cpp. |
|
List all icon themes installed on the system, global and local.
Definition at line 464 of file kicontheme.cpp. |
|
Returns the name of this theme's lock overlay.
Definition at line 238 of file kicontheme.cpp. |
|
The stylized name of the icon theme.
Definition at line 202 of file kicontheme.h. |
|
Query available icons for a size and context.
Definition at line 263 of file kicontheme.cpp. |
|
Query available icons for a context and preferred size.
Definition at line 316 of file kicontheme.cpp. |
|
Query available sizes for a group.
Definition at line 252 of file kicontheme.cpp. |
|
Reconfigure the theme.
Definition at line 499 of file kicontheme.cpp. |
|
Return the name of the screenshot.
Definition at line 236 of file kicontheme.cpp. |
|
Returns the name of this theme's share overlay.
Definition at line 240 of file kicontheme.cpp. |
|
Returns the name of this theme's zip overlay.
Definition at line 239 of file kicontheme.cpp. |
The documentation for this class was generated from the following files: