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/QDataStream.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/QDataStream.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QDataStream.java | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QDataStream.java b/qtjava/javalib/org/kde/qt/QDataStream.java new file mode 100644 index 00000000..af0f1b43 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QDataStream.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QDataStream implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QDataStream(Class dummy){} + + public static final int BigEndian = 0; + public static final int LittleEndian = 1; + + public QDataStream() { + newQDataStream(); + } + private native void newQDataStream(); + public QDataStream(QIODeviceInterface arg1) { + newQDataStream(arg1); + } + private native void newQDataStream(QIODeviceInterface arg1); + public QDataStream(byte[] arg1, int mode) { + newQDataStream(arg1,mode); + } + private native void newQDataStream(byte[] arg1, int mode); + public native QIODeviceInterface device(); + public native void setDevice(QIODeviceInterface arg1); + public native void unsetDevice(); + public native boolean atEnd(); + public native boolean eof(); + public native int byteOrder(); + public native void setByteOrder(int arg1); + public native boolean isPrintableData(); + public native void setPrintableData(boolean arg1); + public native int version(); + public native void setVersion(int arg1); + public native QDataStream op_read(char i); + public native QDataStream op_read(short i); + public native QDataStream op_read(int i); + // QDataStream& op_read(Q_INT64& arg1); >>>> NOT CONVERTED + // QDataStream& op_read(Q_UINT64& arg1); >>>> NOT CONVERTED + public native QDataStream op_read(long i); + public native QDataStream op_read(float f); + public native QDataStream op_read(double f); + public native QDataStream op_read(String str); + public native QDataStream op_write(char i); + public native QDataStream op_write(short i); + public native QDataStream op_write(int i); + public native QDataStream op_write(long i); + public native QDataStream op_write(float f); + public native QDataStream op_write(double f); + public native QDataStream op_write(String str); + public native QDataStream readBytes(String arg1, int len); + public native QDataStream readRawBytes(String arg1, int len); + public native QDataStream writeBytes(String arg1, int len); + public native QDataStream writeRawBytes(String arg1, int len); + /** 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(); +} |