KQuickIconProvider
KQuickIconProvider Class Reference
#include <kquickiconprovider.h>
Inheritance diagram for KQuickIconProvider:

Public Member Functions | |
QPixmap | requestPixmap (const QString &id, QSize *size, const QSize &requestedSize) override |
![]() | |
QQuickImageProvider (QQmlImageProviderBase::ImageType type, QQmlImageProviderBase::Flags flags) | |
virtual QQmlImageProviderBase::Flags | flags () const const override |
virtual QQmlImageProviderBase::ImageType | imageType () const const override |
virtual QImage | requestImage (const QString &id, QSize *size, const QSize &requestedSize) |
virtual QQuickTextureFactory * | requestTexture (const QString &id, QSize *size, const QSize &requestedSize) |
Additional Inherited Members | |
![]() | |
enum | Flag |
enum | ImageType |
![]() | |
typedef | Flags |
ForceAsynchronousImageLoading | |
Image | |
ImageResponse | |
Invalid | |
Pixmap | |
Texture | |
Detailed Description
Class which exposes the KIcon* functioality to QML.
For dependency reasons, this is a header-only class.
This needs to be registered in the engine using the following code:
- Since
- 5.98
Definition at line 27 of file kquickiconprovider.h.
The documentation for this class was generated from the following file:
Class which exposes the KIcon* functioality to QML.
Definition: kquickiconprovider.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:00:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:00:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.