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-03-28 12:35:55 +0900
commit278778f1151c2c3b4fade15afc7b94f624900b60 (patch)
tree3e5556534dce8216383a1026da88bfaef179ecc7 /src/settingssearchurl.cpp
parent15710da5567c0dcf1291d09cb869ef1bf6d08541 (diff)
downloadkbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.tar.gz
kbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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" ) );