diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QUrlInfo.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QUrlInfo.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QUrlInfo.java | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QUrlInfo.java b/qtjava/javalib/org/kde/qt/QUrlInfo.java new file mode 100644 index 00000000..6d577eb9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QUrlInfo.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.Calendar; + +public class QUrlInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QUrlInfo(Class dummy){} + + public static final int ReadOwner = 00400; + public static final int WriteOwner = 00200; + public static final int ExeOwner = 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 QUrlInfo() { + newQUrlInfo(); + } + private native void newQUrlInfo(); + public QUrlInfo(QUrlOperator path, String file) { + newQUrlInfo(path,file); + } + private native void newQUrlInfo(QUrlOperator path, String file); + public QUrlInfo(QUrlInfo ui) { + newQUrlInfo(ui); + } + private native void newQUrlInfo(QUrlInfo ui); + public QUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { + newQUrlInfo(name,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); + } + private native void newQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); + public QUrlInfo(QUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { + newQUrlInfo(url,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); + } + private native void newQUrlInfo(QUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); + public native void setName(String name); + public native void setDir(boolean b); + public native void setFile(boolean b); + public native void setSymLink(boolean b); + public native void setOwner(String s); + public native void setGroup(String s); + public native void setSize(long size); + public native void setWritable(boolean b); + public native void setReadable(boolean b); + public native void setPermissions(int p); + public native void setLastModified(Calendar dt); + public native boolean isValid(); + public native String name(); + public native int permissions(); + public native String owner(); + public native String group(); + public native long size(); + public native Calendar lastModified(); + public native Calendar lastRead(); + public native boolean isDir(); + public native boolean isFile(); + public native boolean isSymLink(); + public native boolean isWritable(); + public native boolean isReadable(); + public native boolean isExecutable(); + public native boolean op_equals(QUrlInfo i); + public static native boolean greaterThan(QUrlInfo i1, QUrlInfo i2, int sortBy); + public static native boolean lessThan(QUrlInfo i1, QUrlInfo i2, int sortBy); + public static native boolean equal(QUrlInfo i1, QUrlInfo i2, int sortBy); + /** 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(); +} |