From ef13416bfc43e51ef4e20919e0fab81ae05e0fe2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:14:51 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/document/io/RG21Loader.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/document/io/RG21Loader.cpp') diff --git a/src/document/io/RG21Loader.cpp b/src/document/io/RG21Loader.cpp index c36a228..bb901f2 100644 --- a/src/document/io/RG21Loader.cpp +++ b/src/document/io/RG21Loader.cpp @@ -69,7 +69,7 @@ RG21Loader::RG21Loader(Studio *studio, m_currentClef(Clef::Treble), m_currentInstrumentId(MidiInstrumentBase), m_inGroup(false), - m_tietqStatus(0), + m_tieStatus(0), m_nbStaves(0) {} @@ -173,10 +173,10 @@ bool RG21Loader::parseChordItem() noteEvent->set (PITCH, pitch); - if (m_tietqStatus == 1) { + if (m_tieStatus == 1) { noteEvent->set (TIED_FORWARD, true); - } else if (m_tietqStatus == 2) { + } else if (m_tieStatus == 2) { noteEvent->set (TIED_BACKWARD, true); } @@ -199,10 +199,10 @@ bool RG21Loader::parseChordItem() } m_currentSegmentTime += duration; - if (m_tietqStatus == 2) - m_tietqStatus = 0; - else if (m_tietqStatus == 1) - m_tietqStatus = 2; + if (m_tieStatus == 2) + m_tieStatus = 0; + else if (m_tieStatus == 1) + m_tieStatus = 2; return true; } @@ -348,13 +348,13 @@ bool RG21Loader::parseIndicationStart() if (indicationType == "tie") { - if (m_tietqStatus != 0) { + if (m_tieStatus != 0) { RG_DEBUG << "RG21Loader:: parseIndicationStart: WARNING: Found tie within " << "tie, ignoring" << endl; return true; } - // m_tietqStatus = 1; + // m_tieStatus = 1; Segment::iterator i = m_currentSegment->end(); if (i != m_currentSegment->begin()) { @@ -368,7 +368,7 @@ bool RG21Loader::parseIndicationStart() --i; } } - m_tietqStatus = 2; + m_tieStatus = 2; RG_DEBUG << "rg21io: Indication start: it's a tie" << endl; -- cgit v1.2.3