class KURLPixmapProvider

# class KURLPixmapProvider | Resolves pixmaps for URLs. More...
Definition | `#include <kurlpixmapprovider.h>`
Inherits | KPixmapProvider (kdecore) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- virtual QPixmap pixmapFor ( const QString& url, int size = 0 )

#### Protected Methods

- virtual void virtual_hook ( int id, void* data )

## Detailed Description

Implementation of KPixmapProvider

Uses KMimeType::pixmapForURL() to resolve icons.

Instatiate this class and supply it to the desired class, e.g.

     KHistoryCombo *combo = new KHistoryCombo( this );
     combo->setPixmapProvider( new KURLPixmapProvider );
     [...]

QPixmap pixmapFor ( const QString& url, int size = 0 ) | ### pixmapFor

[virtual]

Returns a pixmap for `url` with size `size` Uses KMimeType::pixmapForURL()

Reimplemented from KPixmapProvider.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from KPixmapProvider.

- Author: Carsten Pfeiffer
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.