summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kqalculate.cpp4
-rw-r--r--src/qalculateeditdatasetdialog.cpp6
-rw-r--r--src/qalculateinsertfunctiondialog.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/kqalculate.cpp b/src/kqalculate.cpp
index d14dd97..65c8137 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();