Krita/docs/Icons API Roadmap: Difference between revisions
(Created page with "= Krita Icons API Roadmap = # Remove all <syntaxhighlight lang="cpp"> #include <KoIcon.h></syntaxhighlight> and put <syntaxhighlight lang="cpp"> #include <kis_icon_utils.h></...") |
|||
Line 2: | Line 2: | ||
# Remove all <syntaxhighlight lang="cpp"> #include <KoIcon.h></syntaxhighlight> and put <syntaxhighlight lang="cpp"> #include <kis_icon_utils.h></syntaxhighlight> instead. | # Remove all <syntaxhighlight lang="cpp"> #include <KoIcon.h></syntaxhighlight> and put <syntaxhighlight lang="cpp"> #include <kis_icon_utils.h></syntaxhighlight> instead. | ||
# Substitute all <syntaxhighlight lang="cpp">koIcon() | # Substitute all <syntaxhighlight lang="cpp">koIcon(), kthemedIcon()</syntaxhighlight> calls with <syntaxhighlight lang="cpp">KisIconUtils::loadIcon("<icon_name>")</syntaxhighlight> |
Revision as of 12:36, 10 August 2015
Krita Icons API Roadmap
- Remove all and put
#include <KoIcon.h>
instead.#include <kis_icon_utils.h>
- Substitute all calls with
koIcon(), kthemedIcon()
KisIconUtils::loadIcon("<icon_name>")