summaryrefslogtreecommitdiffstats
path: root/src/tools/qdir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qdir.cpp')
-rw-r--r--src/tools/qdir.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/qdir.cpp b/src/tools/qdir.cpp
index 17b74851..4079b7ea 100644
--- a/src/tools/qdir.cpp
+++ b/src/tools/qdir.cpp
@@ -132,18 +132,18 @@ const bool CaseSensitiveFS = TRUE;
\code
TQDir d( "example" ); // "./example"
if ( !d.exists() )
- qWarning( "Cannot find the example directory" );
+ tqWarning( "Cannot find the example directory" );
\endcode
Traversing directories and reading a file.
\code
TQDir d = TQDir::root(); // "/"
if ( !d.cd("tmp") ) { // "/tmp"
- qWarning( "Cannot find the \"/tmp\" directory" );
+ tqWarning( "Cannot find the \"/tmp\" directory" );
} else {
TQFile f( d.filePath("ex1.txt") ); // "/tmp/ex1.txt"
if ( !f.open(IO_ReadWrite) )
- qWarning( "Cannot create the file %s", f.name() );
+ tqWarning( "Cannot create the file %s", f.name() );
}
\endcode
@@ -1005,7 +1005,7 @@ TQDir &TQDir::operator=( const TQString &path )
TQDir d1( "/usr/local/bin" );
TQDir d2( "bin" );
if ( d1 != d2 )
- qDebug( "They differ" );
+ tqDebug( "They differ" );
\endcode
*/
@@ -1021,7 +1021,7 @@ TQDir &TQDir::operator=( const TQString &path )
TQDir d2( "bin" );
d2.convertToAbs();
if ( d1 == d2 )
- qDebug( "They're the same" );
+ tqDebug( "They're the same" );
\endcode
*/
@@ -1051,7 +1051,7 @@ bool TQDir::remove( const TQString &fileName, bool acceptAbsPath )
{
if ( fileName.isEmpty() ) {
#if defined(QT_CHECK_NULL)
- qWarning( "TQDir::remove: Empty or null file name" );
+ tqWarning( "TQDir::remove: Empty or null file name" );
#endif
return FALSE;
}
@@ -1076,7 +1076,7 @@ bool TQDir::exists( const TQString &name, bool acceptAbsPath ) //### const in 4.
{
if ( name.isEmpty() ) {
#if defined(QT_CHECK_NULL)
- qWarning( "TQDir::exists: Empty or null file name" );
+ tqWarning( "TQDir::exists: Empty or null file name" );
#endif
return FALSE;
}