• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Engines

FaviconProvider Class Reference

This class provides a favicon for a given url. More...

#include <faviconprovider.h>

Inheritance diagram for FaviconProvider:

Inheritance graph
[legend]

List of all members.


Signals

void error (FaviconProvider *provider)
void finished (FaviconProvider *provider)

Public Member Functions

 FaviconProvider (QObject *parent, const QString &url)
QString identifier () const
QImage image () const
 ~FaviconProvider ()

Detailed Description

This class provides a favicon for a given url.

Definition at line 31 of file faviconprovider.h.


Constructor & Destructor Documentation

FaviconProvider::FaviconProvider ( QObject *  parent,
const QString &  url 
)

Creates a new favicon provider.

Parameters:
parent The parent object.

Definition at line 65 of file faviconprovider.cpp.

FaviconProvider::~FaviconProvider (  ) 

Destroys the favicon provider.

Definition at line 93 of file faviconprovider.cpp.


Member Function Documentation

void FaviconProvider::error ( FaviconProvider *  provider  )  [signal]

This signal is emitted whenever an error has occurred.

Parameters:
provider The provider which emitted the signal.

void FaviconProvider::finished ( FaviconProvider *  provider  )  [signal]

This signal is emitted whenever a request has been finished successfully.

Parameters:
provider The provider which emitted the signal.

QString FaviconProvider::identifier (  )  const

Returns the identifier of the comic request (name + date).

Definition at line 103 of file faviconprovider.cpp.

QImage FaviconProvider::image (  )  const

Returns the requested image.

Note: This method returns only a valid image after the finished() signal has been emitted.

Definition at line 98 of file faviconprovider.cpp.


The documentation for this class was generated from the following files:
  • faviconprovider.h
  • faviconprovider.cpp

Engines

Skip menu "Engines"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal