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 179 of file kicontheme.h.
Public Member Functions | |
KIconTheme (const QString &name, const QString &appName=QString::null) | |
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 |
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 426 of file kicontheme.cpp. |
|
The default size of this theme for a certain icon group.
Definition at line 240 of file kicontheme.cpp. |
|
Returns the default icon theme.
Definition at line 490 of file kicontheme.cpp. |
|
The minimum display depth required for this theme. This can either be 8 or 32.
Definition at line 272 of file kicontheme.h. |
|
A description for the icon theme.
Definition at line 202 of file kicontheme.h. |
|
Returns the toplevel theme directory.
Definition at line 246 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 233 of file kicontheme.cpp. |
|
Lookup an icon in the theme.
Definition at line 343 of file kicontheme.cpp. |
|
The themes this icon theme falls back on.
Definition at line 252 of file kicontheme.h. |
|
The icon theme should be hidden to the user?
Definition at line 228 of file kicontheme.cpp. |
|
The icon theme exists?
Definition at line 223 of file kicontheme.cpp. |
|
Returns the name of this theme's link overlay.
Definition at line 235 of file kicontheme.cpp. |
|
List all icon themes installed on the system, global and local.
Definition at line 448 of file kicontheme.cpp. |
|
Returns the name of this theme's lock overlay.
Definition at line 236 of file kicontheme.cpp. |
|
The stylized name of the icon theme.
Definition at line 195 of file kicontheme.h. |
|
Query available icons for a size and context.
Definition at line 261 of file kicontheme.cpp. |
|
Query available icons for a context and preferred size.
Definition at line 314 of file kicontheme.cpp. |
|
Query available sizes for a group.
Definition at line 250 of file kicontheme.cpp. |
|
Reconfigure the theme.
Definition at line 481 of file kicontheme.cpp. |
|
Return the name of the screenshot.
Definition at line 234 of file kicontheme.cpp. |
|
Returns the name of this theme's share overlay.
Definition at line 238 of file kicontheme.cpp. |
|
Returns the name of this theme's zip overlay.
Definition at line 237 of file kicontheme.cpp. |
The documentation for this class was generated from the following files: