summaryrefslogtreecommitdiffstats
path: root/src/gui/editors
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors')
-rw-r--r--src/gui/editors/notation/NoteFont.cpp2
-rw-r--r--src/gui/editors/notation/SystemFont.cpp4
-rw-r--r--src/gui/editors/parameters/RosegardenParameterArea.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/editors/notation/NoteFont.cpp b/src/gui/editors/notation/NoteFont.cpp
index 60157ca..091d733 100644
--- a/src/gui/editors/notation/NoteFont.cpp
+++ b/src/gui/editors/notation/NoteFont.cpp
@@ -78,7 +78,7 @@ NoteFont::NoteFont(std::string fontName, int size) :
if (m_blankPixmap == 0) {
m_blankPixmap = new TQPixmap(10, 10);
- m_blankPixmap->setMask(TQBitmap(10, 10, TRUE));
+ m_blankPixmap->setMask(TQBitmap(10, 10, true));
}
// Locate our font's pixmap map in the font map, create if necessary
diff --git a/src/gui/editors/notation/SystemFont.cpp b/src/gui/editors/notation/SystemFont.cpp
index e1eb548..2e271e3 100644
--- a/src/gui/editors/notation/SystemFont.cpp
+++ b/src/gui/editors/notation/SystemFont.cpp
@@ -135,8 +135,8 @@ qfont:
// The TQt documentation says:
//
// bool TQFontInfo::exactMatch() const
- // Returns TRUE if the matched window system font is exactly the
- // same as the one specified by the font; otherwise returns FALSE.
+ // Returns true if the matched window system font is exactly the
+ // same as the one specified by the font; otherwise returns false.
//
// My arse. I specify "feta", I get "Verdana", and exactMatch
// returns true. Uh huh.
diff --git a/src/gui/editors/parameters/RosegardenParameterArea.cpp b/src/gui/editors/parameters/RosegardenParameterArea.cpp
index 49e8aef..730cdab 100644
--- a/src/gui/editors/parameters/RosegardenParameterArea.cpp
+++ b/src/gui/editors/parameters/RosegardenParameterArea.cpp
@@ -213,10 +213,10 @@ void RosegardenParameterArea::moveWidget(TQWidget *old_container,
++index;
}
if (index < m_parameterBoxes.size()) {
- box->reparent(m_groupBoxes[index], 0, TQPoint(0, 0), FALSE);
+ box->reparent(m_groupBoxes[index], 0, TQPoint(0, 0), false);
}
} else if (new_container == m_tabBox) {
- box->reparent(new_container, 0, TQPoint(0, 0), FALSE);
+ box->reparent(new_container, 0, TQPoint(0, 0), false);
m_tabBox->insertTab(box, box->getShortLabel());
}
}