summaryrefslogtreecommitdiffstats
path: root/tools/linguist/linguist/phrasebookbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linguist/linguist/phrasebookbox.cpp')
-rw-r--r--tools/linguist/linguist/phrasebookbox.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/linguist/linguist/phrasebookbox.cpp b/tools/linguist/linguist/phrasebookbox.cpp
index cefac1b34..67106bceb 100644
--- a/tools/linguist/linguist/phrasebookbox.cpp
+++ b/tools/linguist/linguist/phrasebookbox.cpp
@@ -69,10 +69,10 @@ PhraseBookBox::PhraseBookBox( const TQString& filename,
lv = new PhraseLV( this, "phrase book list view" );
newBut = new TQPushButton( tr("&New Phrase"), this );
- newBut->setDefault( TRUE );
+ newBut->setDefault( true );
removeBut = new TQPushButton( tr("&Remove Phrase"), this );
- removeBut->setEnabled( FALSE );
+ removeBut->setEnabled( false );
TQPushButton *saveBut = new TQPushButton( tr("&Save"), this );
TQPushButton *closeBut = new TQPushButton( tr("Close"), this );
@@ -208,7 +208,7 @@ void PhraseBookBox::selectionChanged( TQListViewItem * /* item */ )
void PhraseBookBox::selectItem( TQListViewItem *item )
{
- lv->setSelected( item, TRUE );
+ lv->setSelected( item, true );
lv->ensureItemVisible( item );
}
@@ -216,9 +216,9 @@ void PhraseBookBox::enableDisable()
{
TQListViewItem *item = lv->currentItem();
- sourceLed->blockSignals( TRUE );
- targetLed->blockSignals( TRUE );
- definitionLed->blockSignals( TRUE );
+ sourceLed->blockSignals( true );
+ targetLed->blockSignals( true );
+ definitionLed->blockSignals( true );
if ( item == 0 ) {
sourceLed->setText( TQString::null );
@@ -234,9 +234,9 @@ void PhraseBookBox::enableDisable()
definitionLed->setEnabled( item != 0 );
removeBut->setEnabled( item != 0 );
- sourceLed->blockSignals( FALSE );
- targetLed->blockSignals( FALSE );
- definitionLed->blockSignals( FALSE );
+ sourceLed->blockSignals( false );
+ targetLed->blockSignals( false );
+ definitionLed->blockSignals( false );
TQLineEdit *led = ( sourceLed->text() == NewPhrase ? sourceLed : targetLed );
led->setFocus();