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/QFile.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/QFile.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QFile.java | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QFile.java b/qtjava/javalib/org/kde/qt/QFile.java new file mode 100644 index 00000000..8364d275 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QFile.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QFile extends QIODevice { + protected QFile(Class dummy){super((Class) null);} + public QFile() { + super((Class) null); + newQFile(); + } + private native void newQFile(); + public QFile(String name) { + super((Class) null); + newQFile(name); + } + private native void newQFile(String name); + public native String name(); + public native void setName(String name); + public native boolean exists(); + public native boolean remove(); + public native boolean open(int arg1); + public native boolean open(int arg1, int arg2); + public native void close(); + public native void flush(); + public native long size(); + public native long at(); + public native boolean at(long arg1); + public native boolean atEnd(); + public native long readBlock(StringBuffer data, long len); + public native long writeBlock(String data, long len); + public native long writeBlock(byte[] data); + public native long readLine(String data, long maxlen); + public native long readLine(StringBuffer arg1, long maxlen); + public native int getch(); + public native int putch(int arg1); + public native int ungetch(int arg1); + public native int handle(); + public native String errorString(); + public static native String encodeName(String fileName); + public static native String decodeName(String localFileName); + public static native boolean exists(String fileName); + public static native boolean remove(String fileName); + protected native void setErrorString(String arg1); + /** 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(); +} |