summaryrefslogtreecommitdiffstats
path: root/src/commands/notation
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit80ee419f074dc252449791628d4584b5c0ea0c9b (patch)
treefba229106f296da317a8f925f32d76841386c026 /src/commands/notation
parentbb426283a6b45a18f99a8be445438e8f4deeea55 (diff)
downloadrosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.tar.gz
rosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/commands/notation')
-rw-r--r--src/commands/notation/AddFingeringMarkCommand.cpp4
-rw-r--r--src/commands/notation/InterpretCommand.cpp2
-rw-r--r--src/commands/notation/TieNotesCommand.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/notation/AddFingeringMarkCommand.cpp b/src/commands/notation/AddFingeringMarkCommand.cpp
index 49ec03c..4715951 100644
--- a/src/commands/notation/AddFingeringMarkCommand.cpp
+++ b/src/commands/notation/AddFingeringMarkCommand.cpp
@@ -84,7 +84,7 @@ AddFingeringMarkCommand::modifySegment()
for (Chord::iterator ci = chord.begin();
ci != chord.end(); ++ci) {
- if (!m_selection->tqcontains(**ci))
+ if (!m_selection->contains(**ci))
continue;
if (attempt < 2 &&
@@ -104,7 +104,7 @@ AddFingeringMarkCommand::modifySegment()
break;
for (Chord::iterator ci = chord.begin();
ci != chord.end(); ++ci) {
- if (m_selection->tqcontains(**ci)) {
+ if (m_selection->contains(**ci)) {
Marks::removeMark
(***ci,
Marks::getFingeringMark(***ci));
diff --git a/src/commands/notation/InterpretCommand.cpp b/src/commands/notation/InterpretCommand.cpp
index 1652b2f..6d1b18b 100644
--- a/src/commands/notation/InterpretCommand.cpp
+++ b/src/commands/notation/InterpretCommand.cpp
@@ -154,7 +154,7 @@ InterpretCommand::applyTextDynamics()
}
if (t >= startTime &&
- (*i)->isa(Note::EventType) && m_selection->tqcontains(*i)) {
+ (*i)->isa(Note::EventType) && m_selection->contains(*i)) {
(*i)->set
<Int>(VELOCITY, velocity);
}
diff --git a/src/commands/notation/TieNotesCommand.cpp b/src/commands/notation/TieNotesCommand.cpp
index e65865d..ff7f3ab 100644
--- a/src/commands/notation/TieNotesCommand.cpp
+++ b/src/commands/notation/TieNotesCommand.cpp
@@ -59,7 +59,7 @@ TieNotesCommand::modifySegment()
Segment::iterator sj;
while ((sj = helper.getNextAdjacentNote(si, true, false)) !=
segment.end()) {
- if (!m_selection->tqcontains(*sj))
+ if (!m_selection->contains(*sj))
break;
(*si)->set<Bool>(TIED_FORWARD, true);
(*si)->unset(TIE_IS_ABOVE);