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 b3164d4..03796cb 100644
--- a/src/tools/qdir.cpp
+++ b/src/tools/qdir.cpp
@@ -132,18 +132,18 @@ const bool CaseSensitiveFS = TRUE;
\code
QDir 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
QDir d = QDir::root(); // "/"
if ( !d.cd("tmp") ) { // "/tmp"
- qWarning( "Cannot find the \"/tmp\" directory" );
+ tqWarning( "Cannot find the \"/tmp\" directory" );
} else {
QFile 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 @@ QDir &QDir::operator=( const QString &path )
QDir d1( "/usr/local/bin" );
QDir d2( "bin" );
if ( d1 != d2 )
- qDebug( "They differ" );
+ tqDebug( "They differ" );
\endcode
*/
@@ -1021,7 +1021,7 @@ QDir &QDir::operator=( const QString &path )
QDir d2( "bin" );
d2.convertToAbs();
if ( d1 == d2 )
- qDebug( "They're the same" );
+ tqDebug( "They're the same" );
\endcode
*/
@@ -1051,7 +1051,7 @@ bool QDir::remove( const QString &fileName, bool acceptAbsPath )
{
if ( fileName.isEmpty() ) {
#if defined(QT_CHECK_NULL)
- qWarning( "QDir::remove: Empty or null file name" );
+ tqWarning( "QDir::remove: Empty or null file name" );
#endif
return FALSE;
}
@@ -1076,7 +1076,7 @@ bool QDir::exists( const QString &name, bool acceptAbsPath ) //### const in 4.0
{
if ( name.isEmpty() ) {
#if defined(QT_CHECK_NULL)
- qWarning( "QDir::exists: Empty or null file name" );
+ tqWarning( "QDir::exists: Empty or null file name" );
#endif
return FALSE;
}