class KPreviewWidgetBase


Contains pure virtuals
Definition#include <kpreviewwidgetbase.h>
InheritsQWidget (qt) [public ]
Inherited byKImageFilePreview
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots


Detailed Description

 KPreviewWidgetBase (QWidget *parent, const char *name=0)

KPreviewWidgetBase

Constructor. Construct the user interface of your preview widget here and pass the KFileDialog this preview widget is going to be used in as the parent.

Parameters:
parentThe KFileDialog this preview widget is going to be used in

void  showPreview (const KURL &url)

showPreview

[pure virtual slot]

This slot is called everytime the user selects another file in the file dialog. Implement the stuff necessary to reflect the change here.

Parameters:
urlThe URL of the currently selected file.

void  clearPreview ()

clearPreview

[pure virtual slot]

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.


Generated by: dfaure on kde.faure.org on Thu Jan 17 22:17:38 2002, using kdoc 2.0a53.