1 | /* |
2 | SPDX-FileCopyrightText: 2000 Geert Jansen <jansen@kde.org> |
3 | SPDX-FileCopyrightText: 2000 Antonio Larrosa <larrosa@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.0-only |
6 | */ |
7 | |
8 | #ifndef KPIXMAPSEQUENCELOADER_H |
9 | #define KPIXMAPSEQUENCELOADER_H |
10 | |
11 | #include <KPixmapSequence> |
12 | |
13 | #include "kiconwidgets_export.h" |
14 | |
15 | namespace KPixmapSequenceLoader |
16 | { |
17 | |
18 | /** |
19 | * Loads a pixmapSequence given the xdg icon name |
20 | * |
21 | * @param iconName The name of the icon, without extension. |
22 | * @param size the size to be used |
23 | * @since 6.0 |
24 | */ |
25 | KICONWIDGETS_EXPORT KPixmapSequence load(const QString &iconName, int size); |
26 | |
27 | }; |
28 | |
29 | #endif |
30 | |