Plasma5Support
faviconprovider.cpp
59 d->cachePath = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + u'/' + fileName + ".png"_L1;
62 d->cachePath = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/favicons/"_L1 + faviconUrl.host() + ".png"_L1;
QString identifier() const
Returns the identifier of the comic request (name + date).
Definition faviconprovider.cpp:85
FaviconProvider(QObject *parent, const QString &url)
Creates a new favicon provider.
Definition faviconprovider.cpp:50
void finished(FaviconProvider *provider)
This signal is emitted whenever a request has been finished successfully.
void error(FaviconProvider *provider)
This signal is emitted whenever an error has occurred.
QByteArray data() const
int error() const
void result(KJob *job)
KIOCORE_EXPORT StoredTransferJob * storedGet(const QUrl &url, LoadType reload=NoReload, JobFlags flags=DefaultFlags)
KIOCORE_EXPORT QString favIconForUrl(const QUrl &url)
HideProgressInfo
QImage fromData(QByteArrayView data, const char *format)
bool isNull() const const
bool load(QIODevice *device, const char *format)
bool save(QIODevice *device, const char *format, int quality) const const
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
CacheLocation
QString writableLocation(StandardLocation type)
bool isEmpty() const const
QUrl fromUserInput(const QString &userInput, const QString &workingDirectory, UserInputResolutionOptions options)
QString host(ComponentFormattingOptions options) const const
bool isValid() const const
void setPath(const QString &path, ParsingMode mode)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.