diff options
Diffstat (limited to 'tools/designer/uic/main.cpp')
| -rw-r--r-- | tools/designer/uic/main.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tools/designer/uic/main.cpp b/tools/designer/uic/main.cpp index af06821e2..bd0441c75 100644 --- a/tools/designer/uic/main.cpp +++ b/tools/designer/uic/main.cpp @@ -52,12 +52,12 @@ extern TQStringList *dbpaths; int main( int argc, char * argv[] ) { - bool impl = FALSE; - bool subcl = FALSE; - bool imagecollection = FALSE; - bool imagecollection_tmpfile = FALSE; + bool impl = false; + bool subcl = false; + bool imagecollection = false; + bool imagecollection_tmpfile = false; #if defined(UIB) - bool binary = FALSE; + bool binary = false; #endif TQStringList images; const char *error = 0; @@ -68,10 +68,10 @@ int main( int argc, char * argv[] ) TQCString image_tmpfile; const char* projectName = 0; const char* trmacro = 0; - bool nofwd = FALSE; - bool fix = FALSE; + bool nofwd = false; + bool fix = false; TQCString pchFile; - TQApplication app(argc, argv, FALSE); + TQApplication app(argc, argv, false); TQString keybase( "/TQt Designer/" + TQString::number( (TQT_VERSION >> 16) & 0xff ) +"." + TQString::number( (TQT_VERSION >> 8) & 0xff ) + "/" ); @@ -95,7 +95,7 @@ int main( int argc, char * argv[] ) } else outputFile = &opt[1]; } else if ( opt[0] == 'i' || opt == "impl" ) { - impl = TRUE; + impl = true; if ( opt == "impl" || opt[1] == '\0' ) { if ( !(n < argc-1) ) { error = "Missing name of header file"; @@ -105,7 +105,7 @@ int main( int argc, char * argv[] ) } else headerFile = &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"; @@ -116,21 +116,21 @@ int main( int argc, char * argv[] ) projectName = &opt[1]; } if ( argc > n+1 && qstrcmp( argv[n+1], "-f" ) == 0 ) { - imagecollection_tmpfile = TRUE; + imagecollection_tmpfile = true; image_tmpfile = argv[n+2]; n += 2; } #if defined(UIB) } else if ( opt == "binary" ) { - binary = TRUE; + binary = true; #endif } else if ( opt == "nofwd" ) { - nofwd = TRUE; + nofwd = true; } else if ( opt == "nounload" ) { - dbnounload = TRUE; + dbnounload = true; } else if ( opt == "subdecl" ) { - subcl = TRUE; + subcl = true; if ( !(n < argc-2) ) { error = "Missing arguments"; break; @@ -138,8 +138,8 @@ int main( int argc, char * argv[] ) className = argv[++n]; headerFile = argv[++n]; } else if ( opt == "subimpl" ) { - subcl = TRUE; - impl = TRUE; + subcl = true; + impl = true; if ( !(n < argc-2) ) { error = "Missing arguments"; break; @@ -174,7 +174,7 @@ int main( int argc, char * argv[] ) } else if ( opt == "help" ) { break; } else if ( opt == "fix" ) { - fix = TRUE; + fix = true; } else if ( opt == "pch") { if ( !(n < argc-1) ) { error = "Missing name of PCH file"; |
