summaryrefslogtreecommitdiffstats
path: root/pytqlupdate3/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pytqlupdate3/main.cpp')
-rw-r--r--pytqlupdate3/main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/pytqlupdate3/main.cpp b/pytqlupdate3/main.cpp
index f024072..87b2a68 100644
--- a/pytqlupdate3/main.cpp
+++ b/pytqlupdate3/main.cpp
@@ -64,9 +64,9 @@ static void printUsage()
int main( int argc, char **argv )
{
- bool verbose = FALSE;
- bool noObsolete = FALSE;
- bool metSomething = FALSE;
+ bool verbose = false;
+ bool noObsolete = false;
+ bool metSomething = false;
int numProFiles = 0;
for ( int i = 1; i < argc; i++ ) {
@@ -74,10 +74,10 @@ int main( int argc, char **argv )
printUsage();
return 0;
} else if ( qstrcmp(argv[i], "-noobsolete") == 0 ) {
- noObsolete = TRUE;
+ noObsolete = true;
continue;
} else if ( qstrcmp(argv[i], "-verbose") == 0 ) {
- verbose = TRUE;
+ verbose = true;
continue;
} else if ( qstrcmp(argv[i], "-version") == 0 ) {
tqWarning( "pytqlupdate version %s", TQT_VERSION_STR );
@@ -112,11 +112,11 @@ int main( int argc, char **argv )
for ( t = toks.begin(); t != toks.end(); ++t ) {
if ( it.key() == TQString("SOURCES") ) {
fetchtr_py( *t, &fetchedTor,
- defaultContext, TRUE );
- metSomething = TRUE;
+ defaultContext, true );
+ metSomething = true;
} else if ( it.key() == TQString("TRANSLATIONS") ) {
translatorFiles.append( *t );
- metSomething = TRUE;
+ metSomething = true;
} else if ( it.key() == TQString("CODEC") ) {
codec = (*t).utf8();
}