summaryrefslogtreecommitdiffstats
path: root/src/entrywidgetother.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entrywidgetother.cpp')
-rw-r--r--src/entrywidgetother.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/entrywidgetother.cpp b/src/entrywidgetother.cpp
index 1e2fd5c..186a50f 100644
--- a/src/entrywidgetother.cpp
+++ b/src/entrywidgetother.cpp
@@ -40,7 +40,7 @@ namespace KBibTeX
{
EntryWidgetOther::EntryWidgetOther( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent, const char *name )
- : EntryWidgetTab( bibtexfile, isReadOnly, parent, name ), m_isModified( FALSE )
+ : EntryWidgetTab( bibtexfile, isReadOnly, parent, name ), m_isModified( false )
{
setupGUI();
}
@@ -91,7 +91,7 @@ namespace KBibTeX
}
}
- m_isModified = FALSE;
+ m_isModified = false;
}
void EntryWidgetOther::reset( BibTeX::Entry *entry )
@@ -113,7 +113,7 @@ namespace KBibTeX
new ValueListViewItem( field->fieldTypeName(), field->value(), m_listViewFields );
}
- m_isModified = FALSE;
+ m_isModified = false;
}
void EntryWidgetOther::updateWarnings( BibTeX::Entry::EntryType /*entryType*/, TQListView * /*listViewWarnings*/ )
@@ -153,7 +153,7 @@ namespace KBibTeX
m_listViewFields->addColumn( i18n( "Key" ) );
m_listViewFields->addColumn( i18n( "Value" ) );
m_listViewFields->setAllColumnsShowFocus( true );
- m_listViewFields->setFullWidth( TRUE );
+ m_listViewFields->setFullWidth( true );
gridLayout->addMultiCellWidget( m_listViewFields, 3, 5, 1, 1 );
label = new TQLabel( i18n( "&List:" ), this );
@@ -172,9 +172,9 @@ namespace KBibTeX
spacer = new TQSpacerItem( 20, 110, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
gridLayout->addItem( spacer, 5, 2 );
- m_pushButtonOpen->setEnabled( FALSE );
- m_pushButtonAdd->setEnabled( FALSE );
- m_pushButtonDelete->setEnabled( FALSE );
+ m_pushButtonOpen->setEnabled( false );
+ m_pushButtonAdd->setEnabled( false );
+ m_pushButtonDelete->setEnabled( false );
connect( m_listViewFields, TQ_SIGNAL( clicked( TQListViewItem*, const TQPoint&, int ) ), this, TQ_SLOT( fieldExecute( TQListViewItem* ) ) );
connect( m_lineEditKey, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( updateGUI() ) );
@@ -192,7 +192,7 @@ namespace KBibTeX
bool isUnknown = BibTeX::EntryField::fieldTypeFromString( text ) == BibTeX::EntryField::ftUnknown;
if ( contains )
- m_listViewFields->setSelected( item, TRUE );
+ m_listViewFields->setSelected( item, true );
else
m_listViewFields->clearSelection();
@@ -201,7 +201,7 @@ namespace KBibTeX
m_pushButtonAdd->setText( contains ? i18n( "&Apply" ) : i18n( "&Add" ) );
m_pushButtonAdd->setIconSet( TQIconSet( SmallIcon( contains ? "apply" : "document-open" ) ) );
- bool validURL = FALSE;
+ bool validURL = false;
if ( contains )
{
KURL url = Settings::locateFile( item->text( 1 ), m_bibtexfile->fileName, this );
@@ -234,7 +234,7 @@ namespace KBibTeX
updateGUI();
- m_isModified = TRUE;
+ m_isModified = true;
}
void EntryWidgetOther::deleteClicked()
@@ -249,7 +249,7 @@ namespace KBibTeX
updateGUI();
}
- m_isModified = TRUE;
+ m_isModified = true;
}
void EntryWidgetOther::openClicked()
@@ -261,7 +261,7 @@ namespace KBibTeX
delete value;
}
else
- m_fieldLineEditValue->setEnabled( FALSE );
+ m_fieldLineEditValue->setEnabled( false );
}
ValueListViewItem::ValueListViewItem( const TQString& title, BibTeX::Value *value, TQListView *parent )