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 b6da559..30e7a43 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)
- qWarning( "QFile::remove: Empty or null file name" );
+ tqWarning( "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)
- qWarning( "QFile::open: File already open" );
+ tqWarning( "QFile::open: File already open" );
#endif
return FALSE;
}
if ( fn.isEmpty() ) { // no file name defined
#if defined(QT_CHECK_NULL)
- qWarning( "QFile::open: No file name specified" );
+ tqWarning( "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)
- qWarning( "QFile::open: File access not specified" );
+ tqWarning( "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)
- qWarning( "QFile::open: File already open" );
+ tqWarning( "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)
- qWarning( "QFile::open: File already open" );
+ tqWarning( "QFile::open: File already open" );
#endif
return FALSE;
}
@@ -508,7 +508,7 @@ bool QFile::at( Offset pos )
{
if ( !isOpen() ) {
#if defined(QT_CHECK_STATE)
- qWarning( "QFile::at: File is not open" );
+ tqWarning( "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)
- qWarning( "QFile::at: Cannot set file position %lld", pos );
+ tqWarning( "QFile::at: Cannot set file position %lld", pos );
#else
- qWarning( "QFile::at: Cannot set file position %lu", pos );
+ tqWarning( "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 )
- qWarning( "QFile::readBlock: Null pointer error" );
+ tqWarning( "QFile::readBlock: Null pointer error" );
#endif
#if defined(QT_CHECK_STATE)
if ( !isOpen() ) {
- qWarning( "QFile::readBlock: File not open" );
+ tqWarning( "QFile::readBlock: File not open" );
return -1;
}
if ( !isReadable() ) {
- qWarning( "QFile::readBlock: Read operation not permitted" );
+ tqWarning( "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 )
- qWarning( "QFile::writeBlock: Null pointer error" );
+ tqWarning( "QFile::writeBlock: Null pointer error" );
#endif
#if defined(QT_CHECK_STATE)
if ( !isOpen() ) { // file not open
- qWarning( "QFile::writeBlock: File not open" );
+ tqWarning( "QFile::writeBlock: File not open" );
return -1;
}
if ( !isWritable() ) { // writing not permitted
- qWarning( "QFile::writeBlock: Write operation not permitted" );
+ tqWarning( "QFile::writeBlock: Write operation not permitted" );
return -1;
}
#endif