diff options
Diffstat (limited to 'doc/html/ntqdir.html')
-rw-r--r-- | doc/html/ntqdir.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/ntqdir.html b/doc/html/ntqdir.html index 22feca597..5066c4f95 100644 --- a/doc/html/ntqdir.html +++ b/doc/html/ntqdir.html @@ -166,18 +166,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">qWarning</a>( "Cannot find the example directory" ); + <a href="ntqapplication.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">qWarning</a>( "Cannot find the \"/tmp\" directory" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot find the \"/tmp\" directory" ); } else { <a href="ntqfile.html">TQFile</a> f( d.<a href="#filePath">filePath</a>("ex1.txt") ); // "/tmp/ex1.txt" if ( !f.<a href="ntqfile.html#open">open</a>(IO_ReadWrite) ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "Cannot create the file %s", f.<a href="ntqfile.html#name">name</a>() ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot create the file %s", f.<a href="ntqfile.html#name">name</a>() ); } </pre> @@ -584,7 +584,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">qWarning</a>( "It is a root link" ); + <a href="ntqapplication.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>(). @@ -640,7 +640,7 @@ FALSE. TQDir d1( "/usr/local/bin" ); TQDir d2( "bin" ); if ( d1 != d2 ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "They differ" ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "They differ" ); </pre> @@ -665,7 +665,7 @@ returns FALSE. TQDir d2( "bin" ); d2.<a href="#convertToAbs">convertToAbs</a>(); if ( d1 == d2 ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "They're the same" ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "They're the same" ); </pre> |