diff options
Diffstat (limited to 'doc/html/tqdir.html')
-rw-r--r-- | doc/html/tqdir.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/tqdir.html b/doc/html/tqdir.html index bd578e9a1..604502d3c 100644 --- a/doc/html/tqdir.html +++ b/doc/html/tqdir.html @@ -135,7 +135,7 @@ common paths is provided with the static functions, <a href="#current">current</ <a href="#home">home</a>() and <a href="#root">root</a>() which return TQDir objects or currentDirPath(), <a href="#homeDirPath">homeDirPath</a>() and <a href="#rootDirPath">rootDirPath</a>() which return the path as a string. If you want to know about your application's path use -<a href="ntqapplication.html#applicationDirPath">TQApplication::applicationDirPath</a>(). +<a href="tqapplication.html#applicationDirPath">TQApplication::applicationDirPath</a>(). <p> The number of entries in a directory is returned by <a href="#count">count</a>(). Obtain a string list of the names of all the files and directories in a directory with <a href="#entryList">entryList</a>(). If you prefer a list of <a href="tqfileinfo.html">TQFileInfo</a> @@ -165,18 +165,18 @@ for a function in the underlying operating system use <pre> TQDir d( "example" ); // "./example" if ( !d.<a href="#exists">exists</a>() ) - <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot find the example directory" ); + <a href="tqapplication.html#qWarning">tqWarning</a>( "Cannot find the example directory" ); </pre> <p> Traversing directories and reading a file. <pre> TQDir d = TQDir::<a href="#root">root</a>(); // "/" if ( !d.<a href="#cd">cd</a>("tmp") ) { // "/tmp" - <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot find the \"/tmp\" directory" ); + <a href="tqapplication.html#qWarning">tqWarning</a>( "Cannot find the \"/tmp\" directory" ); } else { <a href="tqfile.html">TQFile</a> f( d.<a href="#filePath">filePath</a>("ex1.txt") ); // "/tmp/ex1.txt" if ( !f.<a href="tqfile.html#open">open</a>(IO_ReadWrite) ) - <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot create the file %s", f.<a href="tqfile.html#name">name</a>() ); + <a href="tqapplication.html#qWarning">tqWarning</a>( "Cannot create the file %s", f.<a href="tqfile.html#name">name</a>() ); } </pre> @@ -205,7 +205,7 @@ for a function in the underlying operating system use } </pre> -<p> <p>See also <a href="ntqapplication.html#applicationDirPath">TQApplication::applicationDirPath</a>() and <a href="io.html">Input/Output and Networking</a>. +<p> <p>See also <a href="tqapplication.html#applicationDirPath">TQApplication::applicationDirPath</a>() and <a href="io.html">Input/Output and Networking</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="FilterSpec-enum"></a>TQDir::FilterSpec</h3> @@ -583,7 +583,7 @@ this function returns FALSE. If you want to test for this use TQDir d( "/tmp/root_link" ); d = d.<a href="#canonicalPath">canonicalPath</a>(); if ( d.<a href="#isRoot">isRoot</a>() ) - <a href="ntqapplication.html#qWarning">tqWarning</a>( "It is a root link" ); + <a href="tqapplication.html#qWarning">tqWarning</a>( "It is a root link" ); </pre> <p> <p>See also <a href="#root">root</a>() and <a href="#rootDirPath">rootDirPath</a>(). @@ -639,7 +639,7 @@ FALSE. TQDir d1( "/usr/local/bin" ); TQDir d2( "bin" ); if ( d1 != d2 ) - <a href="ntqapplication.html#qDebug">tqDebug</a>( "They differ" ); + <a href="tqapplication.html#qDebug">tqDebug</a>( "They differ" ); </pre> @@ -664,7 +664,7 @@ returns FALSE. TQDir d2( "bin" ); d2.<a href="#convertToAbs">convertToAbs</a>(); if ( d1 == d2 ) - <a href="ntqapplication.html#qDebug">tqDebug</a>( "They're the same" ); + <a href="tqapplication.html#qDebug">tqDebug</a>( "They're the same" ); </pre> |