summaryrefslogtreecommitdiffstats
path: root/src/tools/qdir.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/tools/qdir.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 17b748510..4079b7ea5 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;
}