summaryrefslogtreecommitdiffstats
path: root/pytqlupdate3/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:24:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 21:11:58 +0900
commit2d2a66210c4827dd2469d4fde55bf2c9aab81b5a (patch)
tree8a1b99c230b11fb6e679434055553504620119c7 /pytqlupdate3/main.cpp
parentf89d120a2d4982896f0b5c00cee347a010f609a9 (diff)
downloadpytqt-r14.1.4.tar.gz
pytqt-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6cbdd25dc4c6b0987636b37b2046b1b9464e3d60)
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();
}