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#include "kpixmapsequenceloader.h"
9
10#include <KIconLoader>
11
12namespace KPixmapSequenceLoader
13{
14
15KPixmapSequence load(const QString &iconName, int size)
16{
17 return KPixmapSequence(KIconLoader::global()->iconPath(name: iconName, group_or_size: -size), size);
18}
19
20}
21

source code of kiconthemes/src/widgets/kpixmapsequenceloader.cpp