Search for usage in LXR

KUrlPixmapProvider Class Reference

#include <KUrlPixmapProvider>

Detailed Description

Resolves pixmaps for URLs.

Implementation of KPixmapProvider.

Uses KMimeType::pixmapForURL() to resolve icons.

Instantiate this class and supply it to the desired class, e.g.

Carsten Pfeiffer pfeif[email protected][email protected][email protected]kde.o[email protected]rg
since 5.66, use KIO::iconNameForUrl to get the icon name and use QIcon::fromTheme

The documentation for this class was generated from the following file:
Resolves pixmaps for URLs.
void setPixmapProvider(KPixmapProvider *provider)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Dec 6 2022 03:56:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.