KFileMetaPreview Class Reference

Inheritance diagram for KFileMetaPreview:

KPreviewWidgetBase QWidget List of all members.

Detailed Description

Definition at line 18 of file kfilemetapreview.h.


Public Slots

virtual void showPreview (const KURL &url)
virtual void clearPreview ()

Public Member Functions

 KFileMetaPreview (QWidget *parent, const char *name=0)
 ~KFileMetaPreview ()
virtual void addPreviewProvider (const QString &mimeType, KPreviewWidgetBase *provider)
virtual void clearPreviewProviders ()

Protected Member Functions

virtual KPreviewWidgetBasepreviewProviderFor (const QString &mimeType)
virtual void virtual_hook (int id, void *data)

Member Function Documentation

void KFileMetaPreview::showPreview ( const KURL &  url  )  [virtual, slot]

This slot is called every time the user selects another file in the file dialog.

Implement the stuff necessary to reflect the change here.

Parameters:
url The URL of the currently selected file.

Implements KPreviewWidgetBase.

Definition at line 140 of file kfilemetapreview.cpp.

void KFileMetaPreview::clearPreview (  )  [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.

Implements KPreviewWidgetBase.

Definition at line 160 of file kfilemetapreview.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys