From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/javalib/org/kde/qt/QDataStream.java | 66 +++++++++++++++--------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'qtjava/javalib/org/kde/qt/QDataStream.java') diff --git a/qtjava/javalib/org/kde/qt/QDataStream.java b/qtjava/javalib/org/kde/qt/QDataStream.java index af0f1b43..e171c3e9 100644 --- a/qtjava/javalib/org/kde/qt/QDataStream.java +++ b/qtjava/javalib/org/kde/qt/QDataStream.java @@ -3,28 +3,28 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDataStream implements QtSupport { +public class TQDataStream implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QDataStream(Class dummy){} + protected TQDataStream(Class dummy){} public static final int BigEndian = 0; public static final int LittleEndian = 1; - public QDataStream() { - newQDataStream(); + public TQDataStream() { + newTQDataStream(); } - private native void newQDataStream(); - public QDataStream(QIODeviceInterface arg1) { - newQDataStream(arg1); + private native void newTQDataStream(); + public TQDataStream(TQIODeviceInterface arg1) { + newTQDataStream(arg1); } - private native void newQDataStream(QIODeviceInterface arg1); - public QDataStream(byte[] arg1, int mode) { - newQDataStream(arg1,mode); + private native void newTQDataStream(TQIODeviceInterface arg1); + public TQDataStream(byte[] arg1, int mode) { + newTQDataStream(arg1,mode); } - private native void newQDataStream(byte[] arg1, int mode); - public native QIODeviceInterface device(); - public native void setDevice(QIODeviceInterface arg1); + private native void newTQDataStream(byte[] arg1, int mode); + public native TQIODeviceInterface device(); + public native void setDevice(TQIODeviceInterface arg1); public native void unsetDevice(); public native boolean atEnd(); public native boolean eof(); @@ -34,26 +34,26 @@ public class QDataStream implements QtSupport { 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); + public native TQDataStream op_read(char i); + public native TQDataStream op_read(short i); + public native TQDataStream op_read(int i); + // TQDataStream& op_read(Q_INT64& arg1); >>>> NOT CONVERTED + // TQDataStream& op_read(Q_UINT64& arg1); >>>> NOT CONVERTED + public native TQDataStream op_read(long i); + public native TQDataStream op_read(float f); + public native TQDataStream op_read(double f); + public native TQDataStream op_read(String str); + public native TQDataStream op_write(char i); + public native TQDataStream op_write(short i); + public native TQDataStream op_write(int i); + public native TQDataStream op_write(long i); + public native TQDataStream op_write(float f); + public native TQDataStream op_write(double f); + public native TQDataStream op_write(String str); + public native TQDataStream readBytes(String arg1, int len); + public native TQDataStream readRawBytes(String arg1, int len); + public native TQDataStream writeBytes(String arg1, int len); + public native TQDataStream writeRawBytes(String arg1, int len); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ -- cgit v1.2.1