diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSocketDevice.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QSocketDevice.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSocketDevice.java b/qtjava/javalib/org/kde/qt/QSocketDevice.java index c3e97910..59a5f22a 100644 --- a/qtjava/javalib/org/kde/qt/QSocketDevice.java +++ b/qtjava/javalib/org/kde/qt/QSocketDevice.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSocketDevice extends QIODevice { - protected QSocketDevice(Class dummy){super((Class) null);} +public class TQSocketDevice extends TQIODevice { + protected TQSocketDevice(Class dummy){super((Class) null);} public static final int Stream = 0; public static final int Datagram = 1; @@ -24,26 +24,26 @@ public class QSocketDevice extends QIODevice { public static final int NetworkFailure = 8; public static final int UnknownError = 9; - public QSocketDevice(int type) { + public TQSocketDevice(int type) { super((Class) null); - newQSocketDevice(type); + newTQSocketDevice(type); } - private native void newQSocketDevice(int type); - public QSocketDevice() { + private native void newTQSocketDevice(int type); + public TQSocketDevice() { super((Class) null); - newQSocketDevice(); + newTQSocketDevice(); } - private native void newQSocketDevice(); - public QSocketDevice(int type, int protocol, int dummy) { + private native void newTQSocketDevice(); + public TQSocketDevice(int type, int protocol, int dummy) { super((Class) null); - newQSocketDevice(type,protocol,dummy); + newTQSocketDevice(type,protocol,dummy); } - private native void newQSocketDevice(int type, int protocol, int dummy); - public QSocketDevice(int socket, int type) { + private native void newTQSocketDevice(int type, int protocol, int dummy); + public TQSocketDevice(int socket, int type) { super((Class) null); - newQSocketDevice(socket,type); + newTQSocketDevice(socket,type); } - private native void newQSocketDevice(int socket, int type); + private native void newTQSocketDevice(int socket, int type); public native boolean isValid(); public native int type(); public native int protocol(); @@ -64,8 +64,8 @@ public class QSocketDevice extends QIODevice { public native void setReceiveBufferSize(int arg1); public native int sendBufferSize(); public native void setSendBufferSize(int arg1); - public native boolean connect(QHostAddress arg1, short arg2); - public native boolean bind(QHostAddress arg1, short arg2); + public native boolean connect(TQHostAddress arg1, short arg2); + public native boolean bind(TQHostAddress arg1, short arg2); public native boolean listen(int backlog); public native int accept(); public native long bytesAvailable(); @@ -73,14 +73,14 @@ public class QSocketDevice extends QIODevice { public native long waitForMore(int msecs); public native long readBlock(StringBuffer data, long maxlen); public native long writeBlock(String data, long len); - public native long writeBlock(String data, long len, QHostAddress host, short port); + public native long writeBlock(String data, long len, TQHostAddress host, short port); public native int getch(); public native int putch(int arg1); public native int ungetch(int arg1); public native short port(); public native short peerPort(); - public native QHostAddress address(); - public native QHostAddress peerAddress(); + public native TQHostAddress address(); + public native TQHostAddress peerAddress(); public native int error(); protected native void setError(int err); /** Deletes the wrapped C++ instance */ |