summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-16 14:47:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-16 15:04:27 +0900
commit87843223ab8cb466b09f6867aba997e7f053d380 (patch)
tree0043202f2505428fe072ce8ac9952709a97d9664
parent80003eb87bccb1b244b3023b0a97aae2a7d0e8ee (diff)
downloaduniversal-indent-gui-tqt-87843223ab8cb466b09f6867aba997e7f053d380.tar.gz
universal-indent-gui-tqt-87843223ab8cb466b09f6867aba997e7f053d380.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rwxr-xr-xindenters/uigui_greatcode.ini10
-rw-r--r--src/AboutDialog.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/indenters/uigui_greatcode.ini b/indenters/uigui_greatcode.ini
index 24c7a58..bafde34 100755
--- a/indenters/uigui_greatcode.ini
+++ b/indenters/uigui_greatcode.ini
@@ -302,7 +302,7 @@ ValueDefault=0
[code_decl_move_affect]
Category=2
-Description="<html>Move initialization in local variables declaration just after the<br> declaration.<br> Example :<pre><font face=\"courier new\" size=\"3\"> -code_decl_move_affect-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> void main(void)<br> {<br> int a = 0<br> int c = a + 1<br> }<br><br> after<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> void main(void)<br> {<br> int a<br> int c<br><br> a = 0 <= initializations has been moved<br> c = a + 1<br> }<br><br> Note(s) :<br> - Be careful because this option sometimes does not work well. That's<br> why it's set to FALSE by default.</font></pre></html>"
+Description="<html>Move initialization in local variables declaration just after the<br> declaration.<br> Example :<pre><font face=\"courier new\" size=\"3\"> -code_decl_move_affect-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> void main(void)<br> {<br> int a = 0<br> int c = a + 1<br> }<br><br> after<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> void main(void)<br> {<br> int a<br> int c<br><br> a = 0 <= initializations has been moved<br> c = a + 1<br> }<br><br> Note(s) :<br> - Be careful because this option sometimes does not work well. That's<br> why it's set to false by default.</font></pre></html>"
EditorType=boolean
TrueFalse=-code_decl_move_affect-|-no-code_decl_move_affect-
ValueDefault=0
@@ -316,7 +316,7 @@ ValueDefault=0
[code_decl_access_to_type]
Category=2
-Description="<html>Move * and & access specifier just after the type if TRUE. or<br> just before the name if FALSE.<br> Example :<pre><font face=\"courier new\" size=\"3\"> -code_decl_access_to_type-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> int** p<br> int function(int* b. int& ref)<br> {<br> }<br><br> -no-code_decl_access_to_type-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> int **p<br> int function(int *b. int &ref)<br> {<br> }</font></pre></html>"
+Description="<html>Move * and & access specifier just after the type if true. or<br> just before the name if false.<br> Example :<pre><font face=\"courier new\" size=\"3\"> -code_decl_access_to_type-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> int** p<br> int function(int* b. int& ref)<br> {<br> }<br><br> -no-code_decl_access_to_type-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> int **p<br> int function(int *b. int &ref)<br> {<br> }</font></pre></html>"
EditorType=boolean
TrueFalse=-code_decl_access_to_type-|-no-code_decl_access_to_type-
ValueDefault=0
@@ -337,7 +337,7 @@ ValueDefault=0
[code_wizard_indent]
Category=2
-Description="<html>Indent code between to devstudio appwizard special comments.<br> Example :<pre><font face=\"courier new\" size=\"3\"> -code_wizard_indent-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> class a<br> {<br> protected:<br> //{{AFX_MSG(CDocument)<br> enum a <= has been touched<br> {<br> id = 0<br> }<br> afx_msg void OnFileClose(void)<br> afx_msg void OnFileSave(void)<br> afx_msg void OnFileSaveAs(void)<br> //}}AFX_MSG<br> DECLARE_MESSAGE_MAP()<br> }<br><br> -no-code_wizard_indent-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> class a<br> {<br> protected:<br> //{{AFX_MSG(CDocument)<br> enum a { id = 0 } <= same as original file<br> afx_msg void OnFileClose(void)<br> afx_msg void OnFileSave(void)<br> afx_msg void OnFileSaveAs(void)<br> //}}AFX_MSG<br> DECLARE_MESSAGE_MAP()<br> }<br><br> Note(s) :<br> - This option must be set to FALSE if you want to indent special<br> appwizard headers with auto generated code. This is because touching<br> that code can make appwizard fail to recognize its special marks.<br> - This option can't be set in a source file with special comment<br> /*$O */</font></pre></html>"
+Description="<html>Indent code between to devstudio appwizard special comments.<br> Example :<pre><font face=\"courier new\" size=\"3\"> -code_wizard_indent-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> class a<br> {<br> protected:<br> //{{AFX_MSG(CDocument)<br> enum a <= has been touched<br> {<br> id = 0<br> }<br> afx_msg void OnFileClose(void)<br> afx_msg void OnFileSave(void)<br> afx_msg void OnFileSaveAs(void)<br> //}}AFX_MSG<br> DECLARE_MESSAGE_MAP()<br> }<br><br> -no-code_wizard_indent-<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br> class a<br> {<br> protected:<br> //{{AFX_MSG(CDocument)<br> enum a { id = 0 } <= same as original file<br> afx_msg void OnFileClose(void)<br> afx_msg void OnFileSave(void)<br> afx_msg void OnFileSaveAs(void)<br> //}}AFX_MSG<br> DECLARE_MESSAGE_MAP()<br> }<br><br> Note(s) :<br> - This option must be set to false if you want to indent special<br> appwizard headers with auto generated code. This is because touching<br> that code can make appwizard fail to recognize its special marks.<br> - This option can't be set in a source file with special comment<br> /*$O */</font></pre></html>"
EditorType=boolean
TrueFalse=-code_wizard_indent-|-no-code_wizard_indent-
ValueDefault=1
@@ -1316,14 +1316,14 @@ ValueDefault=<word to replace>$<replacement word>
[dependencies]
Category=6
-Description="<html>-d<pre><font face=\"courier new\" size=\"3\">ependencies- Activate/Deactivate the output of file dependencies.<br> With -dependencies_all- Real dependencies will be computed (instead of<br> just includes dependencies). This option takes much longer. but does a<br> better job.<br><br> -dependencies- is ignored if -dependencies_all- is set to TRUE.<br><br> typical report<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>Processing C:oulotCourcesndent.c (136 lines. 3360 characters)<br>Processing ctype.h<br>** Warning: Unable to open source file ==> ctype.h<br>Processing malloc.h<br>** Warning: Unable to open source file ==> malloc.h<br>Processing stdlib.h<br>** Warning: Unable to open source file ==> stdlib.h<br>Processing string.h<br>** Warning: Unable to open source file ==> string.h<br>Processing config.h<br>Processing in.h<br>Processing grammar.h<br>Processing lexi.h<br>Processing error.h<br>Processing tools.h<br>Processing indent.h<br>Processing assert.h<br>** Warning: Unable to open source file ==> assert.h<br>- Includes files --------------------------------------------------------<br>( 1) #include config.h<br>( 2) #include in.h<br>( 1) #include grammar.h<br>( 2) #include lexi.h<br>( 1) #include error.h<br>( 1) #include tools.h<br>( 1) #include indent.h<br>******** Unresolved 5 Total 12<br>- Scanning 1 ----------------------------------------------------------<br>.<br>- Direct dependencies ---------------------------------------------------<br>( 1) #include config.h<br>( 3) #include in.h<br>( 8) #include lexi.h<br>( 5) #include tools.h<br>( 21) #include indent.h<br>******** Total 5<br>- No dependencies -------------------------------------------------------<br>( 1) #include grammar.h<br>Included by C:oulotCourcesndent.c<br>( 1) #include error.h<br>Included by C:oulotCourcesndent.c<br>******** Total 2<br>-------------------------------------------------------------------------</font></pre></html>"
+Description="<html>-d<pre><font face=\"courier new\" size=\"3\">ependencies- Activate/Deactivate the output of file dependencies.<br> With -dependencies_all- Real dependencies will be computed (instead of<br> just includes dependencies). This option takes much longer. but does a<br> better job.<br><br> -dependencies- is ignored if -dependencies_all- is set to true.<br><br> typical report<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>Processing C:oulotCourcesndent.c (136 lines. 3360 characters)<br>Processing ctype.h<br>** Warning: Unable to open source file ==> ctype.h<br>Processing malloc.h<br>** Warning: Unable to open source file ==> malloc.h<br>Processing stdlib.h<br>** Warning: Unable to open source file ==> stdlib.h<br>Processing string.h<br>** Warning: Unable to open source file ==> string.h<br>Processing config.h<br>Processing in.h<br>Processing grammar.h<br>Processing lexi.h<br>Processing error.h<br>Processing tools.h<br>Processing indent.h<br>Processing assert.h<br>** Warning: Unable to open source file ==> assert.h<br>- Includes files --------------------------------------------------------<br>( 1) #include config.h<br>( 2) #include in.h<br>( 1) #include grammar.h<br>( 2) #include lexi.h<br>( 1) #include error.h<br>( 1) #include tools.h<br>( 1) #include indent.h<br>******** Unresolved 5 Total 12<br>- Scanning 1 ----------------------------------------------------------<br>.<br>- Direct dependencies ---------------------------------------------------<br>( 1) #include config.h<br>( 3) #include in.h<br>( 8) #include lexi.h<br>( 5) #include tools.h<br>( 21) #include indent.h<br>******** Total 5<br>- No dependencies -------------------------------------------------------<br>( 1) #include grammar.h<br>Included by C:oulotCourcesndent.c<br>( 1) #include error.h<br>Included by C:oulotCourcesndent.c<br>******** Total 2<br>-------------------------------------------------------------------------</font></pre></html>"
EditorType=boolean
TrueFalse=-dependencies-|-no-dependencies-
ValueDefault=0
[dependencies_all]
Category=6
-Description="<html>-d<pre><font face=\"courier new\" size=\"3\">ependencies- Activate/Deactivate the output of file dependencies.<br> With -dependencies_all- Real dependencies will be computed (instead of<br> just includes dependencies). This option takes much longer. but does a<br> better job.<br><br> -dependencies- is ignored if -dependencies_all- is set to TRUE.<br><br> typical report<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>Processing C:oulotCourcesndent.c (136 lines. 3360 characters)<br>Processing ctype.h<br>** Warning: Unable to open source file ==> ctype.h<br>Processing malloc.h<br>** Warning: Unable to open source file ==> malloc.h<br>Processing stdlib.h<br>** Warning: Unable to open source file ==> stdlib.h<br>Processing string.h<br>** Warning: Unable to open source file ==> string.h<br>Processing config.h<br>Processing in.h<br>Processing grammar.h<br>Processing lexi.h<br>Processing error.h<br>Processing tools.h<br>Processing indent.h<br>Processing assert.h<br>** Warning: Unable to open source file ==> assert.h<br>- Includes files --------------------------------------------------------<br>( 1) #include config.h<br>( 2) #include in.h<br>( 1) #include grammar.h<br>( 2) #include lexi.h<br>( 1) #include error.h<br>( 1) #include tools.h<br>( 1) #include indent.h<br>******** Unresolved 5 Total 12<br>- Scanning 1 ----------------------------------------------------------<br>.<br>- Direct dependencies ---------------------------------------------------<br>( 1) #include config.h<br>( 3) #include in.h<br>( 8) #include lexi.h<br>( 5) #include tools.h<br>( 21) #include indent.h<br>******** Total 5<br>- No dependencies -------------------------------------------------------<br>( 1) #include grammar.h<br>Included by C:oulotCourcesndent.c<br>( 1) #include error.h<br>Included by C:oulotCourcesndent.c<br>******** Total 2<br>-------------------------------------------------------------------------</font></pre></html>"
+Description="<html>-d<pre><font face=\"courier new\" size=\"3\">ependencies- Activate/Deactivate the output of file dependencies.<br> With -dependencies_all- Real dependencies will be computed (instead of<br> just includes dependencies). This option takes much longer. but does a<br> better job.<br><br> -dependencies- is ignored if -dependencies_all- is set to true.<br><br> typical report<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>Processing C:oulotCourcesndent.c (136 lines. 3360 characters)<br>Processing ctype.h<br>** Warning: Unable to open source file ==> ctype.h<br>Processing malloc.h<br>** Warning: Unable to open source file ==> malloc.h<br>Processing stdlib.h<br>** Warning: Unable to open source file ==> stdlib.h<br>Processing string.h<br>** Warning: Unable to open source file ==> string.h<br>Processing config.h<br>Processing in.h<br>Processing grammar.h<br>Processing lexi.h<br>Processing error.h<br>Processing tools.h<br>Processing indent.h<br>Processing assert.h<br>** Warning: Unable to open source file ==> assert.h<br>- Includes files --------------------------------------------------------<br>( 1) #include config.h<br>( 2) #include in.h<br>( 1) #include grammar.h<br>( 2) #include lexi.h<br>( 1) #include error.h<br>( 1) #include tools.h<br>( 1) #include indent.h<br>******** Unresolved 5 Total 12<br>- Scanning 1 ----------------------------------------------------------<br>.<br>- Direct dependencies ---------------------------------------------------<br>( 1) #include config.h<br>( 3) #include in.h<br>( 8) #include lexi.h<br>( 5) #include tools.h<br>( 21) #include indent.h<br>******** Total 5<br>- No dependencies -------------------------------------------------------<br>( 1) #include grammar.h<br>Included by C:oulotCourcesndent.c<br>( 1) #include error.h<br>Included by C:oulotCourcesndent.c<br>******** Total 2<br>-------------------------------------------------------------------------</font></pre></html>"
EditorType=boolean
TrueFalse=-dependencies_all-|-no-dependencies_all-
ValueDefault=0
diff --git a/src/AboutDialog.cpp b/src/AboutDialog.cpp
index 0af0152..855b7a3 100644
--- a/src/AboutDialog.cpp
+++ b/src/AboutDialog.cpp
@@ -28,7 +28,7 @@
// Displays a dialog window with information about UniversalIndentGUI
AboutDialog::AboutDialog(TQWidget *parent, WFlags flags) :
- AboutDialogBase(parent, NULL, FALSE, flags)
+ AboutDialogBase(parent, NULL, false, flags)
{
TQFont titleFont = titleLabel->font();
titleFont.setPointSize(20);