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
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52