class PreviewJob

# class PreviewJob |
Full name | `KIO::PreviewJob`
Definition | `#include <previewjob.h>`
Inherits | KIO::Job [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- PreviewJob ( const KFileItemList &items, int width, int height, int iconSize, int iconAlpha, bool scale, bool save, const QStringList *enabledPlugins, bool deleteItems = false )
- virtual ~PreviewJob ()
- void removeItem ( const KFileItem *item )

#### Signals

- void gotPreview ( const KFileItem *item, const QPixmap &preview )
- void failed ( const KFileItem *item )

#### Public Static Methods

- static QStringList availablePlugins ()
- static QStringList supportedMimeTypes ()

#### Protected Methods

- void getOrCreateThumbnail ()
- bool statResultThumbnail ()
- void createThumbnail ( QString )
- virtual void virtual_hook ( int id, void* data )

#### Protected Slots

- virtual void slotResult ( KIO::Job *job )

## Detailed Description

PreviewJob ( const KFileItemList &items, int width, int height, int iconSize, int iconAlpha, bool scale, bool save, const QStringList *enabledPlugins, bool deleteItems = false ) | ### PreviewJob

~PreviewJob () | ### ~PreviewJob

[virtual]

void removeItem ( const KFileItem *item ) | ### removeItem

Removes an item from preview processing. Use this if you passed an item to filePreview and want to delete it now.

Parameters:

item | the item that should be removed from the preview queue

QStringList availablePlugins () | ### availablePlugins

[static]

Returns: a list of all available preview plugins. The list contains the basenames of the plugins' .desktop files (no path, no .desktop).

QStringList supportedMimeTypes () | ### supportedMimeTypes

[static]

Returns: a list of all supported MIME types. The list can contain entries like text/ * (without the space).

void gotPreview ( const KFileItem *item, const QPixmap &preview ) | ### gotPreview

[signal]

Emitted when a thumbnail picture for `item` has been successfully retrieved.

void failed ( const KFileItem *item ) | ### failed

[signal]

Emitted when a thumbnail for `item` could not be created, either because a ThumbCreator for its MIME type does not exist, or because something went wrong.

void getOrCreateThumbnail () | ### getOrCreateThumbnail

[protected]

bool statResultThumbnail () | ### statResultThumbnail

[protected]

void createThumbnail ( QString ) | ### createThumbnail

[protected]

void slotResult ( KIO::Job *job ) | ### slotResult

[protected slots virtual slot]

Reimplemented from Job.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from Job.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.