summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/paletteeditoradvanced.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qtconfig/paletteeditoradvanced.cpp')
-rw-r--r--tools/qtconfig/paletteeditoradvanced.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/qtconfig/paletteeditoradvanced.cpp b/tools/qtconfig/paletteeditoradvanced.cpp
index f3c47faaf..ac1770a4b 100644
--- a/tools/qtconfig/paletteeditoradvanced.cpp
+++ b/tools/qtconfig/paletteeditoradvanced.cpp
@@ -64,7 +64,7 @@ BoldListBoxText::BoldListBoxText( TQString text, TQListBox* lb )
void BoldListBoxText::paint( TQPainter* painter )
{
TQFont f = painter->font();
- f.setBold( TRUE );
+ f.setBold( true );
painter->setFont( f );
TQListBoxText::paint( painter );
@@ -121,8 +121,8 @@ void PaletteEditorAdvanced::paletteSelected(int p)
groupEffect->setDisabled(checkBuildDisabled->isChecked());
}
else {
- groupCentral->setEnabled(TRUE);
- groupEffect->setEnabled(TRUE);
+ groupCentral->setEnabled(true);
+ groupEffect->setEnabled(true);
}
updateColorButtons();
}
@@ -594,7 +594,7 @@ TQPalette PaletteEditorAdvanced::getPalette( bool *ok, const TQPalette &init,
BackgroundMode mode, TQWidget* parent,
const char* name )
{
- PaletteEditorAdvanced* dlg = new PaletteEditorAdvanced( parent, name, TRUE );
+ PaletteEditorAdvanced* dlg = new PaletteEditorAdvanced( parent, name, true );
dlg->setupBackgroundMode( mode );
if ( init != TQPalette() )
@@ -604,11 +604,11 @@ TQPalette PaletteEditorAdvanced::getPalette( bool *ok, const TQPalette &init,
TQPalette result = init;
if ( resultCode == TQDialog::Accepted ) {
if ( ok )
- *ok = TRUE;
+ *ok = true;
result = dlg->pal();
} else {
if ( ok )
- *ok = FALSE;
+ *ok = false;
}
delete dlg;
return result;