KIconThemes

kpixmapsequenceloader.cpp
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(iconName, -size), size);
18}
19
20}
static KIconLoader * global()
Returns the global icon loader initialized with the application name.
QAction * load(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.