akonadi
Akonadi::ImageProvider Class Reference
#include <imageprovider.h>
Inherits QObject.
Signals | |
void | imageLoaded (const QString &who, const KUrl &url, const QImage &image) |
Public Member Functions | |
ImageProvider (QObject *parent=0) | |
void | abortAllJobs () |
QImage | loadImage (const QString &who, const KUrl &url, bool polishImage=false, KImageCache *cache=0) |
Detailed Description
Class fetching avatars/images from network and storing them in KImageCache.
Definition at line 44 of file imageprovider.h.
Member Function Documentation
void Akonadi::ImageProvider::abortAllJobs | ( | ) |
Aborts all running jobs.
Definition at line 241 of file imageprovider.cpp.
|
signal |
Signals image loading has finished.
- Parameters
-
who The username this picture belongs to url URL of the image image The image itself
QImage Akonadi::ImageProvider::loadImage | ( | const QString & | who, |
const KUrl & | url, | ||
bool | polishImage = false , |
||
KImageCache * | cache = 0 |
||
) |
Starts fetching the avatar/image from network.
- Parameters
-
who The username this picture belongs to, can be some general id as well url URL of the image polishImage set to true if you want the image to have rounded corners, used for avatars mainly
Definition at line 161 of file imageprovider.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.