diff options
Diffstat (limited to 'doc/html/tqurloperator.html')
-rw-r--r-- | doc/html/tqurloperator.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqurloperator.html b/doc/html/tqurloperator.html index 325376da6..a9630e5ee 100644 --- a/doc/html/tqurloperator.html +++ b/doc/html/tqurloperator.html @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; } <li class=fn><a href="#TQUrlOperator"><b>TQUrlOperator</b></a> ()</li> <li class=fn><a href="#TQUrlOperator-2"><b>TQUrlOperator</b></a> ( const TQString & url )</li> <li class=fn><a href="#TQUrlOperator-3"><b>TQUrlOperator</b></a> ( const TQUrlOperator & url )</li> -<li class=fn><a href="#TQUrlOperator-4"><b>TQUrlOperator</b></a> ( const TQUrlOperator & url, const TQString & relUrl, bool checkSlash = FALSE )</li> +<li class=fn><a href="#TQUrlOperator-4"><b>TQUrlOperator</b></a> ( const TQUrlOperator & url, const TQString & relUrl, bool checkSlash = false )</li> <li class=fn>virtual <a href="#~TQUrlOperator"><b>~TQUrlOperator</b></a> ()</li> <li class=fn>virtual const TQNetworkOperation * <a href="#listChildren"><b>listChildren</b></a> ()</li> <li class=fn>virtual const TQNetworkOperation * <a href="#mkdir"><b>mkdir</b></a> ( const TQString & dirname )</li> @@ -48,8 +48,8 @@ body { background: #ffffff; color: black; } <li class=fn>virtual const TQNetworkOperation * <a href="#rename"><b>rename</b></a> ( const TQString & oldname, const TQString & newname )</li> <li class=fn>virtual const TQNetworkOperation * <a href="#get"><b>get</b></a> ( const TQString & location = TQString::null )</li> <li class=fn>virtual const TQNetworkOperation * <a href="#put"><b>put</b></a> ( const TQByteArray & data, const TQString & location = TQString::null )</li> -<li class=fn>virtual TQPtrList<TQNetworkOperation> <a href="#copy"><b>copy</b></a> ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )</li> -<li class=fn>virtual void <a href="#copy-2"><b>copy</b></a> ( const TQStringList & files, const TQString & dest, bool move = FALSE )</li> +<li class=fn>virtual TQPtrList<TQNetworkOperation> <a href="#copy"><b>copy</b></a> ( const TQString & from, const TQString & to, bool move = false, bool toPath = true )</li> +<li class=fn>virtual void <a href="#copy-2"><b>copy</b></a> ( const TQStringList & files, const TQString & dest, bool move = false )</li> <li class=fn>virtual bool <a href="#isDir"><b>isDir</b></a> ( bool * ok = 0 )</li> <li class=fn>virtual void <a href="#setNameFilter"><b>setNameFilter</b></a> ( const TQString & nameFilter )</li> <li class=fn>TQString <a href="#nameFilter"><b>nameFilter</b></a> () const</li> @@ -155,7 +155,7 @@ assumed. </h3> Constructs a copy of <em>url</em>. -<h3 class=fn><a name="TQUrlOperator-4"></a>TQUrlOperator::TQUrlOperator ( const <a href="tqurloperator.html">TQUrlOperator</a> & url, const <a href="tqstring.html">TQString</a> & relUrl, bool checkSlash = FALSE ) +<h3 class=fn><a name="TQUrlOperator-4"></a>TQUrlOperator::TQUrlOperator ( const <a href="tqurloperator.html">TQUrlOperator</a> & url, const <a href="tqstring.html">TQString</a> & relUrl, bool checkSlash = false ) </h3> Constructs a TQUrlOperator. The URL on which this TQUrlOperator operates is constructed out of the arguments <em>url</em>, <em>relUrl</em> and @@ -179,11 +179,11 @@ state changes. <em>state</em> describes the new state, which is a <p> <em>data</em> is a string that describes the change of the connection. This can be used to display a message to the user. -<h3 class=fn><a href="tqptrlist.html">TQPtrList</a><TQNetworkOperation> <a name="copy"></a>TQUrlOperator::copy ( const <a href="tqstring.html">TQString</a> & from, const <a href="tqstring.html">TQString</a> & to, bool move = FALSE, bool toPath = TRUE )<tt> [virtual]</tt> +<h3 class=fn><a href="tqptrlist.html">TQPtrList</a><TQNetworkOperation> <a name="copy"></a>TQUrlOperator::copy ( const <a href="tqstring.html">TQString</a> & from, const <a href="tqstring.html">TQString</a> & to, bool move = false, bool toPath = true )<tt> [virtual]</tt> </h3> -Copies the file <em>from</em> to <em>to</em>. If <em>move</em> is TRUE, the file is +Copies the file <em>from</em> to <em>to</em>. If <em>move</em> is true, the file is moved (copied and removed). <em>from</em> must point to a file and <em>to</em> -must point to a directory (into which <em>from</em> is copied) unless <em>toPath</em> is set to FALSE. If <em>toPath</em> is set to FALSE then the <em>to</em> variable is assumed to be the absolute file path (destination +must point to a directory (into which <em>from</em> is copied) unless <em>toPath</em> is set to false. If <em>toPath</em> is set to false then the <em>to</em> variable is assumed to be the absolute file path (destination file path + file name). The copying is done using the <a href="#get">get</a>() and <a href="#put">put</a>() operations. If you want to be notified about the progress of the operation, connect to the <a href="#dataTransferProgress">dataTransferProgress</a>() signal. Bear @@ -203,10 +203,10 @@ single <a href="tqnetworkoperation.html">TQNetworkOperation</a>, but rather a li the order: <a href="#get">get</a>(), <a href="#put">put</a>() and (if applicable) remove(). <p> <p>See also <a href="#get">get</a>() and <a href="#put">put</a>(). -<h3 class=fn>void <a name="copy-2"></a>TQUrlOperator::copy ( const <a href="tqstringlist.html">TQStringList</a> & files, const <a href="tqstring.html">TQString</a> & dest, bool move = FALSE )<tt> [virtual]</tt> +<h3 class=fn>void <a name="copy-2"></a>TQUrlOperator::copy ( const <a href="tqstringlist.html">TQStringList</a> & files, const <a href="tqstring.html">TQString</a> & dest, bool move = false )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Copies the <em>files</em> to the directory <em>dest</em>. If <em>move</em> is TRUE +<p> Copies the <em>files</em> to the directory <em>dest</em>. If <em>move</em> is true the files are moved, not copied. <em>dest</em> must point to a directory. <p> This function calls <a href="#copy">copy</a>() for each entry in <em>files</em> in turn. You @@ -320,11 +320,11 @@ finished <a href="#listChildren">listChildren</a>() operation. <h3 class=fn>bool <a name="isDir"></a>TQUrlOperator::isDir ( bool * ok = 0 )<tt> [virtual]</tt> </h3> -Returns TRUE if the URL is a directory; otherwise returns FALSE. +Returns true if the URL is a directory; otherwise returns false. This may not always work correctly, if the protocol of the URL is something other than file (local filesystem). If you pass a bool -pointer as the <em>ok</em> argument, <em>*ok</em> is set to TRUE if the result -of this function is known to be correct, and to FALSE otherwise. +pointer as the <em>ok</em> argument, <em>*ok</em> is set to true if the result +of this function is known to be correct, and to false otherwise. <h3 class=fn>void <a name="itemChanged"></a>TQUrlOperator::itemChanged ( <a href="tqnetworkoperation.html">TQNetworkOperation</a> * op )<tt> [signal]</tt> </h3> |