Krita Source Code Documentation
Loading...
Searching...
No Matches
KoIcon.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2012 Friedrich W. H. Kossebau <kossebau@kde.org>
3
* SPDX-License-Identifier: LGPL-2.0-or-later
4
*/
5
6
#ifndef KOICON_H
7
#define KOICON_H
8
9
#include <
kis_icon_utils.h
>
10
#include <QString>
25
#define koIcon(name) (KisIconUtils::loadIcon(QLatin1String(name)))
// Can be used
26
#define kisIcon(name) (KisIconUtils::loadIcon(name))
27
#define koIconName(name) (QLatin1String(name))
28
#define koIconNameCStr(name) (name)
29
31
#define koIconNeeded(comment, neededName) (KisIconUtils::loadIcon(QLatin1String(neededName)))
32
#define koIconNeededWithSubs(comment, neededName, substituteName) (KisIconUtils::loadIcon(QLatin1String(substituteName)))
33
#define koIconNameNeeded(comment, neededName) (QLatin1String(neededName))
34
#define koIconNameNeededWithSubs(comment, neededName, substituteName) (QLatin1String(substituteName))
35
#define koIconNameCStrNeeded(comment, neededName) (neededName)
36
#define koIconNameCStrNeededWithSubs(comment, neededName, substituteName) (substituteName)
37
38
#endif
kis_icon_utils.h
libs
widgetutils
KoIcon.h
Generated at
2026-01-15 02:30:07+01:00
from
Krita
branch
master
, commit
38b517ca06286bb65279453cbf9a2b4fbd1153d1