summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSocket.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QSocket.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSocket.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QSocket.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSocket.java b/qtjava/javalib/org/kde/qt/QSocket.java
index 36967507..e5f69f6a 100644
--- a/qtjava/javalib/org/kde/qt/QSocket.java
+++ b/qtjava/javalib/org/kde/qt/QSocket.java
@@ -4,10 +4,10 @@ package org.kde.qt;
import org.kde.qt.Qt;
/**
- See {@link QSocketSignals} for signals emitted by QSocket
+ See {@link TQSocketSignals} for signals emitted by TQSocket
*/
-public class QSocket extends QObject implements QIODeviceInterface {
- protected QSocket(Class dummy){super((Class) null);}
+public class TQSocket extends TQObject implements TQIODeviceInterface {
+ protected TQSocket(Class dummy){super((Class) null);}
public static final int ErrConnectionRefused = 0;
public static final int ErrHostNotFound = 1;
public static final int ErrSocketRead = 2;
@@ -19,28 +19,28 @@ public class QSocket extends QObject implements QIODeviceInterface {
public static final int Closing = 4;
public static final int Connection = Connected;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QSocket(QObject parent, String name) {
+ public TQSocket(TQObject parent, String name) {
super((Class) null);
- newQSocket(parent,name);
+ newTQSocket(parent,name);
}
- private native void newQSocket(QObject parent, String name);
- public QSocket(QObject parent) {
+ private native void newTQSocket(TQObject parent, String name);
+ public TQSocket(TQObject parent) {
super((Class) null);
- newQSocket(parent);
+ newTQSocket(parent);
}
- private native void newQSocket(QObject parent);
- public QSocket() {
+ private native void newTQSocket(TQObject parent);
+ public TQSocket() {
super((Class) null);
- newQSocket();
+ newTQSocket();
}
- private native void newQSocket();
+ private native void newTQSocket();
public native int state();
public native int socket();
public native void setSocket(int arg1);
- public native QSocketDevice socketDevice();
- public native void setSocketDevice(QSocketDevice arg1);
+ public native TQSocketDevice socketDevice();
+ public native void setSocketDevice(TQSocketDevice arg1);
public native void connectToHost(String host, short port);
public native String peerName();
public native boolean open(int mode);
@@ -65,8 +65,8 @@ public class QSocket extends QObject implements QIODeviceInterface {
public native String readLine();
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 void setReadBufferSize(long arg1);
public native long readBufferSize();
public static native String tr(String arg1, String arg2);