summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KIO.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KIO.java')
-rw-r--r--kdejava/koala/org/kde/koala/KIO.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/kdejava/koala/org/kde/koala/KIO.java b/kdejava/koala/org/kde/koala/KIO.java
index bca2a331..5e9c1545 100644
--- a/kdejava/koala/org/kde/koala/KIO.java
+++ b/kdejava/koala/org/kde/koala/KIO.java
@@ -2,13 +2,13 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QDomDocument;
-import org.kde.qt.QMimeSourceInterface;
+import org.kde.qt.TQDomDocument;
+import org.kde.qt.TQMimeSourceInterface;
import org.kde.qt.QtSupport;
-import org.kde.qt.QDataStream;
+import org.kde.qt.TQDataStream;
import java.util.ArrayList;
-import org.kde.qt.QMimeSource;
-import org.kde.qt.QWidget;
+import org.kde.qt.TQMimeSource;
+import org.kde.qt.TQWidget;
/**
@@ -139,7 +139,7 @@ public class KIO {
public static final int ERR_DISK_FULL = 61;
public static final int ERR_IDENTICAL_FILES = 62;
public static final int ERR_SLAVE_DEFINED = 63;
- public static final int ERR_UPGRADE_REQUIRED = 64;
+ public static final int ERR_UPGRADE_RETQUIRED = 64;
public static final int ERR_POST_DENIED = 65;
/**
@@ -245,7 +245,7 @@ public class KIO {
public static final int MSG_RESUME = 108;
public static final int MSG_SLAVE_STATUS = 109;
public static final int MSG_SLAVE_ACK = 110;
- public static final int MSG_NET_REQUEST = 111;
+ public static final int MSG_NET_RETQUEST = 111;
public static final int MSG_NET_DROP = 112;
public static final int MSG_NEED_SUBURL_DATA = 113;
public static final int MSG_CANRESUME = 114;
@@ -287,8 +287,8 @@ public class KIO {
public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc, long sizeDest);
public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc);
public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath);
- public static native QDataStream op_write(QDataStream s, AuthInfo a);
- public static native QDataStream op_read(QDataStream s, AuthInfo a);
+ public static native TQDataStream op_write(TQDataStream s, AuthInfo a);
+ public static native TQDataStream op_read(TQDataStream s, AuthInfo a);
/**
Converts <code>size</code> from bytes to the string representation.
@param size size in bytes
@@ -548,8 +548,8 @@ public class KIO {
@short Creates a new DavJob that issues a PROPFIND command.
*/
- public static native DavJob davPropFind(KURL url, QDomDocument properties, String depth, boolean showProgressInfo);
- public static native DavJob davPropFind(KURL url, QDomDocument properties, String depth);
+ public static native DavJob davPropFind(KURL url, TQDomDocument properties, String depth, boolean showProgressInfo);
+ public static native DavJob davPropFind(KURL url, TQDomDocument properties, String depth);
/**
Creates a new DavJob that issues a PROPPATCH command. PROPPATCH sets
the properties of the resource identified by the given <code>url.</code>
@@ -561,8 +561,8 @@ public class KIO {
@short Creates a new DavJob that issues a PROPPATCH command.
*/
- public static native DavJob davPropPatch(KURL url, QDomDocument properties, boolean showProgressInfo);
- public static native DavJob davPropPatch(KURL url, QDomDocument properties);
+ public static native DavJob davPropPatch(KURL url, TQDomDocument properties, boolean showProgressInfo);
+ public static native DavJob davPropPatch(KURL url, TQDomDocument properties);
/**
Creates a new DavJob that issues a SEARCH command.
@param url the URL of the resource
@@ -1121,7 +1121,7 @@ public class KIO {
public static native void pasteData(KURL destURL, byte[] data);
/**
Pastes the given <code>data</code> to the given destination URL.
- Note that this method requires the caller to have chosen the byte[]
+ Note that this method retquires the caller to have chosen the byte[]
to paste before hand, unlike pasteClipboard and pasteMimeSource.
@param destURL the URL of the directory where the data will be pasted.
The filename to use in that directory is prompted by this method.
@@ -1132,7 +1132,7 @@ public class KIO {
public static native CopyJob pasteDataAsync(KURL destURL, byte[] data);
/**
Pastes the given <code>data</code> to the given destination URL.
- Note that this method requires the caller to have chosen the byte[]
+ Note that this method retquires the caller to have chosen the byte[]
to paste before hand, unlike pasteClipboard and pasteMimeSource.
@param destURL the URL of the directory where the data will be pasted.
The filename to use in that directory is prompted by this method.
@@ -1147,18 +1147,18 @@ public class KIO {
after offering the user to choose a data format.
This is the method used when handling drops (of anything else than URLs)
onto kdesktop and konqueror.
- @param data the QMimeSource (e.g. a QDropEvent)
+ @param data the TQMimeSource (e.g. a TQDropEvent)
@param destURL the URL of the directory where the data will be pasted.
The filename to use in that directory is prompted by this method.
@param dialogText the text to show in the dialog
@param widget parent widget to use for dialogs
- @param clipboard whether the QMimeSource comes from QClipboard. If you
+ @param clipboard whether the TQMimeSource comes from TQClipboard. If you
use pasteClipboard for that case, you never have to worry about this parameter.
@short Save the given mimesource <code>data</code> to the given destination URL after offering the user to choose a data format.
@see #pasteClipboard
*/
- public static native CopyJob pasteMimeSource(QMimeSourceInterface data, KURL destURL, String dialogText, QWidget widget, boolean clipboard);
- public static native CopyJob pasteMimeSource(QMimeSourceInterface data, KURL destURL, String dialogText, QWidget widget);
+ public static native CopyJob pasteMimeSource(TQMimeSourceInterface data, KURL destURL, String dialogText, TQWidget widget, boolean clipboard);
+ public static native CopyJob pasteMimeSource(TQMimeSourceInterface data, KURL destURL, String dialogText, TQWidget widget);
/**
Checks whether the clipboard contains any URLs.
@return true if not