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/QHttp.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QHttp.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QHttp.java | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/qtjava/javalib/org/kde/qt/QHttp.java b/qtjava/javalib/org/kde/qt/QHttp.java index ff15f879..a74ea7fa 100644 --- a/qtjava/javalib/org/kde/qt/QHttp.java +++ b/qtjava/javalib/org/kde/qt/QHttp.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QHttpSignals} for signals emitted by QHttp + See {@link TQHttpSignals} for signals emitted by TQHttp */ -public class QHttp extends QNetworkProtocol { - protected QHttp(Class dummy){super((Class) null);} +public class TQHttp extends TQNetworkProtocol { + protected TQHttp(Class dummy){super((Class) null);} public static final int Unconnected = 0; public static final int HostLookup = 1; public static final int Connecting = 2; @@ -25,66 +25,66 @@ public class QHttp extends QNetworkProtocol { public static final int WrongContentLength = 6; public static final int Aborted = 7; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QHttp() { + public TQHttp() { super((Class) null); - newQHttp(); + newTQHttp(); } - private native void newQHttp(); - public QHttp(QObject parent, String name) { + private native void newTQHttp(); + public TQHttp(TQObject parent, String name) { super((Class) null); - newQHttp(parent,name); + newTQHttp(parent,name); } - private native void newQHttp(QObject parent, String name); - public QHttp(QObject parent) { + private native void newTQHttp(TQObject parent, String name); + public TQHttp(TQObject parent) { super((Class) null); - newQHttp(parent); + newTQHttp(parent); } - private native void newQHttp(QObject parent); - public QHttp(String hostname, short port, QObject parent, String name) { + private native void newTQHttp(TQObject parent); + public TQHttp(String hostname, short port, TQObject parent, String name) { super((Class) null); - newQHttp(hostname,port,parent,name); + newTQHttp(hostname,port,parent,name); } - private native void newQHttp(String hostname, short port, QObject parent, String name); - public QHttp(String hostname, short port, QObject parent) { + private native void newTQHttp(String hostname, short port, TQObject parent, String name); + public TQHttp(String hostname, short port, TQObject parent) { super((Class) null); - newQHttp(hostname,port,parent); + newTQHttp(hostname,port,parent); } - private native void newQHttp(String hostname, short port, QObject parent); - public QHttp(String hostname, short port) { + private native void newTQHttp(String hostname, short port, TQObject parent); + public TQHttp(String hostname, short port) { super((Class) null); - newQHttp(hostname,port); + newTQHttp(hostname,port); } - private native void newQHttp(String hostname, short port); - public QHttp(String hostname) { + private native void newTQHttp(String hostname, short port); + public TQHttp(String hostname) { super((Class) null); - newQHttp(hostname); + newTQHttp(hostname); } - private native void newQHttp(String hostname); + private native void newTQHttp(String hostname); public native int supportedOperations(); public native int setHost(String hostname, short port); public native int setHost(String hostname); - public native int get(String path, QIODeviceInterface to); + public native int get(String path, TQIODeviceInterface to); public native int get(String path); - public native int post(String path, QIODeviceInterface data, QIODeviceInterface to); - public native int post(String path, QIODeviceInterface data); - public native int post(String path, byte[] data, QIODeviceInterface to); + public native int post(String path, TQIODeviceInterface data, TQIODeviceInterface to); + public native int post(String path, TQIODeviceInterface data); + public native int post(String path, byte[] data, TQIODeviceInterface to); public native int post(String path, byte[] data); public native int head(String path); - public native int request(QHttpRequestHeader header, QIODeviceInterface device, QIODeviceInterface to); - public native int request(QHttpRequestHeader header, QIODeviceInterface device); - public native int request(QHttpRequestHeader header); - public native int request(QHttpRequestHeader header, byte[] data, QIODeviceInterface to); - public native int request(QHttpRequestHeader header, byte[] data); + public native int request(TQHttpRequestHeader header, TQIODeviceInterface device, TQIODeviceInterface to); + public native int request(TQHttpRequestHeader header, TQIODeviceInterface device); + public native int request(TQHttpRequestHeader header); + public native int request(TQHttpRequestHeader header, byte[] data, TQIODeviceInterface to); + public native int request(TQHttpRequestHeader header, byte[] data); public native int closeConnection(); public native long bytesAvailable(); public native long readBlock(StringBuffer data, long maxlen); public native byte[] readAll(); public native int currentId(); - public native QIODeviceInterface currentSourceDevice(); - public native QIODeviceInterface currentDestinationDevice(); - public native QHttpRequestHeader currentRequest(); + public native TQIODeviceInterface currentSourceDevice(); + public native TQIODeviceInterface currentDestinationDevice(); + public native TQHttpRequestHeader currentRequest(); public native boolean hasPendingRequests(); public native void clearPendingRequests(); public native int state(); @@ -93,9 +93,9 @@ public class QHttp extends QNetworkProtocol { public native void abort(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void operationGet(QNetworkOperation op); - protected native void operationPut(QNetworkOperation op); - protected native void timerEvent(QTimerEvent arg1); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + protected native void timerEvent(TQTimerEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |