KNewStuff
KNS3::ImageLoader Class Reference
#include <imageloader.h>
Inheritance diagram for KNS3::ImageLoader:

Signals | |
| void | signalPreviewLoaded (const KNS3::EntryInternal &, KNS3::EntryInternal::PreviewType) |
Public Member Functions | |
| ImageLoader (const EntryInternal &entry, EntryInternal::PreviewType type, QObject *parent) | |
| KJob * | job () |
| void | start () |
Detailed Description
Convenience class for images with remote sources.
This class represents a fire-and-forget approach of loading images in applications. The image will load itself. Using this class also requires using QAsyncFrame or similar UI elements which allow for asynchronous image loading.
This class is used internally by the DownloadDialog class.
Constructor & Destructor Documentation
| ImageLoader::ImageLoader | ( | const EntryInternal & | entry, |
| EntryInternal::PreviewType | type, | ||
| QObject * | parent | ||
| ) |
Definition at line 32 of file imageloader.cpp.
Member Function Documentation
| KJob * ImageLoader::job | ( | ) |
Get the job doing the image loading in the background (to have progress information available)
- Returns:
- the job
Definition at line 50 of file imageloader.cpp.
| void KNS3::ImageLoader::signalPreviewLoaded | ( | const KNS3::EntryInternal & | , |
| KNS3::EntryInternal::PreviewType | |||
| ) | [signal] |
| void ImageLoader::start | ( | ) |
Definition at line 39 of file imageloader.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Sun May 13 2012 21:54:58 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Sun May 13 2012 21:54:58 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.