.TH "KImageFilePreview" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KImageFilePreview \- Image preview widget for the file dialog.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kimagefilepreview.h>\fP
.PP
Inherits \fBKPreviewWidgetBase\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "virtual void \fBshowPreview\fP (const \fBKURL\fP &url)"
.br
.ti -1c
.RI "virtual void \fBclearPreview\fP ()"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKImageFilePreview\fP (\fBQWidget\fP *parent)"
.br
.ti -1c
.RI "virtual \fBQSize\fP \fBsizeHint\fP () const "
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBshowPreview\fP ()"
.br
.ti -1c
.RI "void \fBshowPreview\fP (const \fBKURL\fP &url, bool force)"
.br
.ti -1c
.RI "void \fBtoggleAuto\fP (bool)"
.br
.ti -1c
.RI "virtual void \fBgotPreview\fP (const \fBKFileItem\fP *, const \fBQPixmap\fP &)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBresizeEvent\fP (\fBQResizeEvent\fP *e)"
.br
.ti -1c
.RI "virtual \fBKIO::PreviewJob\fP * \fBcreateJob\fP (const \fBKURL\fP &url, int w, int h)"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Image preview widget for the file dialog. 
.PP
Definition at line 31 of file kimagefilepreview.h.
.SH "Member Function Documentation"
.PP 
.SS "void KImageFilePreview::showPreview (const \fBKURL\fP & url)\fC [virtual, slot]\fP"
.PP
This slot is called every time the user selects another file in the file dialog. 
.PP
Implement the stuff necessary to reflect the change here.
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP The URL of the currently selected file. 
.RE
.PP

.PP
Implements \fBKPreviewWidgetBase\fP.
.PP
Definition at line 87 of file kimagefilepreview.cpp.
.SS "void KImageFilePreview::clearPreview ()\fC [virtual, slot]\fP"
.PP
Reimplement this to clear the preview. 
.PP
This is called when e.g. the selection is cleared or when multiple selections exist, or the directory is changed. 
.PP
Implements \fBKPreviewWidgetBase\fP.
.PP
Definition at line 171 of file kimagefilepreview.cpp.
.PP
References QLabel::clear(), and KIO::Job::kill().

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