| 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 | /*! |
| 16 | * \namespace KPixmapSequenceLoader |
| 17 | * \inmodule KIconWidgets |
| 18 | */ |
| 19 | namespace KPixmapSequenceLoader |
| 20 | { |
| 21 | |
| 22 | /*! |
| 23 | * Loads a pixmapSequence given the xdg icon name |
| 24 | * |
| 25 | * \a iconName The name of the icon, without extension. |
| 26 | * |
| 27 | * \a size the size to be used |
| 28 | * \since 6.0 |
| 29 | */ |
| 30 | KICONWIDGETS_EXPORT KPixmapSequence load(const QString &iconName, int size); |
| 31 | |
| 32 | }; |
| 33 | |
| 34 | #endif |
| 35 | |