From 8f75c0362c7a8d3f28356997709d29c32efe8eaf Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Mon, 31 Mar 2025 15:40:18 +0900
Subject: Replace TRUE/FALSE with boolean values true/false

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 kbarcode/confwizard.cpp       | 2 +-
 kbarcode/definitiondialog.cpp | 8 ++++----
 kbarcode/newlabel.cpp         | 4 ++--
 kbarcode/newlabel.h           | 2 +-
 kbarcode/propertywidget.cpp   | 6 +++---
 kbarcode/tokenprovider.cpp    | 4 ++--
 6 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/kbarcode/confwizard.cpp b/kbarcode/confwizard.cpp
index 210d4e0..fb5356d 100644
--- a/kbarcode/confwizard.cpp
+++ b/kbarcode/confwizard.cpp
@@ -161,7 +161,7 @@ void ConfWizard::setupPage3()
     Layout5_2->addWidget( buttonCreate );
 
     buttonExample = new KPushButton( page_3, "buttonExample" );
-    buttonExample->setEnabled( FALSE );
+    buttonExample->setEnabled( false );
     buttonExample->setText( i18n( "&Add Example Data" ) );
     Layout5_2->addWidget( buttonExample );
     TQSpacerItem* spacer_6 = new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
diff --git a/kbarcode/definitiondialog.cpp b/kbarcode/definitiondialog.cpp
index 35a5e03..7e637bd 100644
--- a/kbarcode/definitiondialog.cpp
+++ b/kbarcode/definitiondialog.cpp
@@ -130,12 +130,12 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent,  const char* name, bool mo
     Layout17->addLayout( Layout13 );
     Layout14 = new TQVBoxLayout( 0, 0, 6, "Layout14");
 
-    comboProducer = new KComboBox( FALSE, this, "comboProducer" );
-    comboProducer->setEditable( TRUE );
+    comboProducer = new KComboBox( false, this, "comboProducer" );
+    comboProducer->setEditable( true );
     Layout14->addWidget( comboProducer );
 
-    comboType = new KComboBox( FALSE, this, "type" );
-    comboType->setEditable( TRUE );
+    comboType = new KComboBox( false, this, "type" );
+    comboType->setEditable( true );
     Layout14->addWidget( comboType );
 
     editWidth = new KRestrictedLine( this, "editWidth" );
diff --git a/kbarcode/newlabel.cpp b/kbarcode/newlabel.cpp
index 9c60eff..c8687db 100644
--- a/kbarcode/newlabel.cpp
+++ b/kbarcode/newlabel.cpp
@@ -66,8 +66,8 @@ NewLabel::NewLabel( TQWidget* parent,  const char* name, bool change, WFlags fl
     TextLabel3 = new TQLabel( group1, "TextLabel3" );
     TextLabel3->setText( i18n( "Type:" ) );
 
-    comboProducer = new KComboBox( FALSE, group1, "comboProducer" );
-    comboType = new KComboBox( FALSE, group1, "comboType" );
+    comboProducer = new KComboBox( false, group1, "comboProducer" );
+    comboType = new KComboBox( false, group1, "comboType" );
 
     checkEmpty = new TQCheckBox( i18n("&Start with an empty label"), group1 );
     checkEmpty->setEnabled( !change );
diff --git a/kbarcode/newlabel.h b/kbarcode/newlabel.h
index 450f6c2..bec2886 100644
--- a/kbarcode/newlabel.h
+++ b/kbarcode/newlabel.h
@@ -38,7 +38,7 @@ class NewLabel : public TQDialog
     TQ_OBJECT
   
     public:
-        NewLabel( TQWidget* parent = 0, const char* name = 0, bool change = FALSE, WFlags fl = 0 );
+        NewLabel( TQWidget* parent = 0, const char* name = 0, bool change = false, WFlags fl = 0 );
         ~NewLabel();
 
         int labelId() const { return curid; }
diff --git a/kbarcode/propertywidget.cpp b/kbarcode/propertywidget.cpp
index cd60ca0..24debfc 100644
--- a/kbarcode/propertywidget.cpp
+++ b/kbarcode/propertywidget.cpp
@@ -138,7 +138,7 @@ PropertyRotation::PropertyRotation( TQWidget* parent )
     : PropertyWidget( parent )
 {
     TQLabel* label = new TQLabel( i18n("&Rotation:"), this );
-    comboRotation = new KComboBox( FALSE, this );
+    comboRotation = new KComboBox( false, this );
     label->setBuddy( comboRotation );
 
     comboRotation->insertItem( i18n("0") );
@@ -211,7 +211,7 @@ PropertyBarcode::PropertyBarcode( TokenProvider* token, TQWidget* parent )
     TQLabel* TextLabel1 = new TQLabel( this, "TextLabel1" );
     TextLabel1->setText( i18n( "Barcode Settings:" ) );
             
-    comboComplex = new KComboBox( FALSE, this );
+    comboComplex = new KComboBox( false, this );
     if( SqlTables::isConnected() )
     {
         TQSqlQuery* query = new TQSqlQuery("select encoding_type from barcode_basic group by encoding_type");
@@ -464,7 +464,7 @@ PropertyImage::PropertyImage( TokenProvider* token, TQWidget* parent )
     : PropertyWidget( parent ), m_token( token )
 {
     TQLabel* label = new TQLabel( i18n("&Rotation:"), this );
-    comboRotation = new KComboBox( FALSE, this );
+    comboRotation = new KComboBox( false, this );
     label->setBuddy( comboRotation );
 
     TQVButtonGroup* groupFile = new TQVButtonGroup( i18n("&Image"), this );
diff --git a/kbarcode/tokenprovider.cpp b/kbarcode/tokenprovider.cpp
index 90e2853..ef002f2 100644
--- a/kbarcode/tokenprovider.cpp
+++ b/kbarcode/tokenprovider.cpp
@@ -343,10 +343,10 @@ void TokenProvider::findBrackets( TQString & text, TQString (TokenProvider::*par
     int num, pos = -1, a;
     TQString token;
 
-    if( text.contains("]", FALSE) <= 0 || text.isEmpty() )
+    if( text.contains("]", false) <= 0 || text.isEmpty() )
         return;
 
-    num = text.contains("[", FALSE);
+    num = text.contains("[", false);
     if(num <= 0 )
         return;
 
-- 
cgit v1.2.3

