KNewStuff
imageloader.cpp
Go to the documentation of this file.
32ImageLoader::ImageLoader(const EntryInternal& entry, EntryInternal::PreviewType type, QObject* parent)
77 image = image.scaled(2 * PreviewWidth, 2 * PreviewHeight, Qt::KeepAspectRatio, Qt::FastTransformation);
79 image = image.scaled(PreviewWidth, PreviewHeight, Qt::KeepAspectRatio, Qt::SmoothTransformation);
static void setJobPriority(SimpleJob *job, int priority)
int error() const
KJob * job()
Get the job doing the image loading in the background (to have progress information available)
Definition imageloader.cpp:50
ImageLoader(const EntryInternal &entry, EntryInternal::PreviewType type, QObject *parent)
Definition imageloader.cpp:32
void signalPreviewLoaded(const KNS3::EntryInternal &, KNS3::EntryInternal::PreviewType)
TransferJob * get(const KUrl &url, LoadType reload=NoReload, JobFlags flags=DefaultFlags)
NoReload
HideProgressInfo
Definition atticaprovider.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.