Plasma
faviconprovider.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef FAVICONPROVIDER_H
00022 #define FAVICONPROVIDER_H
00023
00024 #include <QtCore/QObject>
00025
00026 class QImage;
00027
00031 class FaviconProvider : public QObject
00032 {
00033 Q_OBJECT
00034
00035 public:
00041 FaviconProvider( QObject *parent, const QString &url);
00042
00046 ~FaviconProvider();
00047
00054 QImage image() const;
00055
00059 QString identifier() const;
00060
00061 Q_SIGNALS:
00068 void finished( FaviconProvider *provider );
00069
00075 void error( FaviconProvider *provider );
00076
00077 private:
00078 QString m_url;
00079
00080 class Private;
00081 Private* const d;
00082
00083 Q_PRIVATE_SLOT( d, void imageRequestFinished(KJob *job) )
00084 };
00085
00086 #endif