summaryrefslogtreecommitdiffstats
path: root/src/tools/qfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qfile.cpp')
-rw-r--r--src/tools/qfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qfile.cpp b/src/tools/qfile.cpp
index ab5248fe9..dc0a2427e 100644
--- a/src/tools/qfile.cpp
+++ b/src/tools/qfile.cpp
@@ -371,7 +371,7 @@ Q_LONG TQFile::readLine( char *p, Q_ULONG maxlen )
if ( maxlen == 0 ) // application bug?
return 0;
#if defined(QT_CHECK_STATE)
- Q_CHECK_PTR( p );
+ TQ_CHECK_PTR( p );
if ( !isOpen() ) { // file not open
qWarning( "TQFile::readLine: File not open" );
return -1;
@@ -387,7 +387,7 @@ Q_LONG TQFile::readLine( char *p, Q_ULONG maxlen )
} else { // buffered file
p = fgets( p, maxlen, fh );
if ( p ) {
- nread = qstrlen( p );
+ nread = tqstrlen( p );
if ( !isSequentialAccess() )
ioIndex += nread;
} else {