summaryrefslogtreecommitdiffstats
path: root/doc/html/desktop-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-16 17:42:59 +0900
commit4d495175043c399fdca6e1bb4c74ef176fc76fb4 (patch)
tree119a6d76d177dade68b3744cb660fe26b33c9864 /doc/html/desktop-example.html
parentcf2c8613706a3685266058db00c0e9f632c5bd24 (diff)
downloadtqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.tar.gz
tqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.zip
Replace TRUE/FALSE with boolean values true/false - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/desktop-example.html')
-rw-r--r--doc/html/desktop-example.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/desktop-example.html b/doc/html/desktop-example.html
index 491aaee96..32beabee8 100644
--- a/doc/html/desktop-example.html
+++ b/doc/html/desktop-example.html
@@ -351,10 +351,10 @@ int main( int argc, char **argv )
<a name="x1724"></a> app.<a href="tqapplication.html#setFont">setFont</a>( f );
}
- bool validOptions = FALSE;
+ bool validOptions = false;
if ( argc == 2 ) {
- validOptions = TRUE;
+ validOptions = true;
if ( strcmp(argv[1],"-poly") == 0 )
poly();
else if ( strcmp(argv[1],"-rotate") == 0 )
@@ -364,16 +364,16 @@ int main( int argc, char **argv )
else if ( strcmp(argv[1],"-trollwidget") == 0 )
desktopWidget();
else
- validOptions = FALSE;
+ validOptions = false;
}
if ( argc == 3 ) {
- validOptions = TRUE;
+ validOptions = true;
if ( strcmp(argv[1],"-shadetext") == 0 )
desktopText( argv[2] );
else if ( strcmp(argv[1],"-shadewidget") == 0 )
desktopWidget( argv[2] );
else
- validOptions = FALSE;
+ validOptions = false;
}
if ( !validOptions ) {
fprintf( stderr, "Usage:\n\tdesktop -poly"