Plasma
FaviconProvider Class Reference
This class provides a favicon for a given url. More...
#include <faviconprovider.h>
Inheritance diagram for FaviconProvider:

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
Creates a new favicon provider.
- Parameters:
-
parent The parent object.
Definition at line 65 of file faviconprovider.cpp.
FaviconProvider::~FaviconProvider | ( | ) |
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: