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 03796cb..b3164d4 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() )
- tqWarning( "Cannot find the example directory" );
+ qWarning( "Cannot find the example directory" );
\endcode
Traversing directories and reading a file.
\code
QDir d = QDir::root(); // "/"
if ( !d.cd("tmp") ) { // "/tmp"
- tqWarning( "Cannot find the \"/tmp\" directory" );
+ qWarning( "Cannot find the \"/tmp\" directory" );
} else {
QFile f( d.filePath("ex1.txt") ); // "/tmp/ex1.txt"
if ( !f.open(IO_ReadWrite) )
- tqWarning( "Cannot create the file %s", f.name() );
+ qWarning( "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 )
- tqDebug( "They differ" );
+ qDebug( "They differ" );
\endcode
*/
@@ -1021,7 +1021,7 @@ QDir &QDir::operator=( const QString &path )
QDir d2( "bin" );
d2.convertToAbs();
if ( d1 == d2 )
- tqDebug( "They're the same" );
+ qDebug( "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)
- tqWarning( "QDir::remove: Empty or null file name" );
+ qWarning( "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)
- tqWarning( "QDir::exists: Empty or null file name" );
+ qWarning( "QDir::exists: Empty or null file name" );
#endif
return FALSE;
}