class ThumbCreator


Contains pure virtuals
Definition#include <thumbcreator.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

enum Flags { None = 0, DrawFrame = 1, BlendIcon = 2 }

Flags

 ~ThumbCreator ()

~ThumbCreator

[virtual]

bool  create (const QString &path, int width, int height, QImage &img)

create

[pure virtual]

Creates a thumbnail Note that the width and height parameters should not be used for scaling. Only plugins that create an image "from scratch", like the TextCreator should directly use the specified size. If the resulting preview is larger than width x height, it will be scaled down.

Parameters:
paththe (always local) file path to create a preview for
widthmaximum width for the preview
heightmaximum height for the preview
imgthis image will contain the preview on success

Returns: true if preview generation succeeded

Flags  flags ()

flags

[const virtual]

The flags of this plugin:

Returns: flags for this plugin


Generated by: dfaure on faure on Tue Apr 16 08:49:48 2002, using kdoc 2.0a53.