.TH "KURLPixmapProvider" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KURLPixmapProvider \- Implementation of \fBKPixmapProvider\fP Resolves pixmaps for URLs.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kurlpixmapprovider.h>\fP
.PP
Inherits \fBKPixmapProvider\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual \fBQPixmap\fP \fBpixmapFor\fP (const  \fBQString\fP &url, int size=0)"
.br
.RI "\fIReturns a pixmap for \fCurl\fP with size \fCsize\fP Uses \fBKMimeType::pixmapForURL\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 
Implementation of \fBKPixmapProvider\fP Resolves pixmaps for URLs. 

Uses \fBKMimeType::pixmapForURL\fP() to resolve icons.
.PP
Instatiate this class and supply it to the desired class, e.g. 
.PP
.nf

 \fBKHistoryCombo\fP *combo = new KHistoryCombo( this );
 combo->setPixmapProvider( new KURLPixmapProvider );
 [...]
 
.PP
.PP
\fBAuthor:\fP
.RS 4
Carsten Pfeiffer <pfeiffer@kde.org> 
.RE
.PP

.PP
Definition at line 42 of file kurlpixmapprovider.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBQPixmap\fP KURLPixmapProvider::pixmapFor (const \fBQString\fP & url, int size = 0)\fC [virtual]\fP"
.PP
Returns a pixmap for \fCurl\fP with size \fCsize\fP Uses \fBKMimeType::pixmapForURL\fP(). Implements \fBKPixmapProvider\fP.
.PP
Definition at line 23 of file kurlpixmapprovider.cpp.
.PP
References QString::at(), KMimeType::pixmapForURL(), and KURL::setPath().

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