summaryrefslogtreecommitdiffstats
path: root/pylupdate3/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:23:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:23:29 -0600
commit2dfc9a2950b3c7179ede2903d5713a8486cb0e8d (patch)
treec1725476af2ed61a0c705b9312311e971d3c07b6 /pylupdate3/main.cpp
parent104997c6f7b545c0095fdc1b1573367bc4cb4d5b (diff)
downloadpytqt-2dfc9a2950b3c7179ede2903d5713a8486cb0e8d.tar.gz
pytqt-2dfc9a2950b3c7179ede2903d5713a8486cb0e8d.zip
Rename additional global TQt functions
Diffstat (limited to 'pylupdate3/main.cpp')
-rw-r--r--pylupdate3/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/pylupdate3/main.cpp b/pylupdate3/main.cpp
index 042fdc4..8b0c24c 100644
--- a/pylupdate3/main.cpp
+++ b/pylupdate3/main.cpp
@@ -51,7 +51,7 @@ typedef TQValueList<MetaTranslatorMessage> TML;
static void printUsage()
{
- qWarning( "Usage: pylupdate [options] file.pro...\n"
+ tqWarning( "Usage: pylupdate [options] file.pro...\n"
"Options:\n"
" -help Display this information and exits\n"
" -noobsolete\n"
@@ -80,14 +80,14 @@ int main( int argc, char **argv )
verbose = TRUE;
continue;
} else if ( qstrcmp(argv[i], "-version") == 0 ) {
- qWarning( "pylupdate version %s", TQT_VERSION_STR );
+ tqWarning( "pylupdate version %s", TQT_VERSION_STR );
return 0;
}
numProFiles++;
TQFile f( argv[i] );
if ( !f.open(IO_ReadOnly) ) {
- qWarning( "pylupdate error: Cannot open project file '%s': %s",
+ tqWarning( "pylupdate error: Cannot open project file '%s': %s",
argv[i], strerror(errno) );
return 1;
}
@@ -129,20 +129,20 @@ int main( int argc, char **argv )
if ( !codec.isEmpty() )
tor.setCodec( codec );
if ( verbose )
- qWarning( "Updating '%s'...", (*tf).latin1() );
+ tqWarning( "Updating '%s'...", (*tf).latin1() );
merge( &tor, &fetchedTor, verbose );
if ( noObsolete )
tor.stripObsoleteMessages();
tor.stripEmptyContexts();
if ( !tor.save(*tf) )
- qWarning( "pylupdate error: Cannot save '%s': %s", (*tf).latin1(),
+ tqWarning( "pylupdate error: Cannot save '%s': %s", (*tf).latin1(),
strerror(errno) );
}
if ( !metSomething ) {
- qWarning( "pylupdate warning: File '%s' does not look like a project"
+ tqWarning( "pylupdate warning: File '%s' does not look like a project"
" file", argv[i] );
} else if ( translatorFiles.isEmpty() ) {
- qWarning( "pylupdate warning: Met no 'TRANSLATIONS' entry in project"
+ tqWarning( "pylupdate warning: Met no 'TRANSLATIONS' entry in project"
" file '%s'", argv[i] );
}
}