summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/MetaInfoJob.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/MetaInfoJob.java')
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/MetaInfoJob.java61
1 files changed, 61 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/MetaInfoJob.java b/tdejava/koala/org/trinitydesktop/koala/MetaInfoJob.java
new file mode 100644
index 00000000..eb789b37
--- /dev/null
+++ b/tdejava/koala/org/trinitydesktop/koala/MetaInfoJob.java
@@ -0,0 +1,61 @@
+//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 java.util.ArrayList;
+
+/**
+
+ MetaInfoJob is a TDEIO Job to retrieve meta information from files.
+ See {@link MetaInfoJobSignals} for signals emitted by MetaInfoJob
+ @short TDEIO Job to retrieve meta information from files.
+
+*/
+public class MetaInfoJob extends Job {
+ protected MetaInfoJob(Class dummy){super((Class) null);}
+ public native TQMetaObject metaObject();
+ public native String className();
+ /**
+ Creates a new MetaInfoJob.
+ @param items A list of KFileItems to get the metainfo for
+ @param deleteItems If true, the finished KFileItems are deleted
+ @short Creates a new MetaInfoJob.
+ */
+ public MetaInfoJob(ArrayList items, boolean deleteItems) {
+ super((Class) null);
+ newMetaInfoJob(items,deleteItems);
+ }
+ private native void newMetaInfoJob(ArrayList items, boolean deleteItems);
+ public MetaInfoJob(ArrayList items) {
+ super((Class) null);
+ newMetaInfoJob(items);
+ }
+ private native void newMetaInfoJob(ArrayList items);
+ /**
+ Removes an item from metainfo extraction.
+ @param item the item that should be removed from the queue
+ @short Removes an item from metainfo extraction.
+ */
+ public native void removeItem(KFileItem item);
+ /**
+ Returns a list of all available metainfo plugins. The list
+ contains the basenames of the plugins' .desktop files (no path,
+ no .desktop).
+ @return the list of available meta info plugins
+
+ @short Returns a list of all available metainfo 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 that are supported
+
+ @short Returns a list of all supported MIME types.
+ */
+ public static native ArrayList supportedMimeTypes();
+ protected native void getMetaInfo();
+ protected native void slotResult(Job job);
+}