summaryrefslogtreecommitdiffstats
path: root/src/tools/qfile.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-13 17:43:39 -0600
committerTimothy Pearson <[email protected]>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/tools/qfile.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
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 {