diff --git a/src/kqalculate.cpp b/src/kqalculate.cpp index faf16f0..87dbc6e 100644 --- a/src/kqalculate.cpp +++ b/src/kqalculate.cpp @@ -6626,10 +6626,10 @@ void QalculateStyleSheet::scaleFont(TQFont &font, int logicalSize) const { int baseSize = font.pointSize(); - bool pixel = FALSE; + bool pixel = false; if(baseSize == -1){ baseSize = font.pixelSize(); - pixel = TRUE; + pixel = true; } float factor = baseSize; diff --git a/src/qalculateeditdatasetdialog.cpp b/src/qalculateeditdatasetdialog.cpp index 8ec9887..aa98420 100644 --- a/src/qalculateeditdatasetdialog.cpp +++ b/src/qalculateeditdatasetdialog.cpp @@ -326,9 +326,9 @@ DataSet *QalculateEditDataSetDialog::editDataSet(DataSet *ds) { copyrightEdit->clear(); nameEdit->setReadOnly(false); actionButton(Ok)->setEnabled(true); - newPropertyButton->setEnabled(TRUE); - editPropertyButton->setEnabled(FALSE); - deletePropertyButton->setEnabled(FALSE); + newPropertyButton->setEnabled(true); + editPropertyButton->setEnabled(false); + deletePropertyButton->setEnabled(false); if(ds) { //fill in original paramaters set_name_label_and_entry(ds, nameEdit, namesLabel); diff --git a/src/qalculateinsertfunctiondialog.cpp b/src/qalculateinsertfunctiondialog.cpp index 0d8a048..b6be78d 100644 --- a/src/qalculateinsertfunctiondialog.cpp +++ b/src/qalculateinsertfunctiondialog.cpp @@ -148,7 +148,7 @@ QalculateInsertFunctionDialog::QalculateInsertFunctionDialog(MathFunction *f, TQ entry[i] = bg; bg->setFrameStyle(TQFrame::Plain | TQFrame::NoFrame); bg->setMargin(0); - bg->setRadioButtonExclusive(TRUE); + bg->setRadioButtonExclusive(true); bg->insert(new TQRadioButton(i18n("True"), bg), 1); bg->insert(new TQRadioButton(i18n("False"), bg), 0); TQString str = selected_text.stripWhiteSpace();