summaryrefslogtreecommitdiffstats
path: root/pylupdate3/main.cpp
diff options
context:
space:
mode:
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] );
}
}