20 #ifndef KONQ_PIXMAPPROVIDER_H
21 #define KONQ_PIXMAPPROVIDER_H
25 #include <kpixmapprovider.h>
26 #include "konq_faviconmgr.h"
28 #include <libkonq_export.h>
32 class LIBKONQ_EXPORT KonqPixmapProvider :
public KonqFavIconMgr,
virtual public KPixmapProvider
35 static KonqPixmapProvider *
self();
37 virtual ~KonqPixmapProvider();
42 virtual TQPixmap pixmapFor(
const TQString& url,
int size = 0 );
47 void load( TDEConfig * kc,
const TQString& key );
52 void save( TDEConfig *,
const TQString& key,
const TQStringList& items );
63 TQString iconNameFor(
const TQString& url );
66 KonqPixmapProvider( TQObject *parent=0,
const char *name=0 );
71 virtual void notifyChange(
bool isHost, TQString hostOrURL, TQString iconName );
73 TQPixmap loadIcon(
const TQString& url,
const TQString& icon,
int size );
76 TQMap<TQString,TQString> iconMap;
77 static KonqPixmapProvider * s_self;
Maintains a list of custom icons per URL.
virtual ASYNC notifyChange(bool, TQString, TQString)=0
an icon changed, updates the combo box