summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-31 15:40:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 10:19:32 +0900
commitb1249ebf636e3c89bb7dd1075e6e29079faf4bd5 (patch)
tree3ef532f4c272c65917c9df51d32c1cfc0a1e3e16
parent412a56a11980eb5567ff49ddf6f3dd72b5930bcf (diff)
downloadkbarcode-r14.1.4.tar.gz
kbarcode-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 8f75c0362c7a8d3f28356997709d29c32efe8eaf)
-rw-r--r--kbarcode/confwizard.cpp2
-rw-r--r--kbarcode/definitiondialog.cpp8
-rw-r--r--kbarcode/newlabel.cpp4
-rw-r--r--kbarcode/newlabel.h2
-rw-r--r--kbarcode/propertywidget.cpp6
-rw-r--r--kbarcode/tokenprovider.cpp4
6 files changed, 13 insertions, 13 deletions
diff --git a/kbarcode/confwizard.cpp b/kbarcode/confwizard.cpp
index 2d7631c..72a36ed 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 7cdc774..3463f3b 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;