KFileMetaPreview Class Reference
Inheritance diagram for KFileMetaPreview:

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 KPreviewWidgetBase * | previewProviderFor (const QString &mimeType) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Definition at line 18 of file kfilemetapreview.h.
Member Function Documentation
|
This slot is called every time the user selects another file in the file dialog. Implement the stuff necessary to reflect the change here.
Implements KPreviewWidgetBase. Definition at line 106 of file kfilemetapreview.cpp. References clearPreview(), KMimeType::findByURL(), previewProviderFor(), QWidgetStack::raiseWidget(), KPreviewWidgetBase::showPreview(), and QWidgetStack::visibleWidget(). |
|
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 126 of file kfilemetapreview.cpp. References QWidgetStack::visibleWidget(). Referenced by showPreview(). |
The documentation for this class was generated from the following files: