summaryrefslogtreecommitdiffstats
path: root/tools/designer/uic/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /tools/designer/uic/main.cpp
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'tools/designer/uic/main.cpp')
-rw-r--r--tools/designer/uic/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/uic/main.cpp b/tools/designer/uic/main.cpp
index ace2033..6a8db05 100644
--- a/tools/designer/uic/main.cpp
+++ b/tools/designer/uic/main.cpp
@@ -265,7 +265,7 @@ int main( int argc, char * argv[] )
if ( !outputFile.isEmpty() ) {
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) ) {
- qWarning( "uic: Could not open output file '%s'", outputFile.data() );
+ tqWarning( "uic: Could not open output file '%s'", outputFile.data() );
return 1;
}
} else {
@@ -283,7 +283,7 @@ int main( int argc, char * argv[] )
QFile file( fileName );
if ( !file.open( IO_ReadOnly ) ) {
- qWarning( "uic: Could not open file '%s'", fileName );
+ tqWarning( "uic: Could not open file '%s'", fileName );
return 1;
}
@@ -291,13 +291,13 @@ int main( int argc, char * argv[] )
QString errMsg;
int errLine;
if ( !doc.setContent( &file, &errMsg, &errLine ) ) {
- qWarning( QString("uic: Failed to parse %s: ") + errMsg + QString (" in line %d"), fileName, errLine );
+ tqWarning( QString("uic: Failed to parse %s: ") + errMsg + QString (" in line %d"), fileName, errLine );
return 1;
}
QDomElement e = doc.firstChild().toElement();
if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) {
- qWarning( QString("uic: File generated with too recent version of Qt Designer (%s vs. %s)"),
+ tqWarning( QString("uic: File generated with too recent version of Qt Designer (%s vs. %s)"),
e.attribute("version").latin1(), QT_VERSION_STR );
return 1;
}
@@ -350,7 +350,7 @@ int main( int argc, char * argv[] )
out << "#endif // " << protector << endl;
}
if ( fileOut.status() != IO_Ok ) {
- qWarning( "uic: Error writing to file" );
+ tqWarning( "uic: Error writing to file" );
if ( !outputFile.isEmpty() )
remove( outputFile );
}