diff options
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java b/qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java new file mode 100644 index 00000000..0fb3977f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.Calendar; + +public class TQFileInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFileInfo(Class dummy){} + + public static final int ReadOwner = 04000; + public static final int WriteOwner = 02000; + public static final int ExeOwner = 01000; + public static final int ReadUser = 00400; + public static final int WriteUser = 00200; + public static final int ExeUser = 00100; + public static final int ReadGroup = 00040; + public static final int WriteGroup = 00020; + public static final int ExeGroup = 00010; + public static final int ReadOther = 00004; + public static final int WriteOther = 00002; + public static final int ExeOther = 00001; + + public TQFileInfo() { + newTQFileInfo(); + } + private native void newTQFileInfo(); + public TQFileInfo(String file) { + newTQFileInfo(file); + } + private native void newTQFileInfo(String file); + public TQFileInfo(TQFile arg1) { + newTQFileInfo(arg1); + } + private native void newTQFileInfo(TQFile arg1); + public TQFileInfo(TQDir arg1, String fileName) { + newTQFileInfo(arg1,fileName); + } + private native void newTQFileInfo(TQDir arg1, String fileName); + public TQFileInfo(TQFileInfo arg1) { + newTQFileInfo(arg1); + } + private native void newTQFileInfo(TQFileInfo arg1); + public native void setFile(String file); + public native void setFile(TQFile arg1); + public native void setFile(TQDir arg1, String fileName); + public native boolean exists(); + public native void refresh(); + public native boolean caching(); + public native void setCaching(boolean arg1); + public native String filePath(); + public native String fileName(); + public native String absFilePath(); + public native String baseName(boolean complete); + public native String baseName(); + public native String extension(boolean complete); + public native String extension(); + public native String dirPath(boolean absPath); + public native String dirPath(); + public native TQDir dir(boolean absPath); + public native TQDir dir(); + public native boolean isReadable(); + public native boolean isWritable(); + public native boolean isExecutable(); + public native boolean isHidden(); + public native boolean isRelative(); + public native boolean convertToAbs(); + public native boolean isFile(); + public native boolean isDir(); + public native boolean isSymLink(); + public native String readLink(); + public native String owner(); + public native int ownerId(); + public native String group(); + public native int groupId(); + public native boolean permission(int permissionSpec); + public native long size(); + public native Calendar created(); + public native Calendar lastModified(); + public native Calendar lastRead(); + /** 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(); +} |