.TH "KImageFilePreview" 3 "28 Jan 2004" "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
.RI "\fIThis slot is called everytime the user selects another file in the file dialog. \fP"
.ti -1c
.RI "virtual void \fBclearPreview\fP ()"
.br
.RI "\fIReimplement this to clear the preview. \fP"
.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. Definition at line 34 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 everytime the user selects another file in the file dialog. 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
Implements \fBKPreviewWidgetBase\fP.
.PP
Definition at line 76 of file kimagefilepreview.cpp.
.SS "void KImageFilePreview::clearPreview ()\fC [virtual, slot]\fP"
.PP
Reimplement this to clear the preview. This is called when e.g. the selection is cleared or when multiple selections exist, or the directory is changed. Implements \fBKPreviewWidgetBase\fP.
.PP
Definition at line 158 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.
