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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tools/qfile.cpp b/src/tools/qfile.cpp
index 78c08c7dd..eee256836 100644
--- a/src/tools/qfile.cpp
+++ b/src/tools/qfile.cpp
@@ -247,7 +247,7 @@ void TQFile::setName( const TQString &name )
{
if ( isOpen() ) {
#if defined(QT_CHECK_STATE)
- qWarning( "TQFile::setName: File is open" );
+ tqWarning( "TQFile::setName: File is open" );
#endif
close();
}
@@ -336,7 +336,7 @@ bool TQFile::atEnd() const
{
if ( !isOpen() ) {
#if defined(QT_CHECK_STATE)
- qWarning( "TQFile::atEnd: File is not open" );
+ tqWarning( "TQFile::atEnd: File is not open" );
#endif
return FALSE;
}
@@ -373,11 +373,11 @@ Q_LONG TQFile::readLine( char *p, Q_ULONG maxlen )
#if defined(QT_CHECK_STATE)
TQ_CHECK_PTR( p );
if ( !isOpen() ) { // file not open
- qWarning( "TQFile::readLine: File not open" );
+ tqWarning( "TQFile::readLine: File not open" );
return -1;
}
if ( !isReadable() ) { // reading not permitted
- qWarning( "TQFile::readLine: Read operation not permitted" );
+ tqWarning( "TQFile::readLine: Read operation not permitted" );
return -1;
}
#endif
@@ -444,11 +444,11 @@ int TQFile::getch()
{
#if defined(QT_CHECK_STATE)
if ( !isOpen() ) { // file not open
- qWarning( "TQFile::getch: File not open" );
+ tqWarning( "TQFile::getch: File not open" );
return EOF;
}
if ( !isReadable() ) { // reading not permitted
- qWarning( "TQFile::getch: Read operation not permitted" );
+ tqWarning( "TQFile::getch: Read operation not permitted" );
return EOF;
}
#endif
@@ -489,11 +489,11 @@ int TQFile::putch( int ch )
{
#if defined(QT_CHECK_STATE)
if ( !isOpen() ) { // file not open
- qWarning( "TQFile::putch: File not open" );
+ tqWarning( "TQFile::putch: File not open" );
return EOF;
}
if ( !isWritable() ) { // writing not permitted
- qWarning( "TQFile::putch: Write operation not permitted" );
+ tqWarning( "TQFile::putch: Write operation not permitted" );
return EOF;
}
#endif
@@ -530,11 +530,11 @@ int TQFile::ungetch( int ch )
{
#if defined(QT_CHECK_STATE)
if ( !isOpen() ) { // file not open
- qWarning( "TQFile::ungetch: File not open" );
+ tqWarning( "TQFile::ungetch: File not open" );
return EOF;
}
if ( !isReadable() ) { // reading not permitted
- qWarning( "TQFile::ungetch: Read operation not permitted" );
+ tqWarning( "TQFile::ungetch: Read operation not permitted" );
return EOF;
}
#endif