diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
commit | 9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch) | |
tree | df1e10cc7504665622d096f9ba80dc9e56f3afb8 /src/tools/qdir.cpp | |
parent | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff) | |
download | qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip |
Undo prior accidental commit
Diffstat (limited to 'src/tools/qdir.cpp')
-rw-r--r-- | src/tools/qdir.cpp | 14 |
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; } |