org.kde.koala
public class PreviewJob extends Job
Constructor Summary | |
---|---|
protected | PreviewJob(Class dummy) |
PreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins, boolean deleteItems)
Creates a new PreviewJob. | |
PreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins) |
Method Summary | |
---|---|
static ArrayList | availablePlugins()
Returns a list of all available preview plugins. |
String | className() |
protected void | createThumbnail(String arg1) |
protected void | getOrCreateThumbnail() |
QMetaObject | metaObject() |
void | removeItem(KFileItem item)
Removes an item from preview processing. |
void | setIgnoreMaximumSize(boolean ignoreSize)
If ignoreSize is true, then the preview is always
generated regardless of the settings |
void | setIgnoreMaximumSize() |
protected void | slotResult(Job job) |
protected boolean | statResultThumbnail() |
static ArrayList | supportedMimeTypes()
Returns a list of all supported MIME types. |
Parameters: items a list of files to create previews for width the desired width height the desired height, 0 to use the width
iconSize the size of the mimetype icon to overlay over the
preview or zero to not overlay an icon. This has no effect if the
preview plugin that will be used doesn't use icon overlays. iconAlpha transparency to use for the icon overlay scale if the image is to be scaled to the requested size or
returned in its original size save if the image should be cached for later use enabledPlugins if non-zero, this points to a list containing
the names of the plugins that may be used. deleteItems true to delete the items when done
UNKNOWN: Creates a new PreviewJob.
Returns: the list of plugins
UNKNOWN: Returns a list of all available preview plugins.
Parameters: item the item that should be removed from the preview queue
UNKNOWN: Removes an item from preview processing.
ignoreSize
is true, then the preview is always
generated regardless of the settingsUNKNOWN: If ignoreSize
is true, then the preview is always generated regardless of the settings
Returns: the list of mime types
UNKNOWN: Returns a list of all supported MIME types.