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/QFtp.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QFtp.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QFtp.java | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/qtjava/javalib/org/kde/qt/QFtp.java b/qtjava/javalib/org/kde/qt/QFtp.java index 4ed29425..b6d7d843 100644 --- a/qtjava/javalib/org/kde/qt/QFtp.java +++ b/qtjava/javalib/org/kde/qt/QFtp.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QFtpSignals} for signals emitted by QFtp + See {@link TQFtpSignals} for signals emitted by TQFtp */ -public class QFtp extends QNetworkProtocol { - protected QFtp(Class dummy){super((Class) null);} +public class TQFtp extends TQNetworkProtocol { + protected TQFtp(Class dummy){super((Class) null);} public static final int Unconnected = 0; public static final int HostLookup = 1; public static final int Connecting = 2; @@ -35,23 +35,23 @@ public class QFtp extends QNetworkProtocol { public static final int Rename = 11; public static final int RawCommand = 12; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QFtp() { + public TQFtp() { super((Class) null); - newQFtp(); + newTQFtp(); } - private native void newQFtp(); - public QFtp(QObject parent, String name) { + private native void newTQFtp(); + public TQFtp(TQObject parent, String name) { super((Class) null); - newQFtp(parent,name); + newTQFtp(parent,name); } - private native void newQFtp(QObject parent, String name); - public QFtp(QObject parent) { + private native void newTQFtp(TQObject parent, String name); + public TQFtp(TQObject parent) { super((Class) null); - newQFtp(parent); + newTQFtp(parent); } - private native void newQFtp(QObject parent); + private native void newTQFtp(TQObject parent); public native int supportedOperations(); public native int connectToHost(String host, short port); public native int connectToHost(String host); @@ -62,10 +62,10 @@ public class QFtp extends QNetworkProtocol { public native int list(String dir); public native int list(); public native int cd(String dir); - public native int get(String file, QIODeviceInterface dev); + public native int get(String file, TQIODeviceInterface dev); public native int get(String file); public native int put(byte[] data, String file); - public native int put(QIODeviceInterface dev, String file); + public native int put(TQIODeviceInterface dev, String file); public native int remove(String file); public native int mkdir(String dir); public native int rmdir(String dir); @@ -75,7 +75,7 @@ public class QFtp extends QNetworkProtocol { public native long readBlock(StringBuffer data, long maxlen); public native byte[] readAll(); public native int currentId(); - public native QIODeviceInterface currentDevice(); + public native TQIODeviceInterface currentDevice(); public native int currentCommand(); public native boolean hasPendingCommands(); public native void clearPendingCommands(); @@ -85,13 +85,13 @@ public class QFtp 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 parseDir(String buffer, QUrlInfo info); - protected native void operationListChildren(QNetworkOperation op); - protected native void operationMkDir(QNetworkOperation op); - protected native void operationRemove(QNetworkOperation op); - protected native void operationRename(QNetworkOperation op); - protected native void operationGet(QNetworkOperation op); - protected native void operationPut(QNetworkOperation op); + protected native void parseDir(String buffer, TQUrlInfo info); + protected native void operationListChildren(TQNetworkOperation op); + protected native void operationMkDir(TQNetworkOperation op); + protected native void operationRemove(TQNetworkOperation op); + protected native void operationRename(TQNetworkOperation op); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); protected native void hostFound(); protected native void connected(); protected native void closed(); |