.TH "KPixmapProvider" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KPixmapProvider \- A tiny abstract class with just one method: \fBpixmapFor()\fP an abstract interface for looking up icons.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kpixmapprovider.h>\fP
.PP
Inherited by \fBKURLPixmapProvider\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual \fBQPixmap\fP \fBpixmapFor\fP (const \fBQString\fP &text, int size=0)=0"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A tiny abstract class with just one method: \fBpixmapFor()\fP an abstract interface for looking up icons. 

It will be called whenever an icon is searched for \fCtext\fP.
.PP
Used e.g. by \fBKHistoryCombo\fP
.PP
\fBAuthor:\fP
.RS 4
Carsten Pfeiffer <pfeiffer@kde.org> 
.RE
.PP

.PP
Definition at line 38 of file kpixmapprovider.h.
.SH "Member Function Documentation"
.PP 
.SS "virtual \fBQPixmap\fP KPixmapProvider::pixmapFor (const \fBQString\fP & text, int size = \fC0\fP)\fC [pure virtual]\fP"
.PP
You may subclass this and return a pixmap of size \fCsize\fP for \fCtext\fP. 
.PP
\fBParameters:\fP
.RS 4
\fItext\fP the text that is associated with the pixmap 
.br
\fIsize\fP the size of the icon in pixels, 0 for defaylt size. See KIcon::StdSize. 
.RE
.PP
\fBReturns:\fP
.RS 4
the pixmap for the arguments, or null if there is none 
.RE
.PP

.PP
Implemented in \fBKURLPixmapProvider\fP.

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
