summaryrefslogtreecommitdiffstats
path: root/pyuic3/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:23:29 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:23:29 -0600
commit2dfc9a2950b3c7179ede2903d5713a8486cb0e8d (patch)
treec1725476af2ed61a0c705b9312311e971d3c07b6 /pyuic3/main.cpp
parent104997c6f7b545c0095fdc1b1573367bc4cb4d5b (diff)
downloadpytqt-2dfc9a2950b3c7179ede2903d5713a8486cb0e8d.tar.gz
pytqt-2dfc9a2950b3c7179ede2903d5713a8486cb0e8d.zip
Rename additional global TQt functions
Diffstat (limited to 'pyuic3/main.cpp')
-rw-r--r--pyuic3/main.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}