class KPreview

A file preview widget. More...

Definition#include <kpreview.h>
InheritsQWidget (kdeui)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Public Static Methods


Detailed Description

The KPreview widget displays previews of a file. Two possible previews are possible, either some text or a pixmap.

The widget has been designed to allow the uses to easily add new custom preview modules. For that use the static method KPreview::registerPreviewModule.

 KPreview ( const KDir *inDir= 0, QWidget *parent= 0, const char *name= 0)

KPreview ()

[virtual]

void  registerPreviewModule ( const char * format, PreviewHandler readPreview, PreviewType inType)

[static]

void  previewFile (const KFileInfo *i)

[virtual slot]