summaryrefslogtreecommitdiffstats
path: root/src/tools/qfile_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qfile_unix.cpp')
-rw-r--r--src/tools/qfile_unix.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/tools/qfile_unix.cpp b/src/tools/qfile_unix.cpp
index 30e7a43..b6da559 100644
--- a/src/tools/qfile_unix.cpp
+++ b/src/tools/qfile_unix.cpp
@@ -75,7 +75,7 @@ bool QFile::remove( const QString &fileName )
{
if ( fileName.isEmpty() ) {
#if defined(QT_CHECK_NULL)
- tqWarning( "QFile::remove: Empty or null file name" );
+ qWarning( "QFile::remove: Empty or null file name" );
#endif
return FALSE;
}
@@ -168,13 +168,13 @@ bool QFile::open( int m )
{
if ( isOpen() ) { // file already open
#if defined(QT_CHECK_STATE)
- tqWarning( "QFile::open: File already open" );
+ qWarning( "QFile::open: File already open" );
#endif
return FALSE;
}
if ( fn.isEmpty() ) { // no file name defined
#if defined(QT_CHECK_NULL)
- tqWarning( "QFile::open: No file name specified" );
+ qWarning( "QFile::open: No file name specified" );
#endif
return FALSE;
}
@@ -182,7 +182,7 @@ bool QFile::open( int m )
setMode( m );
if ( !(isReadable() || isWritable()) ) {
#if defined(QT_CHECK_RANGE)
- tqWarning( "QFile::open: File access not specified" );
+ qWarning( "QFile::open: File access not specified" );
#endif
return FALSE;
}
@@ -340,7 +340,7 @@ bool QFile::open( int m, FILE *f )
{
if ( isOpen() ) {
#if defined(QT_CHECK_RANGE)
- tqWarning( "QFile::open: File already open" );
+ qWarning( "QFile::open: File already open" );
#endif
return FALSE;
}
@@ -412,7 +412,7 @@ bool QFile::open( int m, int f )
{
if ( isOpen() ) {
#if defined(QT_CHECK_RANGE)
- tqWarning( "QFile::open: File already open" );
+ qWarning( "QFile::open: File already open" );
#endif
return FALSE;
}
@@ -508,7 +508,7 @@ bool QFile::at( Offset pos )
{
if ( !isOpen() ) {
#if defined(QT_CHECK_STATE)
- tqWarning( "QFile::at: File is not open" );
+ qWarning( "QFile::at: File is not open" );
#endif
return FALSE;
}
@@ -535,9 +535,9 @@ bool QFile::at( Offset pos )
#if defined(QT_CHECK_RANGE)
else
#if defined(QT_ABI_QT4)
- tqWarning( "QFile::at: Cannot set file position %lld", pos );
+ qWarning( "QFile::at: Cannot set file position %lld", pos );
#else
- tqWarning( "QFile::at: Cannot set file position %lu", pos );
+ qWarning( "QFile::at: Cannot set file position %lu", pos );
#endif
#endif
return ok;
@@ -560,15 +560,15 @@ Q_LONG QFile::readBlock( char *p, Q_ULONG len )
#if defined(QT_CHECK_NULL)
if ( !p )
- tqWarning( "QFile::readBlock: Null pointer error" );
+ qWarning( "QFile::readBlock: Null pointer error" );
#endif
#if defined(QT_CHECK_STATE)
if ( !isOpen() ) {
- tqWarning( "QFile::readBlock: File not open" );
+ qWarning( "QFile::readBlock: File not open" );
return -1;
}
if ( !isReadable() ) {
- tqWarning( "QFile::readBlock: Read operation not permitted" );
+ qWarning( "QFile::readBlock: Read operation not permitted" );
return -1;
}
#endif
@@ -629,15 +629,15 @@ Q_LONG QFile::writeBlock( const char *p, Q_ULONG len )
#if defined(QT_CHECK_NULL)
if ( p == 0 && len != 0 )
- tqWarning( "QFile::writeBlock: Null pointer error" );
+ qWarning( "QFile::writeBlock: Null pointer error" );
#endif
#if defined(QT_CHECK_STATE)
if ( !isOpen() ) { // file not open
- tqWarning( "QFile::writeBlock: File not open" );
+ qWarning( "QFile::writeBlock: File not open" );
return -1;
}
if ( !isWritable() ) { // writing not permitted
- tqWarning( "QFile::writeBlock: Write operation not permitted" );
+ qWarning( "QFile::writeBlock: Write operation not permitted" );
return -1;
}
#endif