KDEUI
kicontheme.h
Go to the documentation of this file.
150 QStringList queryIconsByContext(int size, KIconLoader::Context context = KIconLoader::Any) const;
static QStringList list()
List all icon themes installed on the system, global and local.
Definition kicontheme.cpp:545
QList< int > querySizes(KIconLoader::Group group) const
Query available sizes for a group.
Definition kicontheme.cpp:330
ContextMenus
Defines the context menus that assignIconsToContextMenus is aware of.
Definition kicontheme.h:202
QString internalName() const
The internal name of the icon theme (same as the name argument passed to the constructor).
Definition kicontheme.cpp:276
QStringList queryIconsByContext(int size, KIconLoader::Context context=KIconLoader::Any) const
Query available icons for a context and preferred size.
Definition kicontheme.cpp:391
bool hasContext(KIconLoader::Context context) const
Returns true if the theme has any icons for the given context.
Definition kicontheme.cpp:418
K3Icon iconPath(const QString &name, int size, KIconLoader::MatchType match) const
Lookup an icon in the theme.
Definition kicontheme.cpp:428
KIconTheme(const QString &name, const QString &appName=QString())
Load an icon theme by name.
Definition kicontheme.cpp:127
QStringList queryIcons(int size, KIconLoader::Context context=KIconLoader::Any) const
Query available icons for a size and context.
Definition kicontheme.cpp:340
int defaultSize(KIconLoader::Group group) const
The default size of this theme for a certain icon group.
Definition kicontheme.cpp:321
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.