diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QTextStream.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QTextStream.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QTextStream.java | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/qtjava/javalib/org/kde/qt/QTextStream.java b/qtjava/javalib/org/kde/qt/QTextStream.java index 0a27feec..42bb5ae2 100644 --- a/qtjava/javalib/org/kde/qt/QTextStream.java +++ b/qtjava/javalib/org/kde/qt/QTextStream.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextStream implements QtSupport { +public class TQTextStream implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTextStream(Class dummy){} + protected TQTextStream(Class dummy){} public static final int skipws = 0x0001; public static final int left = 0x0002; @@ -32,51 +32,51 @@ public class QTextStream implements QtSupport { public static final int UnicodeUTF8 = 6; public native void setEncoding(int arg1); - public native void setCodec(QTextCodec arg1); - public native QTextCodec codec(); - public QTextStream() { - newQTextStream(); + public native void setCodec(TQTextCodec arg1); + public native TQTextCodec codec(); + public TQTextStream() { + newTQTextStream(); } - private native void newQTextStream(); - public QTextStream(QIODeviceInterface arg1) { - newQTextStream(arg1); + private native void newTQTextStream(); + public TQTextStream(TQIODeviceInterface arg1) { + newTQTextStream(arg1); } - private native void newQTextStream(QIODeviceInterface arg1); - public QTextStream(StringBuffer arg1, int mode) { - newQTextStream(arg1,mode); + private native void newTQTextStream(TQIODeviceInterface arg1); + public TQTextStream(StringBuffer arg1, int mode) { + newTQTextStream(arg1,mode); } - private native void newQTextStream(StringBuffer arg1, int mode); - public QTextStream(byte[] arg1, int mode) { - newQTextStream(arg1,mode); + private native void newTQTextStream(StringBuffer arg1, int mode); + public TQTextStream(byte[] arg1, int mode) { + newTQTextStream(arg1,mode); } - private native void newQTextStream(byte[] arg1, int mode); - public native QIODeviceInterface device(); - public native void setDevice(QIODeviceInterface arg1); + private native void newTQTextStream(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(); - public native QTextStream op_read(char arg1); - // QTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED - public native QTextStream op_read(short arg1); - // QTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED - public native QTextStream op_read(int arg1); - // QTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED - public native QTextStream op_read(long arg1); - public native QTextStream op_read(float arg1); - public native QTextStream op_read(double arg1); - public native QTextStream op_read(String arg1); - public native QTextStream op_read(StringBuffer arg1); - public native QTextStream op_write(char arg1); - public native QTextStream op_write(short arg1); - // QTextStream& op_write(signed arg1); >>>> NOT CONVERTED - public native QTextStream op_write(int arg1); - public native QTextStream op_write(long arg1); - public native QTextStream op_write(float arg1); - public native QTextStream op_write(double arg1); - public native QTextStream op_write(String arg1); - // QTextStream& op_write(void* arg1); >>>> NOT CONVERTED - public native QTextStream readRawBytes(String arg1, int len); - public native QTextStream writeRawBytes(String arg1, int len); + public native TQTextStream op_read(char arg1); + // TQTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(short arg1); + // TQTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(int arg1); + // TQTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(long arg1); + public native TQTextStream op_read(float arg1); + public native TQTextStream op_read(double arg1); + public native TQTextStream op_read(String arg1); + public native TQTextStream op_read(StringBuffer arg1); + public native TQTextStream op_write(char arg1); + public native TQTextStream op_write(short arg1); + // TQTextStream& op_write(signed arg1); >>>> NOT CONVERTED + public native TQTextStream op_write(int arg1); + public native TQTextStream op_write(long arg1); + public native TQTextStream op_write(float arg1); + public native TQTextStream op_write(double arg1); + public native TQTextStream op_write(String arg1); + // TQTextStream& op_write(void* arg1); >>>> NOT CONVERTED + public native TQTextStream readRawBytes(String arg1, int len); + public native TQTextStream writeRawBytes(String arg1, int len); public native String readLine(); public native String read(); public native void skipWhiteSpace(); |