summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqurl.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqurl.html')
-rw-r--r--doc/html/ntqurl.html66
1 files changed, 33 insertions, 33 deletions
diff --git a/doc/html/ntqurl.html b/doc/html/ntqurl.html
index 67e42515..e216418d 100644
--- a/doc/html/ntqurl.html
+++ b/doc/html/ntqurl.html
@@ -145,9 +145,9 @@ the necessary cast and assignment operators so you can do
following:
<p> <pre>
TQUrl url( "http://www.trolltech.com" );
- <a href="ntqstring.html">TQString</a> s = url;
+ <a href="tqstring.html">TQString</a> s = url;
// or
- <a href="ntqstring.html">TQString</a> s( "http://www.trolltech.com" );
+ <a href="tqstring.html">TQString</a> s( "http://www.trolltech.com" );
TQUrl url( s );
</pre>
@@ -165,7 +165,7 @@ a local or remote filesystem), you might want to use the subclass
</h3>
Constructs an empty URL that is invalid.
-<h3 class=fn><a name="TQUrl-2"></a>TQUrl::TQUrl ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )
+<h3 class=fn><a name="TQUrl-2"></a>TQUrl::TQUrl ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )
</h3>
Constructs a URL by parsing the string <em>url</em>.
<p> If you pass a string like "/home/qt", the "file" protocol is
@@ -175,7 +175,7 @@ assumed.
</h3>
Copy constructor. Copies the data of <em>url</em>.
-<h3 class=fn><a name="TQUrl-4"></a>TQUrl::TQUrl ( const&nbsp;<a href="ntqurl.html">TQUrl</a>&nbsp;&amp;&nbsp;url, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;relUrl, bool&nbsp;checkSlash = FALSE )
+<h3 class=fn><a name="TQUrl-4"></a>TQUrl::TQUrl ( const&nbsp;<a href="ntqurl.html">TQUrl</a>&nbsp;&amp;&nbsp;url, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;relUrl, bool&nbsp;checkSlash = FALSE )
</h3>
Constructs an URL taking <em>url</em> as the base (context) and
<em>relUrl</em> as a relative URL to <em>url</em>. If <em>relUrl</em> is not relative,
@@ -211,7 +211,7 @@ to TRUE.
</h3>
Destructor.
-<h3 class=fn>void <a name="addPath"></a>TQUrl::addPath ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;pa )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="addPath"></a>TQUrl::addPath ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;pa )<tt> [virtual]</tt>
</h3>
Adds the path <em>pa</em> to the path of the URL.
<p> <p>See also <a href="#setPath">setPath</a>() and <a href="#hasPath">hasPath</a>().
@@ -221,18 +221,18 @@ Adds the path <em>pa</em> to the path of the URL.
Changes the directory to one directory up.
<p> <p>See also <a href="#setPath">setPath</a>().
-<h3 class=fn>void <a name="decode"></a>TQUrl::decode ( <a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [static]</tt>
+<h3 class=fn>void <a name="decode"></a>TQUrl::decode ( <a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [static]</tt>
</h3>
Decodes the <em>url</em> in-place into UTF-8. For example
<p> <pre>
- <a href="ntqstring.html">TQString</a> url = "http%3A//www%20trolltech%20com"
+ <a href="tqstring.html">TQString</a> url = "http%3A//www%20trolltech%20com"
TQUrl::<a href="#decode">decode</a>( url );
// url is now "http://www.trolltech.com"
</pre>
<p> <p>See also <a href="#encode">encode</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="dirPath"></a>TQUrl::dirPath () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="dirPath"></a>TQUrl::dirPath () const
</h3>
Returns the directory path of the URL. This is the part of the
path of the URL without the <a href="#fileName">fileName</a>(). See the documentation of
@@ -241,11 +241,11 @@ what is handled as directory path.
<p> <p>See also <a href="#setPath">setPath</a>() and <a href="#hasPath">hasPath</a>().
<p>Example: <a href="networkprotocol-example.html#x695">network/networkprotocol/nntp.cpp</a>.
-<h3 class=fn>void <a name="encode"></a>TQUrl::encode ( <a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [static]</tt>
+<h3 class=fn>void <a name="encode"></a>TQUrl::encode ( <a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [static]</tt>
</h3>
Encodes the <em>url</em> in-place into UTF-8. For example
<p> <pre>
- <a href="ntqstring.html">TQString</a> url = http://www.trolltech.com
+ <a href="tqstring.html">TQString</a> url = http://www.trolltech.com
TQUrl::<a href="#encode">encode</a>( url );
// url is now "http%3A//www%20trolltech%20com"
</pre>
@@ -253,12 +253,12 @@ Encodes the <em>url</em> in-place into UTF-8. For example
<p> <p>See also <a href="#decode">decode</a>().
<p>Example: <a href="archivesearch-example.html#x484">network/archivesearch/archivedialog.ui.h</a>.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="encodedPathAndQuery"></a>TQUrl::encodedPathAndQuery ()
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="encodedPathAndQuery"></a>TQUrl::encodedPathAndQuery ()
</h3>
Returns the encoded path and query.
<p> <p>See also <a href="#decode">decode</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="fileName"></a>TQUrl::fileName () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="fileName"></a>TQUrl::fileName () const
</h3>
Returns the file name of the URL. If the path of the URL doesn't
have a slash at the end, the part between the last slash and the
@@ -302,7 +302,7 @@ Returns TRUE if the URL contains a username; otherwise returns
FALSE.
<p> <p>See also <a href="#setUser">setUser</a>() and <a href="#setPassword">setPassword</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="host"></a>TQUrl::host () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="host"></a>TQUrl::host () const
</h3>
Returns the hostname of the URL.
<p> <p>See also <a href="#setHost">setHost</a>() and <a href="#hasHost">hasHost</a>().
@@ -313,7 +313,7 @@ Returns the hostname of the URL.
Returns TRUE if the URL is a local file; otherwise returns FALSE.
<p>Example: <a href="qdir-example.html#x1849">qdir/qdir.cpp</a>.
-<h3 class=fn>bool <a name="isRelativeUrl"></a>TQUrl::isRelativeUrl ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [static]</tt>
+<h3 class=fn>bool <a name="isRelativeUrl"></a>TQUrl::isRelativeUrl ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [static]</tt>
</h3>
Returns TRUE if <em>url</em> is relative; otherwise returns FALSE.
@@ -331,7 +331,7 @@ Composes a string version of the URL and returns it.
</h3>
Assigns the data of <em>url</em> to this class.
-<h3 class=fn><a href="ntqurl.html">TQUrl</a>&nbsp;&amp; <a name="operator-eq-2"></a>TQUrl::operator= ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )
+<h3 class=fn><a href="ntqurl.html">TQUrl</a>&nbsp;&amp; <a name="operator-eq-2"></a>TQUrl::operator= ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Parses <em>url</em> and assigns the resulting data to this class.
@@ -343,24 +343,24 @@ assumed.
Compares this URL with <em>url</em> and returns TRUE if they are equal;
otherwise returns FALSE.
-<h3 class=fn>bool <a name="operator-eq-eq-2"></a>TQUrl::operator== ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;url ) const
+<h3 class=fn>bool <a name="operator-eq-eq-2"></a>TQUrl::operator== ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;url ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Compares this URL with <em>url</em>. <em>url</em> is parsed first. Returns
TRUE if <em>url</em> is equal to this url; otherwise returns FALSE.
-<h3 class=fn>bool <a name="parse"></a>TQUrl::parse ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [virtual protected]</tt>
+<h3 class=fn>bool <a name="parse"></a>TQUrl::parse ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;url )<tt> [virtual protected]</tt>
</h3>
Parses the <em>url</em>.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="password"></a>TQUrl::password () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="password"></a>TQUrl::password () const
</h3>
Returns the password of the URL.
<p> <b>Warning:</b> Passwords passed in URLs are normally <em>insecure</em>; this
is due to the mechanism, not because of TQt.
<p> <p>See also <a href="#setPassword">setPassword</a>() and <a href="#setUser">setUser</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="path"></a>TQUrl::path ( bool&nbsp;correct = TRUE ) const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="path"></a>TQUrl::path ( bool&nbsp;correct = TRUE ) const
</h3>
Returns the path of the URL. If <em>correct</em> is TRUE, the path is
cleaned (deals with too many or too few slashes, cleans things
@@ -374,18 +374,18 @@ that was parsed or set.
Returns the port of the URL or -1 if no port has been set.
<p> <p>See also <a href="#setPort">setPort</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="protocol"></a>TQUrl::protocol () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="protocol"></a>TQUrl::protocol () const
</h3>
Returns the protocol of the URL. Typically, "file", "http", "ftp",
etc.
<p> <p>See also <a href="#setProtocol">setProtocol</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="query"></a>TQUrl::query () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="query"></a>TQUrl::query () const
</h3>
Returns the (encoded) query of the URL.
<p> <p>See also <a href="#setQuery">setQuery</a>() and <a href="#decode">decode</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="ref"></a>TQUrl::ref () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="ref"></a>TQUrl::ref () const
</h3>
Returns the (encoded) reference of the URL.
<p> <p>See also <a href="#setRef">setRef</a>(), <a href="#hasRef">hasRef</a>(), and <a href="#decode">decode</a>().
@@ -395,13 +395,13 @@ Returns the (encoded) reference of the URL.
Resets all parts of the URL to their default values and
invalidates it.
-<h3 class=fn>void <a name="setEncodedPathAndQuery"></a>TQUrl::setEncodedPathAndQuery ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;pathAndQuery )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setEncodedPathAndQuery"></a>TQUrl::setEncodedPathAndQuery ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;pathAndQuery )<tt> [virtual]</tt>
</h3>
Parses <em>pathAndQuery</em> for a path and query and sets those values.
The whole string must be encoded.
<p> <p>See also <a href="#encode">encode</a>().
-<h3 class=fn>void <a name="setFileName"></a>TQUrl::setFileName ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setFileName"></a>TQUrl::setFileName ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )<tt> [virtual]</tt>
</h3>
Sets the file name of the URL to <em>name</em>. If this URL contains a
<a href="#fileName">fileName</a>(), the original file name is replaced by <em>name</em>.
@@ -410,19 +410,19 @@ of what is handled as file name and what is handled as a directory
path.
<p> <p>See also <a href="#fileName">fileName</a>().
-<h3 class=fn>void <a name="setHost"></a>TQUrl::setHost ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;host )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setHost"></a>TQUrl::setHost ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;host )<tt> [virtual]</tt>
</h3>
Sets the hostname of the URL to <em>host</em>.
<p> <p>See also <a href="#host">host</a>() and <a href="#hasHost">hasHost</a>().
-<h3 class=fn>void <a name="setPassword"></a>TQUrl::setPassword ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;pass )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setPassword"></a>TQUrl::setPassword ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;pass )<tt> [virtual]</tt>
</h3>
Sets the password of the URL to <em>pass</em>.
<p> <b>Warning:</b> Passwords passed in URLs are normally <em>insecure</em>; this
is due to the mechanism, not because of TQt.
<p> <p>See also <a href="#password">password</a>() and <a href="#setUser">setUser</a>().
-<h3 class=fn>void <a name="setPath"></a>TQUrl::setPath ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;path )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setPath"></a>TQUrl::setPath ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;path )<tt> [virtual]</tt>
</h3>
Sets the path of the URL to <em>path</em>.
<p> <p>See also <a href="#path">path</a>() and <a href="#hasPath">hasPath</a>().
@@ -432,35 +432,35 @@ Sets the path of the URL to <em>path</em>.
Sets the port of the URL to <em>port</em>.
<p> <p>See also <a href="#port">port</a>().
-<h3 class=fn>void <a name="setProtocol"></a>TQUrl::setProtocol ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;protocol )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setProtocol"></a>TQUrl::setProtocol ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;protocol )<tt> [virtual]</tt>
</h3>
Sets the protocol of the URL to <em>protocol</em>. Typically, "file",
"http", "ftp", etc.
<p> <p>See also <a href="#protocol">protocol</a>().
-<h3 class=fn>void <a name="setQuery"></a>TQUrl::setQuery ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;txt )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setQuery"></a>TQUrl::setQuery ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;txt )<tt> [virtual]</tt>
</h3>
Sets the query of the URL to <em>txt</em>. <em>txt</em> must be encoded.
<p> <p>See also <a href="#query">query</a>() and <a href="#encode">encode</a>().
-<h3 class=fn>void <a name="setRef"></a>TQUrl::setRef ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;txt )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setRef"></a>TQUrl::setRef ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;txt )<tt> [virtual]</tt>
</h3>
Sets the reference of the URL to <em>txt</em>. <em>txt</em> must be encoded.
<p> <p>See also <a href="#ref">ref</a>(), <a href="#hasRef">hasRef</a>(), and <a href="#encode">encode</a>().
-<h3 class=fn>void <a name="setUser"></a>TQUrl::setUser ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;user )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setUser"></a>TQUrl::setUser ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;user )<tt> [virtual]</tt>
</h3>
Sets the username of the URL to <em>user</em>.
<p> <p>See also <a href="#user">user</a>() and <a href="#setPassword">setPassword</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQUrl::toString ( bool&nbsp;encodedPath = FALSE, bool&nbsp;forcePrependProtocol = TRUE ) const<tt> [virtual]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString"></a>TQUrl::toString ( bool&nbsp;encodedPath = FALSE, bool&nbsp;forcePrependProtocol = TRUE ) const<tt> [virtual]</tt>
</h3>
Composes a string version of the URL and returns it. If <em>encodedPath</em> is TRUE the path in the returned string is encoded. If
<em>forcePrependProtocol</em> is TRUE and <em>encodedPath</em> looks like a
local filename, the "file:/" protocol is also prepended.
<p> <p>See also <a href="#encode">encode</a>() and <a href="#decode">decode</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="user"></a>TQUrl::user () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="user"></a>TQUrl::user () const
</h3>
Returns the username of the URL.
<p> <p>See also <a href="#setUser">setUser</a>() and <a href="#setPassword">setPassword</a>().