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.
142 lines
6.1 KiB
142 lines
6.1 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.qt;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
15 years ago
|
import java.util.ArrayList;
|
||
|
|
||
13 years ago
|
public class TQDir implements QtSupport {
|
||
15 years ago
|
private long _qt;
|
||
|
private boolean _allocatedInJavaWorld = true;
|
||
13 years ago
|
protected TQDir(Class dummy){}
|
||
15 years ago
|
|
||
|
public static final int Dirs = 0x001;
|
||
|
public static final int Files = 0x002;
|
||
|
public static final int Drives = 0x004;
|
||
|
public static final int NoSymLinks = 0x008;
|
||
|
public static final int All = 0x007;
|
||
|
public static final int TypeMask = 0x00F;
|
||
|
public static final int Readable = 0x010;
|
||
|
public static final int Writable = 0x020;
|
||
|
public static final int Executable = 0x040;
|
||
|
public static final int RWEMask = 0x070;
|
||
|
public static final int Modified = 0x080;
|
||
|
public static final int Hidden = 0x100;
|
||
|
public static final int System = 0x200;
|
||
|
public static final int AccessMask = 0x3F0;
|
||
|
public static final int DefaultFilter = -1;
|
||
|
|
||
|
public static final int Name = 0x00;
|
||
|
public static final int Time = 0x01;
|
||
|
public static final int Size = 0x02;
|
||
|
public static final int Unsorted = 0x03;
|
||
|
public static final int SortByMask = 0x03;
|
||
|
public static final int DirsFirst = 0x04;
|
||
|
public static final int Reversed = 0x08;
|
||
|
public static final int IgnoreCase = 0x10;
|
||
|
public static final int LocaleAware = 0x20;
|
||
|
public static final int DefaultSort = -1;
|
||
|
|
||
13 years ago
|
public TQDir() {
|
||
|
newTQDir();
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQDir();
|
||
|
public TQDir(String path, String nameFilter, int sortSpec, int filterSpec) {
|
||
|
newTQDir(path,nameFilter,sortSpec,filterSpec);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQDir(String path, String nameFilter, int sortSpec, int filterSpec);
|
||
|
public TQDir(String path, String nameFilter, int sortSpec) {
|
||
|
newTQDir(path,nameFilter,sortSpec);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQDir(String path, String nameFilter, int sortSpec);
|
||
|
public TQDir(String path, String nameFilter) {
|
||
|
newTQDir(path,nameFilter);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQDir(String path, String nameFilter);
|
||
|
public TQDir(String path) {
|
||
|
newTQDir(path);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQDir(String path);
|
||
|
public TQDir(TQDir arg1) {
|
||
|
newTQDir(arg1);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQDir(TQDir arg1);
|
||
15 years ago
|
public native void setPath(String path);
|
||
|
public native String path();
|
||
|
public native String absPath();
|
||
|
public native String canonicalPath();
|
||
|
public native String dirName();
|
||
|
public native String filePath(String fileName, boolean acceptAbsPath);
|
||
|
public native String filePath(String fileName);
|
||
|
public native String absFilePath(String fileName, boolean acceptAbsPath);
|
||
|
public native String absFilePath(String fileName);
|
||
|
public native boolean cd(String dirName, boolean acceptAbsPath);
|
||
|
public native boolean cd(String dirName);
|
||
|
public native boolean cdUp();
|
||
|
public native String nameFilter();
|
||
|
public native void setNameFilter(String nameFilter);
|
||
|
public native int filter();
|
||
|
public native void setFilter(int filterSpec);
|
||
|
public native int sorting();
|
||
|
public native void setSorting(int sortSpec);
|
||
|
public native boolean matchAllDirs();
|
||
|
public native void setMatchAllDirs(boolean arg1);
|
||
|
public native int count();
|
||
|
public native String op_at(int arg1);
|
||
|
public native ArrayList encodedEntryList(int filterSpec, int sortSpec);
|
||
|
public native ArrayList encodedEntryList(int filterSpec);
|
||
|
public native ArrayList encodedEntryList();
|
||
|
public native ArrayList encodedEntryList(String nameFilter, int filterSpec, int sortSpec);
|
||
|
public native ArrayList encodedEntryList(String nameFilter, int filterSpec);
|
||
|
public native ArrayList encodedEntryList(String nameFilter);
|
||
|
public native ArrayList entryList(int filterSpec, int sortSpec);
|
||
|
public native ArrayList entryList(int filterSpec);
|
||
|
public native ArrayList entryList();
|
||
|
public native ArrayList entryList(String nameFilter, int filterSpec, int sortSpec);
|
||
|
public native ArrayList entryList(String nameFilter, int filterSpec);
|
||
|
public native ArrayList entryList(String nameFilter);
|
||
13 years ago
|
// const TQFileInfoList* entryInfoList(int arg1,int arg2); >>>> NOT CONVERTED
|
||
|
// const TQFileInfoList* entryInfoList(int arg1); >>>> NOT CONVERTED
|
||
|
// const TQFileInfoList* entryInfoList(); >>>> NOT CONVERTED
|
||
|
// const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2,int arg3); >>>> NOT CONVERTED
|
||
|
// const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2); >>>> NOT CONVERTED
|
||
|
// const TQFileInfoList* entryInfoList(const TQString& arg1); >>>> NOT CONVERTED
|
||
15 years ago
|
public native boolean mkdir(String dirName, boolean acceptAbsPath);
|
||
|
public native boolean mkdir(String dirName);
|
||
|
public native boolean rmdir(String dirName, boolean acceptAbsPath);
|
||
|
public native boolean rmdir(String dirName);
|
||
|
public native boolean isReadable();
|
||
|
public native boolean exists();
|
||
|
public native boolean isRoot();
|
||
|
public native boolean isRelative();
|
||
|
public native void convertToAbs();
|
||
13 years ago
|
public native boolean op_equals(TQDir arg1);
|
||
|
public native boolean op_not_equals(TQDir arg1);
|
||
15 years ago
|
public native boolean remove(String fileName, boolean acceptAbsPath);
|
||
|
public native boolean remove(String fileName);
|
||
|
public native boolean rename(String name, String newName, boolean acceptAbsPaths);
|
||
|
public native boolean rename(String name, String newName);
|
||
|
public native boolean exists(String name, boolean acceptAbsPath);
|
||
|
public native boolean exists(String name);
|
||
|
public native void refresh();
|
||
|
public static native String convertSeparators(String pathName);
|
||
13 years ago
|
// const TQFileInfoList* drives(); >>>> NOT CONVERTED
|
||
15 years ago
|
public static native char separator();
|
||
|
public static native boolean setCurrent(String path);
|
||
13 years ago
|
public static native TQDir current();
|
||
|
public static native TQDir home();
|
||
|
public static native TQDir root();
|
||
15 years ago
|
public static native String currentDirPath();
|
||
|
public static native String homeDirPath();
|
||
|
public static native String rootDirPath();
|
||
|
public static native boolean match(String[] filters, String fileName);
|
||
|
public static native boolean match(String filter, String fileName);
|
||
|
public static native String cleanDirPath(String dirPath);
|
||
|
public static native boolean isRelativePath(String path);
|
||
|
/** Deletes the wrapped C++ instance */
|
||
|
protected native void finalize() throws InternalError;
|
||
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
||
|
public native void dispose();
|
||
|
/** Has the wrapped C++ instance been deleted? */
|
||
|
public native boolean isDisposed();
|
||
|
}
|