diff options
Diffstat (limited to 'doc/html/ntqfileinfo.html')
-rw-r--r-- | doc/html/ntqfileinfo.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/ntqfileinfo.html b/doc/html/ntqfileinfo.html index 0df6cb7b7..c6ab7caef 100644 --- a/doc/html/ntqfileinfo.html +++ b/doc/html/ntqfileinfo.html @@ -156,7 +156,7 @@ rights of the current user, you should use <a href="#isReadable">isReadable</a>( </h3> Constructs a new empty TQFileInfo. -<h3 class=fn><a name="TQFileInfo-2"></a>TQFileInfo::TQFileInfo ( const <a href="ntqstring.html">TQString</a> & file ) +<h3 class=fn><a name="TQFileInfo-2"></a>TQFileInfo::TQFileInfo ( const <a href="tqstring.html">TQString</a> & file ) </h3> Constructs a new TQFileInfo that gives information about the given file. The <em>file</em> can also include an absolute or relative path. @@ -171,7 +171,7 @@ Constructs a new TQFileInfo that gives information about file <em>file</em>. relative path. <p> <p>See also <a href="#isRelative">isRelative</a>(). -<h3 class=fn><a name="TQFileInfo-4"></a>TQFileInfo::TQFileInfo ( const <a href="ntqdir.html">TQDir</a> & d, const <a href="ntqstring.html">TQString</a> & fileName ) +<h3 class=fn><a name="TQFileInfo-4"></a>TQFileInfo::TQFileInfo ( const <a href="ntqdir.html">TQDir</a> & d, const <a href="tqstring.html">TQString</a> & fileName ) </h3> Constructs a new TQFileInfo that gives information about the file called <em>fileName</em> in the directory <em>d</em>. @@ -187,7 +187,7 @@ Constructs a new TQFileInfo that is a copy of <em>fi</em>. </h3> Destroys the TQFileInfo and frees its resources. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="absFilePath"></a>TQFileInfo::absFilePath () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="absFilePath"></a>TQFileInfo::absFilePath () const </h3> Returns the absolute path including the file name. <p> The absolute path name consists of the full path and the file @@ -203,7 +203,7 @@ milliseconds). <p> <p>See also <a href="#isRelative">isRelative</a>() and <a href="#filePath">filePath</a>(). <p>Examples: <a href="biff-example.html#x1954">biff/biff.cpp</a> and <a href="fileiconview-example.html#x820">fileiconview/qfileiconview.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="baseName"></a>TQFileInfo::baseName ( bool complete = FALSE ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="baseName"></a>TQFileInfo::baseName ( bool complete = FALSE ) const </h3> Returns the base name of the file. <p> If <em>complete</em> is FALSE (the default) the base name consists of @@ -214,7 +214,7 @@ the file up to (but not including) the <em>last</em> '.' character. <p> Example: <pre> TQFileInfo fi( "/tmp/archive.tar.gz" ); - <a href="ntqstring.html">TQString</a> base = fi.<a href="#baseName">baseName</a>(); // base = "archive" + <a href="tqstring.html">TQString</a> base = fi.<a href="#baseName">baseName</a>(); // base = "archive" base = fi.<a href="#baseName">baseName</a>( TRUE ); // base = "archive.tar" </pre> @@ -247,7 +247,7 @@ will be relative; otherwise it will be absolute. <p> <p>See also <a href="#dirPath">dirPath</a>(), <a href="#filePath">filePath</a>(), <a href="#fileName">fileName</a>(), and <a href="#isRelative">isRelative</a>(). <p>Example: <a href="fileiconview-example.html#x821">fileiconview/qfileiconview.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="dirPath"></a>TQFileInfo::dirPath ( bool absPath = FALSE ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="dirPath"></a>TQFileInfo::dirPath ( bool absPath = FALSE ) const </h3> Returns the file's path. <p> If <em>absPath</em> is TRUE an absolute path is returned. @@ -259,7 +259,7 @@ Returns the file's path. Returns TRUE if the file exists; otherwise returns FALSE. <p>Examples: <a href="biff-example.html#x1955">biff/biff.cpp</a>, <a href="distributor-example.html#x2661">distributor/distributor.ui.h</a>, and <a href="i18n-example.html#x1937">i18n/main.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="extension"></a>TQFileInfo::extension ( bool complete = TRUE ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="extension"></a>TQFileInfo::extension ( bool complete = TRUE ) const </h3> Returns the file's extension name. <p> If <em>complete</em> is TRUE (the default), <a href="#extension">extension</a>() returns the @@ -271,36 +271,36 @@ character. <p> Example: <pre> TQFileInfo fi( "/tmp/archive.tar.gz" ); - <a href="ntqstring.html">TQString</a> ext = fi.<a href="#extension">extension</a>(); // ext = "tar.gz" + <a href="tqstring.html">TQString</a> ext = fi.<a href="#extension">extension</a>(); // ext = "tar.gz" ext = fi.<a href="#extension">extension</a>( FALSE ); // ext = "gz" </pre> <p> <p>See also <a href="#fileName">fileName</a>() and <a href="#baseName">baseName</a>(). <p>Example: <a href="qdir-example.html#x1823">qdir/qdir.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="fileName"></a>TQFileInfo::fileName () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="fileName"></a>TQFileInfo::fileName () const </h3> Returns the name of the file, excluding the path. <p> Example: <pre> TQFileInfo fi( "/tmp/archive.tar.gz" ); - <a href="ntqstring.html">TQString</a> name = fi.<a href="#fileName">fileName</a>(); // name = "archive.tar.gz" + <a href="tqstring.html">TQString</a> name = fi.<a href="#fileName">fileName</a>(); // name = "archive.tar.gz" </pre> <p> <p>See also <a href="#isRelative">isRelative</a>(), <a href="#filePath">filePath</a>(), <a href="#baseName">baseName</a>(), and <a href="#extension">extension</a>(). <p>Examples: <a href="dirview-example.html#x1675">dirview/dirview.cpp</a>, <a href="fileiconview-example.html#x823">fileiconview/qfileiconview.cpp</a>, and <a href="ftpclient-example.html#x743">network/ftpclient/ftpmainwindow.ui.h</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="filePath"></a>TQFileInfo::filePath () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="filePath"></a>TQFileInfo::filePath () const </h3> Returns the file name, including the path (which may be absolute or relative). <p> <p>See also <a href="#isRelative">isRelative</a>() and <a href="#absFilePath">absFilePath</a>(). <p>Examples: <a href="dirview-example.html#x1713">dirview/main.cpp</a> and <a href="fileiconview-example.html#x824">fileiconview/qfileiconview.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="group"></a>TQFileInfo::group () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="group"></a>TQFileInfo::group () const </h3> Returns the group of the file. On Windows, on systems where files -do not have groups, or if an error occurs, <a href="ntqstring.html#TQString-null">TQString::null</a> is +do not have groups, or if an error occurs, <a href="tqstring.html#TQString-null">TQString::null</a> is returned. <p> This function can be time consuming under Unix (in the order of milliseconds). @@ -384,10 +384,10 @@ same as <a href="#lastModified">lastModified</a>(). </h3> Makes a copy of <em>fi</em> and assigns it to this TQFileInfo. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="owner"></a>TQFileInfo::owner () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="owner"></a>TQFileInfo::owner () const </h3> Returns the owner of the file. On systems where files -do not have owners, or if an error occurs, <a href="ntqstring.html#TQString-null">TQString::null</a> is +do not have owners, or if an error occurs, <a href="tqstring.html#TQString-null">TQString::null</a> is returned. <p> This function can be time consuming under Unix (in the order of milliseconds). @@ -418,10 +418,10 @@ always returns TRUE. <p> <p>See also <a href="#isReadable">isReadable</a>(), <a href="#isWritable">isWritable</a>(), and <a href="#isExecutable">isExecutable</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="readLink"></a>TQFileInfo::readLink () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="readLink"></a>TQFileInfo::readLink () const </h3> Returns the name a symlink (or shortcut on Windows) points to, or -a <a href="ntqstring.html#TQString-null">TQString::null</a> if the object isn't a symbolic link. +a <a href="tqstring.html#TQString-null">TQString::null</a> if the object isn't a symbolic link. <p> This name may not represent an existing file; it is only a string. <a href="#exists">TQFileInfo::exists</a>() returns TRUE if the symlink points to an existing file. @@ -442,7 +442,7 @@ later. <p> Caching is enabled by default. <p> <p>See also <a href="#refresh">refresh</a>() and <a href="#caching">caching</a>(). -<h3 class=fn>void <a name="setFile"></a>TQFileInfo::setFile ( const <a href="ntqstring.html">TQString</a> & file ) +<h3 class=fn>void <a name="setFile"></a>TQFileInfo::setFile ( const <a href="tqstring.html">TQString</a> & file ) </h3> Sets the file that the TQFileInfo provides information about to <em>file</em>. <p> The <em>file</em> can also include an absolute or relative file path. @@ -452,8 +452,8 @@ names begin with a directory name or a file name and specify a path relative to the current directory. <p> Example: <pre> - <a href="ntqstring.html">TQString</a> absolute = "/local/bin"; - <a href="ntqstring.html">TQString</a> relative = "local/bin"; + <a href="tqstring.html">TQString</a> absolute = "/local/bin"; + <a href="tqstring.html">TQString</a> relative = "local/bin"; TQFileInfo absFile( absolute ); TQFileInfo relFile( relative ); @@ -476,7 +476,7 @@ This is an overloaded member function, provided for convenience. It behaves esse a relative path. <p> <p>See also <a href="#isRelative">isRelative</a>(). -<h3 class=fn>void <a name="setFile-3"></a>TQFileInfo::setFile ( const <a href="ntqdir.html">TQDir</a> & d, const <a href="ntqstring.html">TQString</a> & fileName ) +<h3 class=fn>void <a name="setFile-3"></a>TQFileInfo::setFile ( const <a href="ntqdir.html">TQDir</a> & d, const <a href="tqstring.html">TQString</a> & fileName ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the file that the TQFileInfo provides information about to <em>fileName</em> in directory <em>d</em>. |