summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqurl.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqurl.3qt')
-rw-r--r--doc/man/man3/tqurl.3qt42
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/man/man3/tqurl.3qt b/doc/man/man3/tqurl.3qt
index 1b51dfe96..9d3053c48 100644
--- a/doc/man/man3/tqurl.3qt
+++ b/doc/man/man3/tqurl.3qt
@@ -25,7 +25,7 @@ Inherited by QUrlOperator.
.BI "\fBQUrl\fR ( const QUrl & url )"
.br
.ti -1c
-.BI "\fBQUrl\fR ( const QUrl & url, const TQString & relUrl, bool checkSlash = FALSE )"
+.BI "\fBQUrl\fR ( const QUrl & url, const TQString & relUrl, bool checkSlash = false )"
.br
.ti -1c
.BI "virtual \fB~QUrl\fR ()"
@@ -73,7 +73,7 @@ Inherited by QUrlOperator.
.BI "bool \fBhasPort\fR () const"
.br
.ti -1c
-.BI "TQString \fBpath\fR ( bool correct = TRUE ) const"
+.BI "TQString \fBpath\fR ( bool correct = true ) const"
.br
.ti -1c
.BI "virtual void \fBsetPath\fR ( const TQString & path )"
@@ -136,7 +136,7 @@ Inherited by QUrlOperator.
.BI "\fBoperator TQString\fR () const"
.br
.ti -1c
-.BI "virtual TQString \fBtoString\fR ( bool encodedPath = FALSE, bool forcePrependProtocol = TRUE ) const"
+.BI "virtual TQString \fBtoString\fR ( bool encodedPath = false, bool forcePrependProtocol = true ) const"
.br
.ti -1c
.BI "virtual bool \fBcdUp\fR ()"
@@ -226,7 +226,7 @@ To make it easy to work with QUrls and QStrings, QUrl implements the necessary c
.br
.fi
.PP
-Use the static functions, encode() and decode() to encode or decode a URL in a string. (They operate on the string in-place.) The isRelativeUrl() static function returns TRUE if the given string is a relative URL.
+Use the static functions, encode() and decode() to encode or decode a URL in a string. (They operate on the string in-place.) The isRelativeUrl() static function returns true if the given string is a relative URL.
.PP
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 QUrlOperator.
.PP
@@ -240,7 +240,7 @@ Constructs a URL by parsing the string \fIurl\fR.
If you pass a string like "/home/qt", the "file" protocol is assumed.
.SH "QUrl::QUrl ( const QUrl & url )"
Copy constructor. Copies the data of \fIurl\fR.
-.SH "QUrl::QUrl ( const QUrl & url, const TQString & relUrl, bool checkSlash = FALSE )"
+.SH "QUrl::QUrl ( const QUrl & url, const TQString & relUrl, bool checkSlash = false )"
Constructs an URL taking \fIurl\fR as the base (context) and \fIrelUrl\fR as a relative URL to \fIurl\fR. If \fIrelUrl\fR is not relative, \fIrelUrl\fR is taken as the new URL.
.PP
For example, the path of
@@ -270,7 +270,7 @@ Similarly,
.fi
will result in a new URL, with "/usr/local" as the path and "file" as the protocol.
.PP
-Normally it is expected that the path of \fIurl\fR points to a 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 \fIrelUrl\fR (if it contains one), set \fIcheckSlash\fR to TRUE.
+Normally it is expected that the path of \fIurl\fR points to a 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 \fIrelUrl\fR (if it contains one), set \fIcheckSlash\fR to true.
.SH "QUrl::~QUrl ()\fC [virtual]\fR"
Destructor.
.SH "void QUrl::addPath ( const TQString & pa )\fC [virtual]\fR"
@@ -328,29 +328,29 @@ See also setFileName().
.PP
Example: network/networkprotocol/nntp.cpp.
.SH "bool QUrl::hasHost () const"
-Returns TRUE if the URL contains a hostname; otherwise returns FALSE.
+Returns true if the URL contains a hostname; otherwise returns false.
.PP
See also setHost().
.SH "bool QUrl::hasPassword () const"
-Returns TRUE if the URL contains a password; otherwise returns FALSE.
+Returns true if the URL contains a password; otherwise returns false.
.PP
\fBWarning:\fR Passwords passed in URLs are normally \fIinsecure\fR; this is due to the mechanism, not because of Qt.
.PP
See also setPassword() and setUser().
.SH "bool QUrl::hasPath () const"
-Returns TRUE if the URL contains a path; otherwise returns FALSE.
+Returns true if the URL contains a path; otherwise returns false.
.PP
See also path() and setPath().
.SH "bool QUrl::hasPort () const"
-Returns TRUE if the URL contains a port; otherwise returns FALSE.
+Returns true if the URL contains a port; otherwise returns false.
.PP
See also setPort().
.SH "bool QUrl::hasRef () const"
-Returns TRUE if the URL has a reference; otherwise returns FALSE.
+Returns true if the URL has a reference; otherwise returns false.
.PP
See also setRef().
.SH "bool QUrl::hasUser () const"
-Returns TRUE if the URL contains a username; otherwise returns FALSE.
+Returns true if the URL contains a username; otherwise returns false.
.PP
See also setUser() and setPassword().
.SH "TQString QUrl::host () const"
@@ -360,13 +360,13 @@ See also setHost() and hasHost().
.PP
Example: network/archivesearch/archivedialog.ui.h.
.SH "bool QUrl::isLocalFile () const"
-Returns TRUE if the URL is a local file; otherwise returns FALSE.
+Returns true if the URL is a local file; otherwise returns false.
.PP
Example: qdir/qdir.cpp.
.SH "bool QUrl::isRelativeUrl ( const TQString & url )\fC [static]\fR"
-Returns TRUE if \fIurl\fR is relative; otherwise returns FALSE.
+Returns true if \fIurl\fR is relative; otherwise returns false.
.SH "bool QUrl::isValid () const"
-Returns TRUE if the URL is valid; otherwise returns FALSE. A URL is invalid if it cannot be parsed, for example.
+Returns true if the URL is valid; otherwise returns false. A URL is invalid if it cannot be parsed, for example.
.SH "QUrl::operator TQString () const"
Composes a string version of the URL and returns it.
.PP
@@ -380,11 +380,11 @@ Parses \fIurl\fR and assigns the resulting data to this class.
.PP
If you pass a string like "/home/qt" the "file" protocol will be assumed.
.SH "bool QUrl::operator== ( const QUrl & url ) const"
-Compares this URL with \fIurl\fR and returns TRUE if they are equal; otherwise returns FALSE.
+Compares this URL with \fIurl\fR and returns true if they are equal; otherwise returns false.
.SH "bool QUrl::operator== ( const TQString & url ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Compares this URL with \fIurl\fR. \fIurl\fR is parsed first. Returns TRUE if \fIurl\fR is equal to this url; otherwise returns FALSE.
+Compares this URL with \fIurl\fR. \fIurl\fR is parsed first. Returns true if \fIurl\fR is equal to this url; otherwise returns false.
.SH "bool QUrl::parse ( const TQString & url )\fC [virtual protected]\fR"
Parses the \fIurl\fR.
.SH "TQString QUrl::password () const"
@@ -393,8 +393,8 @@ Returns the password of the URL.
\fBWarning:\fR Passwords passed in URLs are normally \fIinsecure\fR; this is due to the mechanism, not because of Qt.
.PP
See also setPassword() and setUser().
-.SH "TQString QUrl::path ( bool correct = TRUE ) const"
-Returns the path of the URL. If \fIcorrect\fR is TRUE, the path is cleaned (deals with too many or too few slashes, cleans things like "/../..", etc). Otherwise path() returns exactly the path that was parsed or set.
+.SH "TQString QUrl::path ( bool correct = true ) const"
+Returns the path of the URL. If \fIcorrect\fR is true, the path is cleaned (deals with too many or too few slashes, cleans things like "/../..", etc). Otherwise path() returns exactly the path that was parsed or set.
.PP
See also setPath() and hasPath().
.PP
@@ -461,8 +461,8 @@ See also ref(), hasRef(), and encode().
Sets the username of the URL to \fIuser\fR.
.PP
See also user() and setPassword().
-.SH "TQString QUrl::toString ( bool encodedPath = FALSE, bool forcePrependProtocol = TRUE ) const\fC [virtual]\fR"
-Composes a string version of the URL and returns it. If \fIencodedPath\fR is TRUE the path in the returned string is encoded. If \fIforcePrependProtocol\fR is TRUE and \fIencodedPath\fR looks like a local filename, the "file:/" protocol is also prepended.
+.SH "TQString QUrl::toString ( bool encodedPath = false, bool forcePrependProtocol = true ) const\fC [virtual]\fR"
+Composes a string version of the URL and returns it. If \fIencodedPath\fR is true the path in the returned string is encoded. If \fIforcePrependProtocol\fR is true and \fIencodedPath\fR looks like a local filename, the "file:/" protocol is also prepended.
.PP
See also encode() and decode().
.SH "TQString QUrl::user () const"