diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KURL.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KURL.java | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/kdejava/koala/org/kde/koala/KURL.java b/kdejava/koala/org/kde/koala/KURL.java index ffe07bcf..d8872e3a 100644 --- a/kdejava/koala/org/kde/koala/KURL.java +++ b/kdejava/koala/org/kde/koala/KURL.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QUrlInterface; +import org.kde.qt.TQUrlInterface; import java.util.ArrayList; -import org.kde.qt.QUrl; +import org.kde.qt.TQUrl; /** @@ -140,7 +140,7 @@ public class KURL implements QtSupport { @param url a URL, not a filename. If the URL does not have a protocol part, @c "file:" is assumed @param encoding_hint MIB of original encoding of URL. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Usual constructor, to construct from a string @see #fromPathOrURL */ @@ -164,13 +164,13 @@ public class KURL implements QtSupport { /** @brief Constructor taking a Qt URL Converts from a Qt URL. - @param u the QUrl + @param u the TQUrl @short @brief Constructor taking a Qt URL */ - public KURL(QUrlInterface u) { + public KURL(TQUrlInterface u) { newKURL(u); } - private native void newKURL(QUrlInterface u); + private native void newKURL(TQUrlInterface u); /** @brief Constructor allowing relative URLs @warning It is dangerous to feed UNIX filenames into this function, @@ -188,7 +188,7 @@ public class KURL implements QtSupport { So do NOT pass a path here (use setPath() or addPath() or fromPathOrURL() instead) @param encoding_hint MIB of original encoding of URL. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Constructor allowing relative URLs @see #fromPathOrURL */ @@ -445,7 +445,7 @@ public class KURL implements QtSupport { The encoded path is the concatenation of the current path and the query. @param _txt the new encoded path and encoded query @param encoding_hint MIB of original encoding of <code>_txt</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Sets both path and query of the URL in their encoded form @see #encodedPathAndQuery @see #setPath @@ -457,7 +457,7 @@ public class KURL implements QtSupport { @brief Sets the (already encoded) path of the URL @param _txt the new encoded path @param encoding_hint MIB of original encoding of <code>_txt</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Sets the (already encoded) path of the URL @see #setEncodedPathAndQuery @see #setPath @@ -482,7 +482,7 @@ public class KURL implements QtSupport { @param _no_empty_path if set to <code>true</code> then an empty path is substituted by @c "/" @param encoding_hint MIB of desired encoding of URL. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the concatenation of the encoded path , @c '?' and the encoded query @@ -501,7 +501,7 @@ public class KURL implements QtSupport { @param _txt this is considered to be encoded. This has a good reason: the query may contain the @c '0' character @param encoding_hint MIB of the encoding. Reserved, should be <code>0</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Sets the encoded query of the URL @see #query */ @@ -620,13 +620,13 @@ public class KURL implements QtSupport { encoding @short @brief Adds file encoding information @see #fileEncoding - @see org.kde.qt.QTextCodec#codecForName + @see org.kde.qt.TQTextCodec#codecForName */ public native void setFileEncoding(String encoding); /** @brief Returns encoding information of the URL The encoding information is the content of the @c "charset" parameter. - @return an encoding suitable for QTextCodec.codecForName() + @return an encoding suitable for TQTextCodec.codecForName() or @c null if not encoding was specified @short @brief Returns encoding information of the URL @@ -671,7 +671,7 @@ public class KURL implements QtSupport { @brief Returns the value of a certain query item @param item item whose value we want @param encoding_hint MIB of encoding of query. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the value of the given query item name or @c null if the specified item does not exist @@ -685,13 +685,13 @@ public class KURL implements QtSupport { /** @short */ - // QMap<QString, QString> queryItems(int arg1); >>>> NOT CONVERTED - // QMap<QString, QString> queryItems(); >>>> NOT CONVERTED + // TQMap<TQString, TQString> queryItems(int arg1); >>>> NOT CONVERTED + // TQMap<TQString, TQString> queryItems(); >>>> NOT CONVERTED /** @brief Returns the list of query items as a map mapping keys to values @param options any of QueryItemsOptions <em>OR</em>ed together @param encoding_hint MIB of encoding of query. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the map of query items or the empty map if the URL has no query items @@ -701,7 +701,7 @@ public class KURL implements QtSupport { @see #removeQueryItem @see #query */ - // QMap<QString, QString> queryItems(int arg1,int arg2); >>>> NOT CONVERTED + // TQMap<TQString, TQString> queryItems(int arg1,int arg2); >>>> NOT CONVERTED /** @brief Adds an additional query item To replace an existing query item, the item should first be @@ -709,7 +709,7 @@ public class KURL implements QtSupport { @param _item name of item to add @param _value value of item to add @param encoding_hint MIB of encoding to use for _value. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Adds an additional query item @see #queryItem @see #queryItems @@ -834,7 +834,7 @@ public class KURL implements QtSupport { @c '/', @c +1 adds a trailing @c '/' if there is none yet and <code>0</code> returns the path unchanged @param encoding_hint MIB of encoding to use. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the complete URL, with all escape sequences intact, encoded in a given charset @@ -1184,7 +1184,7 @@ public class KURL implements QtSupport { encoding for all common delimiters / non-ascii characters. @param str the string to encode (can be <code>null</code>) @param encoding_hint MIB of encoding to use. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the encoded string @short @brief Encodes a string for use in URLs @@ -1201,7 +1201,7 @@ public class KURL implements QtSupport { as well as the slash @c '/'. @param str the string to encode (can be <code>null</code>) @param encoding_hint MIB of encoding to use. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Encodes a string for use in URLs @see #encode_string @see #decode_string @@ -1215,7 +1215,7 @@ public class KURL implements QtSupport { Reverse of encode_string() @param str the string to decode (can be <code>null</code>) @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the decoded string @short @brief Decodes a string as used in URLs @@ -1249,7 +1249,7 @@ public class KURL implements QtSupport { @param base_url the URL to derive from @param url the URL to point to relatively from <code>base_url</code> @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Creates an URL relative to a base URL for a given input URL @see #isRelativeURL @see #relativePath @@ -1285,7 +1285,7 @@ public class KURL implements QtSupport { All String members get reset to <code>null</code>, the port to <code>0</code> the URIMode to <code>Auto</code> and the URL becomes invalid. This is like assigning a null URL, but more efficient as it doesn't - require the temporary object. + retquire the temporary object. Called by constructors, assignment operators and the parse methods in case of a parsing error. @short @brief Resets the members to their "null" state @@ -1298,7 +1298,7 @@ public class KURL implements QtSupport { Treats the string as an URL. @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parseURL(String _url, int encoding_hint); @@ -1308,7 +1308,7 @@ public class KURL implements QtSupport { Treats the string as a generic URI. @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parseRawURI(String _url, int encoding_hint); @@ -1318,7 +1318,7 @@ public class KURL implements QtSupport { Treats the string as a @c "mailto:" URI. @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parseMailto(String _url, int encoding_hint); @@ -1327,7 +1327,7 @@ public class KURL implements QtSupport { @brief Parses the given string and fills the URL's values on success @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parse(String _url, int encoding_hint); |