diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 12:35:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 09:11:28 +0900 |
commit | 59be12b130757642abe0ea212fcb8f919879e5b5 (patch) | |
tree | b407f94812a772cf01d1281110b9c030080446d6 /src/settingsediting.cpp | |
parent | a034edf0e3a516b55994c7aba28d1956c697c231 (diff) | |
download | kbibtex-r14.1.4.tar.gz kbibtex-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 278778f1151c2c3b4fade15afc7b94f624900b60)
Diffstat (limited to 'src/settingsediting.cpp')
-rw-r--r-- | src/settingsediting.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/settingsediting.cpp b/src/settingsediting.cpp index 912183b..493c8bd 100644 --- a/src/settingsediting.cpp +++ b/src/settingsediting.cpp @@ -63,7 +63,7 @@ namespace KBibTeX TQToolTip::add( m_urlRequesterNewPath->button(), i18n( "Select a path to add" ) ); m_pushButtonAddDir = new KPushButton( i18n( "Add" ), this ); m_pushButtonAddDir->setIconSet( TQIconSet( SmallIcon( "add" ) ) ); - m_pushButtonAddDir->setEnabled( FALSE ); + m_pushButtonAddDir->setEnabled( false ); TQToolTip::add( m_pushButtonAddDir, i18n( "Add chosen path to list" ) ); layout->addWidget( m_pushButtonAddDir, 1, 2 ); @@ -77,7 +77,7 @@ namespace KBibTeX layout->addMultiCellWidget( m_listViewPathList, 3, 4, 0, 1 ); m_pushButtonDelDir = new KPushButton( i18n( "Delete" ), this ); layout->addWidget( m_pushButtonDelDir, 3, 2 ); - m_pushButtonDelDir->setEnabled( FALSE ); + m_pushButtonDelDir->setEnabled( false ); m_pushButtonDelDir->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) ); TQToolTip::add( m_pushButtonDelDir, i18n( "Remove selected path from list" ) ); @@ -133,7 +133,7 @@ namespace KBibTeX { TQListViewItem *item = new TDEListViewItem( m_listViewPathList, path ); m_listViewPathList->ensureItemVisible( item ); - m_listViewPathList->setSelected( item, TRUE ); + m_listViewPathList->setSelected( item, true ); slotSelectionChanged(); } else @@ -160,7 +160,7 @@ namespace KBibTeX group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Main List" ), this ); layout->addWidget( group ); TQLabel *label = new TQLabel( i18n( "&Sorting:" ), group ); - m_comboBoxSortingColumn = new TQComboBox( FALSE, group ); + m_comboBoxSortingColumn = new TQComboBox( false, group ); m_comboBoxSortingColumn->insertItem( i18n( "Element Type" ) ); m_comboBoxSortingColumn->insertItem( i18n( "Entry Id" ) ); for ( int i = 0; i <= ( int ) BibTeX::EntryField::ftYear - ( int ) BibTeX::EntryField::ftAbstract; i++ ) @@ -172,19 +172,19 @@ namespace KBibTeX label->setBuddy( m_comboBoxSortingColumn ); label = new TQLabel( i18n( "So&rting order:" ), group ); - m_comboBoxSortingOrder = new TQComboBox( FALSE, group ); + m_comboBoxSortingOrder = new TQComboBox( false, group ); m_comboBoxSortingOrder->insertItem( i18n( "Ascending" ) ); m_comboBoxSortingOrder->insertItem( i18n( "Descending" ) ); label->setBuddy( m_comboBoxSortingOrder ); label = new TQLabel( i18n( "&Double click action:" ), group ); - m_comboBoxDoubleClickAction = new TQComboBox( FALSE, group ); + m_comboBoxDoubleClickAction = new TQComboBox( false, group ); m_comboBoxDoubleClickAction->insertItem( i18n( "Edit element" ) ); m_comboBoxDoubleClickAction->insertItem( i18n( "Open document" ) ); label->setBuddy( m_comboBoxDoubleClickAction ); label = new TQLabel( i18n( "On dragging with mouse:" ), group ); - m_comboBoxDragAction = new TQComboBox( FALSE, group ); + m_comboBoxDragAction = new TQComboBox( false, group ); m_comboBoxDragAction->insertItem( i18n( "Copy reference (\\cite{...})" ) ); m_comboBoxDragAction->insertItem( i18n( "Copy BibTeX text (@article{...})" ) ); label->setBuddy( m_comboBoxDragAction ); |