summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NotationVLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/notation/NotationVLayout.cpp')
-rw-r--r--src/gui/editors/notation/NotationVLayout.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/editors/notation/NotationVLayout.cpp b/src/gui/editors/notation/NotationVLayout.cpp
index 5be5532..12979ea 100644
--- a/src/gui/editors/notation/NotationVLayout.cpp
+++ b/src/gui/editors/notation/NotationVLayout.cpp
@@ -55,8 +55,8 @@ using namespace BaseProperties;
NotationVLayout::NotationVLayout(Composition *c, NotePixmapFactory *npf,
const NotationProperties &properties,
- TQObject* parent, const char* name) :
- ProgressReporter(parent, name),
+ TQObject* tqparent, const char* name) :
+ ProgressReporter(tqparent, name),
m_composition(c),
m_npf(npf),
m_notationQuantizer(c->getNotationQuantizer()),
@@ -236,7 +236,7 @@ NotationVLayout::scanStaff(Staff &staffBase, timeT, timeT)
if (!(*chord[j])->event()->get
<Int>
(m_properties.HEIGHT_ON_STAFF, height)) {
- std::cerr << TQString("ERROR: Event in chord at %1 has no HEIGHT_ON_STAFF property!\nThis is a bug (the program would previously have crashed by now)").arg((*chord[j])->getViewAbsoluteTime()) << std::endl;
+ std::cerr << TQString("ERROR: Event in chord at %1 has no HEIGHT_ON_STAFF property!\nThis is a bug (the program would previously have crashed by now)").tqarg((*chord[j])->getViewAbsoluteTime()) << std::endl;
(*chord[j])->event()->dump(std::cerr);
}
h.push_back(height);
@@ -249,7 +249,7 @@ NotationVLayout::scanStaff(Staff &staffBase, timeT, timeT)
bool hasShifted = chord.hasNoteHeadShifted();
- double y0 = -1E50; // A very unlikely Y layout value
+ double y0 = -1E50; // A very unlikely Y tqlayout value
for (unsigned int j = 0; j < chord.size(); ++j) {
@@ -269,7 +269,7 @@ NotationVLayout::scanStaff(Staff &staffBase, timeT, timeT)
// These calculations and assignments are pretty much final
// if the chord is not in a beamed group, but if it is then
// they will be reworked by NotationGroup::applyBeam, which
- // is called from NotationHLayout::layout, which is called
+ // is called from NotationHLayout::tqlayout, which is called
// after this. Any inaccuracies here for beamed groups
// should be stamped out there.
@@ -342,7 +342,7 @@ NotationVLayout::scanStaff(Staff &staffBase, timeT, timeT)
// Not optimal, as we can end up scanning the chord
// multiple times (we'll return to it after scanning the
// contained note). [We can't just iterate over all
- // elements within the chord (as we can in hlayout)
+ // elements within the chord (as we can in htqlayout)
// because we need them in height order.]
i = chord.getFirstElementNotInChord();
@@ -490,7 +490,7 @@ NotationVLayout::positionSlur(NotationStaff &staff,
if (!event->get
<Int>(m_properties.HEIGHT_ON_STAFF, h)) {
KMessageBox::sorry
- ((TQWidget *)parent(), i18n("Spanned note at %1 has no HEIGHT_ON_STAFF property!\nThis is a bug (the program would previously have crashed by now)").arg((*scooter)->getViewAbsoluteTime()));
+ ((TQWidget *)tqparent(), i18n("Spanned note at %1 has no HEIGHT_ON_STAFF property!\nThis is a bug (the program would previously have crashed by now)").tqarg((*scooter)->getViewAbsoluteTime()));
event->dump(std::cerr);
}