//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import org.kde.qt.TQPixmap; import java.util.ArrayList; /** See {@link PreviewJobSignals} for signals emitted by PreviewJob */ public class PreviewJob extends Job { protected PreviewJob(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** Creates a new PreviewJob. @param items a list of files to create previews for @param width the desired width @param height the desired height, 0 to use the width @param 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. @param iconAlpha transparency to use for the icon overlay @param scale if the image is to be scaled to the requested size or returned in its original size @param save if the image should be cached for later use @param enabledPlugins if non-zero, this points to a list containing the names of the plugins that may be used. @param deleteItems true to delete the items when done @short Creates a new PreviewJob. */ public PreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins, boolean deleteItems) { super((Class) null); newPreviewJob(items,width,height,iconSize,iconAlpha,scale,save,enabledPlugins,deleteItems); } private native void newPreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins, boolean deleteItems); public PreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins) { super((Class) null); newPreviewJob(items,width,height,iconSize,iconAlpha,scale,save,enabledPlugins); } private native void newPreviewJob(ArrayList items, int width, int height, int iconSize, int iconAlpha, boolean scale, boolean save, String[] enabledPlugins); /** Removes an item from preview processing. Use this if you passed an item to filePreview and want to delete it now. @param item the item that should be removed from the preview queue @short Removes an item from preview processing. */ public native void removeItem(KFileItem item); /** If ignoreSize is true, then the preview is always generated regardless of the settings @short If ignoreSize is true, then the preview is always generated regardless of the settings */ public native void setIgnoreMaximumSize(boolean ignoreSize); public native void setIgnoreMaximumSize(); /** Returns a list of all available preview plugins. The list contains the basenames of the plugins' .desktop files (no path, no .desktop). @return the list of plugins @short Returns a list of all available preview plugins. */ public static native ArrayList availablePlugins(); /** Returns a list of all supported MIME types. The list can contain entries like text/ (without the space). @return the list of mime types @short Returns a list of all supported MIME types. */ public static native ArrayList supportedMimeTypes(); protected native void getOrCreateThumbnail(); protected native boolean statResultThumbnail(); protected native void createThumbnail(String arg1); protected native void slotResult(Job job); }