kio
KFileMetaPreview Class Reference
#include <kfilemetapreview.h>
Public Slots | |
virtual void | clearPreview () |
virtual void | showPreview (const KURL &url) |
Public Member Functions | |
virtual void | addPreviewProvider (const QString &mimeType, KPreviewWidgetBase *provider) |
virtual void | clearPreviewProviders () |
KFileMetaPreview (QWidget *parent, const char *name=0) | |
~KFileMetaPreview () | |
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.
Constructor & Destructor Documentation
KFileMetaPreview::KFileMetaPreview | ( | QWidget * | parent, | |
const char * | name = 0 | |||
) |
Definition at line 20 of file kfilemetapreview.cpp.
KFileMetaPreview::~KFileMetaPreview | ( | ) |
Definition at line 33 of file kfilemetapreview.cpp.
Member Function Documentation
void KFileMetaPreview::addPreviewProvider | ( | const QString & | mimeType, | |
KPreviewWidgetBase * | provider | |||
) | [virtual] |
Definition at line 166 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.
void KFileMetaPreview::clearPreviewProviders | ( | ) | [virtual] |
Definition at line 172 of file kfilemetapreview.cpp.
KPreviewWidgetBase * KFileMetaPreview::previewProviderFor | ( | const QString & | mimeType | ) | [protected, virtual] |
Definition at line 57 of file kfilemetapreview.cpp.
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::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
The documentation for this class was generated from the following files: