summaryrefslogtreecommitdiffstats
path: root/src/settingssearchurl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 09:11:28 +0900
commit59be12b130757642abe0ea212fcb8f919879e5b5 (patch)
treeb407f94812a772cf01d1281110b9c030080446d6 /src/settingssearchurl.cpp
parenta034edf0e3a516b55994c7aba28d1956c697c231 (diff)
downloadkbibtex-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/settingssearchurl.cpp')
-rw-r--r--src/settingssearchurl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settingssearchurl.cpp b/src/settingssearchurl.cpp
index ab791f2..99831bf 100644
--- a/src/settingssearchurl.cpp
+++ b/src/settingssearchurl.cpp
@@ -129,11 +129,11 @@ namespace KBibTeX
m_listviewSearchURLs = new TDEListView( this );
layout->addMultiCellWidget( m_listviewSearchURLs, 0, 4, 0, 0 );
- m_listviewSearchURLs->setAllColumnsShowFocus( TRUE );
+ m_listviewSearchURLs->setAllColumnsShowFocus( true );
m_listviewSearchURLs->addColumn( i18n( "Description" ) );
m_listviewSearchURLs->addColumn( i18n( "Author" ) );
m_listviewSearchURLs->addColumn( i18n( "URL" ) );
- m_listviewSearchURLs->header()->setClickEnabled( FALSE );
+ m_listviewSearchURLs->header()->setClickEnabled( false );
m_listviewSearchURLs->setFullWidth( true );
m_listviewSearchURLs->setMinimumWidth( 384 );
@@ -167,7 +167,7 @@ namespace KBibTeX
void SettingsSearchURL::urlDialog( TQListViewItem * item )
{
- KDialogBase * dlg = new KDialogBase( this, "urldialog", TRUE, item == NULL ? i18n( "New URL" ) : i18n( "Edit URL" ), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, TRUE );
+ KDialogBase * dlg = new KDialogBase( this, "urldialog", true, item == NULL ? i18n( "New URL" ) : i18n( "Edit URL" ), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true );
TQWidget *container = new TQWidget( dlg, "container" );
TQGridLayout *layout = new TQGridLayout( container, 3, 2, 0, KDialog::spacingHint() );
TQLabel *label = new TQLabel( i18n( "Description:" ), container );
@@ -184,7 +184,7 @@ namespace KBibTeX
TQToolTip::add( url, i18n( "Within the URL, '%1' will be replaced by the search term." ) );
label = new TQLabel( i18n( "Include Author:" ), container );
layout->addWidget( label, 2, 0 );
- TQComboBox *cbIncludeAuthor = new TQComboBox( FALSE, container );
+ TQComboBox *cbIncludeAuthor = new TQComboBox( false, container );
layout->addWidget( cbIncludeAuthor, 2, 1 );
label->setBuddy( cbIncludeAuthor );
cbIncludeAuthor->insertItem( i18n( "Yes" ) );