13#include <kiconthemes_export.h>
21#include "kiconloader.h"
33class KICONTHEMES_EXPORT KIconTheme
44 explicit KIconTheme(
const QString &name,
const QString &appName = QString(),
const QString &basePathHint = QString());
47 KIconTheme(
const KIconTheme &) =
delete;
48 KIconTheme &operator=(
const KIconTheme &) =
delete;
61 QString internalName()
const;
68 QString description()
const;
75 QString example()
const;
81 QString screenshot()
const;
93 QStringList inherits()
const;
105 bool isHidden()
const;
213 bool followsColorScheme()
const;
219 static QStringList list();
225 static QString current();
245 static void forceThemeForTests(
const QString &themeName);
250 static void reconfigure();
256 static QString defaultThemeName();
258#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(5, 64)
280 KICONTHEMES_DEPRECATED_VERSION(5, 64,
"No longer necessary")
281 static
void assignIconsToContextMenu(ContextMenus type, QList<QAction *> actions);
285 std::unique_ptr<class KIconThemePrivate>
const d;
Group
The group of the icon.
Definition kiconloader.h:125
Context
Defines the context of the icon.
Definition kiconloader.h:81
@ Any
Some icon with unknown purpose.
Definition kiconloader.h:82
MatchType
The type of a match.
Definition kiconloader.h:116