diff options
Diffstat (limited to 'doc/html/tqurl.html')
-rw-r--r-- | doc/html/tqurl.html | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/tqurl.html b/doc/html/tqurl.html index 720e8f343..600fe522f 100644 --- a/doc/html/tqurl.html +++ b/doc/html/tqurl.html @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; } <li class=fn><a href="#TQUrl"><b>TQUrl</b></a> ()</li> <li class=fn><a href="#TQUrl-2"><b>TQUrl</b></a> ( const TQString & url )</li> <li class=fn><a href="#TQUrl-3"><b>TQUrl</b></a> ( const TQUrl & url )</li> -<li class=fn><a href="#TQUrl-4"><b>TQUrl</b></a> ( const TQUrl & url, const TQString & relUrl, bool checkSlash = FALSE )</li> +<li class=fn><a href="#TQUrl-4"><b>TQUrl</b></a> ( const TQUrl & url, const TQString & relUrl, bool checkSlash = false )</li> <li class=fn>virtual <a href="#~TQUrl"><b>~TQUrl</b></a> ()</li> <li class=fn>TQString <a href="#protocol"><b>protocol</b></a> () const</li> <li class=fn>virtual void <a href="#setProtocol"><b>setProtocol</b></a> ( const TQString & protocol )</li> @@ -56,7 +56,7 @@ body { background: #ffffff; color: black; } <li class=fn>int <a href="#port"><b>port</b></a> () const</li> <li class=fn>virtual void <a href="#setPort"><b>setPort</b></a> ( int port )</li> <li class=fn>bool <a href="#hasPort"><b>hasPort</b></a> () const</li> -<li class=fn>TQString <a href="#path"><b>path</b></a> ( bool correct = TRUE ) const</li> +<li class=fn>TQString <a href="#path"><b>path</b></a> ( bool correct = true ) const</li> <li class=fn>virtual void <a href="#setPath"><b>setPath</b></a> ( const TQString & path )</li> <li class=fn>bool <a href="#hasPath"><b>hasPath</b></a> () const</li> <li class=fn>virtual void <a href="#setEncodedPathAndQuery"><b>setEncodedPathAndQuery</b></a> ( const TQString & pathAndQuery )</li> @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; } <li class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const TQUrl & url ) const</li> <li class=fn>bool <a href="#operator-eq-eq-2"><b>operator==</b></a> ( const TQString & url ) const</li> <li class=fn><a href="#operator-TQString"><b>operator TQString</b></a> () const</li> -<li class=fn>virtual TQString <a href="#toString"><b>toString</b></a> ( bool encodedPath = FALSE, bool forcePrependProtocol = TRUE ) const</li> +<li class=fn>virtual TQString <a href="#toString"><b>toString</b></a> ( bool encodedPath = false, bool forcePrependProtocol = true ) const</li> <li class=fn>virtual bool <a href="#cdUp"><b>cdUp</b></a> ()</li> </ul> <h2>Static Public Members</h2> @@ -152,7 +152,7 @@ following: <p> Use the static functions, <a href="#encode">encode</a>() and <a href="#decode">decode</a>() to encode or decode a URL in a string. (They operate on the string in-place.) -The <a href="#isRelativeUrl">isRelativeUrl</a>() static function returns TRUE if the given +The <a href="#isRelativeUrl">isRelativeUrl</a>() static function returns true if the given string is a relative URL. <p> If you want to use a URL to work on a hierarchical structure (e.g. a local or remote filesystem), you might want to use the subclass @@ -174,7 +174,7 @@ assumed. </h3> Copy constructor. Copies the data of <em>url</em>. -<h3 class=fn><a name="TQUrl-4"></a>TQUrl::TQUrl ( const <a href="tqurl.html">TQUrl</a> & url, const <a href="tqstring.html">TQString</a> & relUrl, bool checkSlash = FALSE ) +<h3 class=fn><a name="TQUrl-4"></a>TQUrl::TQUrl ( const <a href="tqurl.html">TQUrl</a> & url, const <a href="tqstring.html">TQString</a> & relUrl, bool 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, @@ -204,7 +204,7 @@ directory, even if the path has no slash at the end. But if you want the constructor to handle the last part of the path as a file name if there is no slash at the end, and to let it be replaced by the file name of <em>relUrl</em> (if it contains one), set <em>checkSlash</em> -to TRUE. +to true. <h3 class=fn><a name="~TQUrl"></a>TQUrl::~TQUrl ()<tt> [virtual]</tt> </h3> @@ -268,37 +268,37 @@ path has a slash at the end, an empty string is returned here. <p>Example: <a href="networkprotocol-example.html#x696">network/networkprotocol/nntp.cpp</a>. <h3 class=fn>bool <a name="hasHost"></a>TQUrl::hasHost () const </h3> -Returns TRUE if the URL contains a hostname; otherwise returns -FALSE. +Returns true if the URL contains a hostname; otherwise returns +false. <p> <p>See also <a href="#setHost">setHost</a>(). <h3 class=fn>bool <a name="hasPassword"></a>TQUrl::hasPassword () const </h3> -Returns TRUE if the URL contains a password; otherwise returns -FALSE. +Returns true if the URL contains a password; otherwise returns +false. <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>bool <a name="hasPath"></a>TQUrl::hasPath () const </h3> -Returns TRUE if the URL contains a path; otherwise returns FALSE. +Returns true if the URL contains a path; otherwise returns false. <p> <p>See also <a href="#path">path</a>() and <a href="#setPath">setPath</a>(). <h3 class=fn>bool <a name="hasPort"></a>TQUrl::hasPort () const </h3> -Returns TRUE if the URL contains a port; otherwise returns FALSE. +Returns true if the URL contains a port; otherwise returns false. <p> <p>See also <a href="#setPort">setPort</a>(). <h3 class=fn>bool <a name="hasRef"></a>TQUrl::hasRef () const </h3> -Returns TRUE if the URL has a reference; otherwise returns FALSE. +Returns true if the URL has a reference; otherwise returns false. <p> <p>See also <a href="#setRef">setRef</a>(). <h3 class=fn>bool <a name="hasUser"></a>TQUrl::hasUser () const </h3> -Returns TRUE if the URL contains a username; otherwise returns -FALSE. +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="tqstring.html">TQString</a> <a name="host"></a>TQUrl::host () const @@ -309,16 +309,16 @@ Returns the hostname of the URL. <p>Example: <a href="archivesearch-example.html#x485">network/archivesearch/archivedialog.ui.h</a>. <h3 class=fn>bool <a name="isLocalFile"></a>TQUrl::isLocalFile () const </h3> -Returns TRUE if the URL is a local file; otherwise returns FALSE. +Returns true if the URL is a local file; otherwise returns false. <p>Example: <a href="tqdir-example.html#x1849">tqdir/tqdir.cpp</a>. <h3 class=fn>bool <a name="isRelativeUrl"></a>TQUrl::isRelativeUrl ( const <a href="tqstring.html">TQString</a> & url )<tt> [static]</tt> </h3> -Returns TRUE if <em>url</em> is relative; otherwise returns FALSE. +Returns true if <em>url</em> is relative; otherwise returns false. <h3 class=fn>bool <a name="isValid"></a>TQUrl::isValid () const </h3> -Returns TRUE if the URL is valid; otherwise returns FALSE. A URL +Returns true if the URL is valid; otherwise returns false. A URL is invalid if it cannot be parsed, for example. <h3 class=fn><a name="operator-TQString"></a>TQUrl::operator TQString () const @@ -339,14 +339,14 @@ assumed. <h3 class=fn>bool <a name="operator-eq-eq"></a>TQUrl::operator== ( const <a href="tqurl.html">TQUrl</a> & url ) const </h3> -Compares this URL with <em>url</em> and returns TRUE if they are equal; -otherwise returns FALSE. +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 <a href="tqstring.html">TQString</a> & 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. +true if <em>url</em> is equal to this url; otherwise returns false. <h3 class=fn>bool <a name="parse"></a>TQUrl::parse ( const <a href="tqstring.html">TQString</a> & url )<tt> [virtual protected]</tt> </h3> @@ -359,9 +359,9 @@ Returns the password of the URL. 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="tqstring.html">TQString</a> <a name="path"></a>TQUrl::path ( bool correct = TRUE ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="path"></a>TQUrl::path ( bool correct = true ) const </h3> -Returns the path of the URL. If <em>correct</em> is TRUE, the path is +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 like "/../..", etc). Otherwise <a href="#path">path</a>() returns exactly the path that was parsed or set. @@ -452,10 +452,10 @@ Sets the reference of the URL to <em>txt</em>. <em>txt</em> must be encoded. 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="tqstring.html">TQString</a> <a name="toString"></a>TQUrl::toString ( bool encodedPath = FALSE, bool forcePrependProtocol = TRUE ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString"></a>TQUrl::toString ( bool encodedPath = false, bool 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 +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>(). |