• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • ImageProvider
Signals | Public Member Functions | List of all members
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.

void Akonadi::ImageProvider::imageLoaded ( const QString &  who,
const KUrl &  url,
const QImage &  image 
)
signal

Signals image loading has finished.

Parameters
whoThe username this picture belongs to
urlURL of the image
imageThe 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
whoThe username this picture belongs to, can be some general id as well
urlURL of the image
polishImageset 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:
  • imageprovider.h
  • imageprovider.cpp
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

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal