You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.0 KiB
62 lines
2.0 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import java.util.ArrayList;
|
|
|
|
/**
|
|
|
|
MetaInfoJob is a KIO Job to retrieve meta information from files.
|
|
See {@link MetaInfoJobSignals} for signals emitted by MetaInfoJob
|
|
@short KIO Job to retrieve meta information from files.
|
|
|
|
*/
|
|
public class MetaInfoJob extends Job {
|
|
protected MetaInfoJob(Class dummy){super((Class) null);}
|
|
public native QMetaObject 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);
|
|
}
|