diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 13:24:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 21:11:58 +0900 |
commit | 2d2a66210c4827dd2469d4fde55bf2c9aab81b5a (patch) | |
tree | 8a1b99c230b11fb6e679434055553504620119c7 /pytquic3/main.cpp | |
parent | f89d120a2d4982896f0b5c00cee347a010f609a9 (diff) | |
download | pytqt-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 'pytquic3/main.cpp')
-rw-r--r-- | pytquic3/main.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pytquic3/main.cpp b/pytquic3/main.cpp index 826b1ef..9c463e4 100644 --- a/pytquic3/main.cpp +++ b/pytquic3/main.cpp @@ -36,17 +36,17 @@ int main( int argc, char * argv[] ) { PyIndent indent; - bool testCode = FALSE, execCode = FALSE; - bool subcl = FALSE; - bool imagecollection = FALSE; + bool testCode = false, execCode = false; + bool subcl = false; + bool imagecollection = false; TQStringList images; const char *error = 0; const char* fileName = 0; TQCString outputFile; const char* projectName = 0; const char* trmacro = 0; - bool fix = FALSE; - TQApplication app(argc, argv, FALSE); + bool fix = false; + TQApplication app(argc, argv, false); TQString className, uicClass; for ( int n = 1; n < argc && error == 0; n++ ) { @@ -63,7 +63,7 @@ int main( int argc, char * argv[] ) } else outputFile = &opt[1]; } else if ( opt[0] == 'e' || opt == "embed" ) { - imagecollection = TRUE; + imagecollection = true; if ( opt == "embed" || opt[1] == '\0' ) { if ( !(n < argc-1) ) { error = "Missing name of project"; @@ -73,7 +73,7 @@ int main( int argc, char * argv[] ) } else projectName = &opt[1]; } else if ( opt == "subimpl" ) { - subcl = TRUE; + subcl = true; if ( !(n < argc-1) ) { error = "Missing class name"; break; @@ -97,7 +97,7 @@ int main( int argc, char * argv[] ) } else if ( opt == "help" ) { break; } else if ( opt == "fix" ) { - fix = TRUE; + fix = true; } else if ( opt[0] == 'p' ) { uint tabstop; bool ok; @@ -116,9 +116,9 @@ int main( int argc, char * argv[] ) else error = "Invalid Python indent"; } else if ( opt == "test" ) { - testCode = TRUE; + testCode = true; } else if ( opt == "x" ) { - execCode = TRUE; + execCode = true; } else { error = "Unrecognized option"; } |