class KPreviewWidgetBase


abstract

Module kio
Namespace
Class KPreviewWidgetBase
Inherits QWidget
Abstract baseclass for all preview widgets which shall be used via KFileDialog.setPreviewWidget(const KPreviewWidgetBase *). Ownership will be transferred to KFileDialog, so you have to create the preview with "new" and let KFileDialog delete it.

Just derive your custom preview widget from KPreviewWidgetBase and implement all the pure virtual methods. The slot showPreview(const KUrl &) is called every time the file selection changes.

Abstract baseclass for all preview widgets. Author Frerich Raabe



methods