class KPixmapProvider

# class KPixmapProvider | an abstract interface for looking up icons. More...
Contains pure virtuals
Definition | `#include <kpixmapprovider.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- virtual ~KPixmapProvider ()
- virtual QPixmap pixmapFor ( const QString& text, int size = 0 )

#### Protected Methods

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

## Detailed Description

A tiny abstract class with just one method: pixmapFor()

It will be called whenever an icon is searched for `text`.

Used e.g. by KHistoryCombo

~KPixmapProvider () | ### ~KPixmapProvider

[virtual]

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

[pure virtual]

You may subclass this and return a pixmap of size `size` for `text`.

Parameters:

text | the text that is associated with the pixmap
size | the size of the icon in pixels, 0 for defaylt size. See KIcon::StdSize.

Returns: the pixmap for the arguments, or null if there is none

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

[protected virtual]

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