diff options
Diffstat (limited to 'pyuic3')
-rw-r--r-- | pyuic3/embed.cpp | 2 | ||||
-rw-r--r-- | pyuic3/main.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp index 17efd0d..410a0d8 100644 --- a/pyuic3/embed.cpp +++ b/pyuic3/embed.cpp @@ -67,7 +67,7 @@ static TQString convertToCIdentifier( const char *s ) static ulong embedData( TQTextStream& out, const uchar* input, int nbytes ) { #ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION - TQByteArray bazip( qCompress( input, nbytes ) ); + TQByteArray bazip( tqCompress( input, nbytes ) ); uint len = bazip.size(); #else uint len = (uint)nbytes; diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp index c38980d..b1c1fdb 100644 --- a/pyuic3/main.cpp +++ b/pyuic3/main.cpp @@ -165,7 +165,7 @@ int main( int argc, char * argv[] ) if ( !outputFile.isEmpty() ) { fileOut.setName( outputFile ); if (!fileOut.open( IO_WriteOnly ) ) - qFatal( "pyuic: Could not open output file '%s'", outputFile.data() ); + tqFatal( "pyuic: Could not open output file '%s'", outputFile.data() ); } else { fileOut.open( IO_WriteOnly, stdout ); } @@ -182,17 +182,17 @@ int main( int argc, char * argv[] ) out.setEncoding( TQTextStream::UnicodeUTF8 ); TQFile file( fileName ); if ( !file.open( IO_ReadOnly ) ) - qFatal( "pyuic: Could not open file '%s' ", fileName ); + tqFatal( "pyuic: Could not open file '%s' ", fileName ); TQDomDocument doc; TQString errMsg; int errLine; if ( !doc.setContent( &file, &errMsg, &errLine ) ) - qFatal( TQString("pyuic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine ); + tqFatal( TQString("pyuic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine ); TQDomElement e = doc.firstChild().toElement(); if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) { - qWarning( TQString("pyuic: File generated with too recent version of TQt Designer (%s vs. %s)"), + tqWarning( TQString("pyuic: File generated with too recent version of TQt Designer (%s vs. %s)"), e.attribute("version").latin1(), TQT_VERSION_STR ); return 1; } |