diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/PreviewJob.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/PreviewJob.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/PreviewJob.java | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/PreviewJob.java b/tdejava/koala/org/trinitydesktop/koala/PreviewJob.java new file mode 100644 index 00000000..91418b7d --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/PreviewJob.java @@ -0,0 +1,80 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.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 <code>width</code> + @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 <code>ignoreSize</code> is true, then the preview is always + generated regardless of the settings + @short If <code>ignoreSize</code> 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); +} |