.TH "KPixmapProvider" 3 "28 Jan 2004" "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
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual \fBQPixmap\fP \fBpixmapFor\fP (const  \fBQString\fP &text, int size=0)=0"
.br
.RI "\fIYou may subclass this and return a pixmap of size \fCsize\fP for \fCtext\fP. \fP"
.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 37 of file kpixmapprovider.h.
.SH "Member Function Documentation"
.PP 
.SS "virtual \fBQPixmap\fP KPixmapProvider::pixmapFor (const \fBQString\fP & text, int size = 0)\fC [pure virtual]\fP"
.PP
You may subclass this and return a pixmap of size \fCsize\fP for \fCtext\fP. \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 \fBKIcon::StdSize\fP. 
.RE
.PP
\fBReturns:\fP
.RS 4
the pixmap for the arguments, or null if there is none 
.RE
.PP


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