From 636f509299122d02087c6fd62e1e4a46dbd22026 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 8 Jan 2014 20:06:00 +0100 Subject: Rename many classes to avoid conflicts with KDE --- .../koala/org/trinitydesktop/koala/ListJob.java | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 tdejava/koala/org/trinitydesktop/koala/ListJob.java (limited to 'tdejava/koala/org/trinitydesktop/koala/ListJob.java') diff --git a/tdejava/koala/org/trinitydesktop/koala/ListJob.java b/tdejava/koala/org/trinitydesktop/koala/ListJob.java new file mode 100644 index 00000000..a0eaa1fc --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/ListJob.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; + +/** + + A ListJob is allows you to get the get the content of a directory. + Don't create the job directly, but use TDEIO.listRecursive() or + TDEIO.listDir() instead. + See {@link ListJobSignals} for signals emitted by ListJob + @short A ListJob is allows you to get the get the content of a directory. + @see #listRecursive + @see #listDir + +*/ +public class ListJob extends SimpleJob { + protected ListJob(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Do not create a ListJob directly. Use TDEIO.listDir() or + TDEIO.listRecursive() instead. + @param url the url of the directory + @param showProgressInfo true to show progress information to the user + @param recursive true to get the data recursively from child directories, + false to get only the content of the specified dir + @param prefix the prefix of the files, or null for no prefix + @param includeHidden true to include hidden files (those starting with '.') + @short Do not create a ListJob directly. + */ + public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden) { + super((Class) null); + newListJob(url,showProgressInfo,recursive,prefix,includeHidden); + } + private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden); + public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix) { + super((Class) null); + newListJob(url,showProgressInfo,recursive,prefix); + } + private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix); + public ListJob(KURL url, boolean showProgressInfo, boolean recursive) { + super((Class) null); + newListJob(url,showProgressInfo,recursive); + } + private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive); + public ListJob(KURL url, boolean showProgressInfo) { + super((Class) null); + newListJob(url,showProgressInfo); + } + private native void newListJob(KURL url, boolean showProgressInfo); + /** + Called by the scheduler when a slave gets to + work on this job. + @param slave the slave that starts working on this job + @short + */ + public native void start(Slave slave); + /** + Returns the ListJob's redirection URL. This will be invalid if there + was no redirection. + @return the redirection url + + @short Returns the ListJob's redirection URL. + */ + public native KURL redirectionURL(); + /** + Do not apply any KIOSK restrictions to this job. + @short Do not apply any KIOSK restrictions to this job. + */ + public native void setUnrestricted(boolean unrestricted); + protected native void slotFinished(); + // void slotMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED + protected native void slotResult(Job job); + // void slotListEntries(const TDEIO::UDSEntryList& arg1); >>>> NOT CONVERTED + protected native void slotRedirection(KURL url); + // void gotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED +} -- cgit v1.2.3