diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-08 12:59:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-10 17:35:38 +0900 |
commit | d2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch) | |
tree | 6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /kdevdesigner/designer/configtoolboxdialog.ui.h | |
parent | b9618de13e8f38c3558e9ed393a75c1f13af665c (diff) | |
download | tdevelop-r14.1.4.tar.gz tdevelop-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 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
Diffstat (limited to 'kdevdesigner/designer/configtoolboxdialog.ui.h')
-rw-r--r-- | kdevdesigner/designer/configtoolboxdialog.ui.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdevdesigner/designer/configtoolboxdialog.ui.h b/kdevdesigner/designer/configtoolboxdialog.ui.h index 77e294b1..ef7c280e 100644 --- a/kdevdesigner/designer/configtoolboxdialog.ui.h +++ b/kdevdesigner/designer/configtoolboxdialog.ui.h @@ -55,7 +55,7 @@ void ConfigToolboxDialog::init() if ( !parent ) { parent = new TQListViewItem( listViewTools ); parent->setText( 0, grp ); - parent->setOpen( TRUE ); + parent->setOpen( true ); groups.insert( grp, parent ); } TQListViewItem *i = new TQListViewItem( parent ); @@ -76,14 +76,14 @@ void ConfigToolboxDialog::addTool() { TQListView *src = listViewTools; - bool addKids = FALSE; + bool addKids = false; TQListViewItem *nextSibling = 0; TQListViewItem *nextParent = 0; TQListViewItemIterator it = src->firstChild(); for ( ; *it; it++ ) { // Hit the nextSibling, turn of child processing if ( (*it) == nextSibling ) - addKids = FALSE; + addKids = false; if ( (*it)->isSelected() ) { if ( (*it)->childCount() == 0 ) { @@ -97,7 +97,7 @@ void ConfigToolboxDialog::addTool() // Children processing not set, so set it // Also find the item were we shall quit // processing children...if any such item - addKids = TRUE; + addKids = true; nextSibling = (*it)->nextSibling(); nextParent = (*it)->parent(); while ( nextParent && !nextSibling ) { @@ -168,11 +168,11 @@ void ConfigToolboxDialog::moveToolDown() void ConfigToolboxDialog::currentToolChanged( TQListViewItem *i ) { - bool canAdd = FALSE; + bool canAdd = false; TQListViewItemIterator it = listViewTools->firstChild(); for ( ; *it; it++ ) { if ( (*it)->isSelected() ) { - canAdd = TRUE; + canAdd = true; break; } } @@ -185,11 +185,11 @@ void ConfigToolboxDialog::currentCommonToolChanged( TQListViewItem *i ) buttonUp->setEnabled( (bool) (i && i->itemAbove()) ); buttonDown->setEnabled( (bool) (i && i->itemBelow()) ); - bool canRemove = FALSE; + bool canRemove = false; TQListViewItemIterator it = listViewCommon->firstChild(); for ( ; *it; it++ ) { if ( (*it)->isSelected() ) { - canRemove = TRUE; + canRemove = true; break; } } |