summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFileInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QFileInfo.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QFileInfo.java88
1 files changed, 88 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QFileInfo.java b/qtjava/javalib/org/kde/qt/QFileInfo.java
new file mode 100644
index 00000000..73df9f3d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFileInfo.java
@@ -0,0 +1,88 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.Calendar;
+
+public class QFileInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFileInfo(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 QFileInfo() {
+ newQFileInfo();
+ }
+ private native void newQFileInfo();
+ public QFileInfo(String file) {
+ newQFileInfo(file);
+ }
+ private native void newQFileInfo(String file);
+ public QFileInfo(QFile arg1) {
+ newQFileInfo(arg1);
+ }
+ private native void newQFileInfo(QFile arg1);
+ public QFileInfo(QDir arg1, String fileName) {
+ newQFileInfo(arg1,fileName);
+ }
+ private native void newQFileInfo(QDir arg1, String fileName);
+ public QFileInfo(QFileInfo arg1) {
+ newQFileInfo(arg1);
+ }
+ private native void newQFileInfo(QFileInfo arg1);
+ public native void setFile(String file);
+ public native void setFile(QFile arg1);
+ public native void setFile(QDir 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 QDir dir(boolean absPath);
+ public native QDir 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();
+}