summaryrefslogtreecommitdiffstats
path: root/src/base/Composition.cpp
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/base/Composition.cpp
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/base/Composition.cpp')
-rw-r--r--src/base/Composition.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/base/Composition.cpp b/src/base/Composition.cpp
index 7c808e1..cde3a8b 100644
--- a/src/base/Composition.cpp
+++ b/src/base/Composition.cpp
@@ -102,7 +102,7 @@ Composition::ReferenceSegment::getDuration() const
}
Composition::ReferenceSegment::iterator
-Composition::ReferenceSegment::tqfind(Event *e)
+Composition::ReferenceSegment::find(Event *e)
{
return std::lower_bound
(begin(), end(), e, ReferenceSegmentEventCmp());
@@ -116,7 +116,7 @@ Composition::ReferenceSegment::insert(Event *e)
m_eventType, e->getType(), __FILE__, __LINE__);
}
- iterator i = tqfind(e);
+ iterator i = find(e);
if (i != end() && (*i)->getAbsoluteTime() == e->getAbsoluteTime()) {
@@ -133,7 +133,7 @@ Composition::ReferenceSegment::insert(Event *e)
void
Composition::ReferenceSegment::erase(Event *e)
{
- iterator i = tqfind(e);
+ iterator i = find(e);
if (i != end()) Impl::erase(i);
}
@@ -141,7 +141,7 @@ Composition::ReferenceSegment::iterator
Composition::ReferenceSegment::findTime(timeT t)
{
Event dummy("dummy", t, 0, MIN_SUBORDERING);
- return tqfind(&dummy);
+ return find(&dummy);
}
Composition::ReferenceSegment::iterator
@@ -150,7 +150,7 @@ Composition::ReferenceSegment::findRealTime(RealTime t)
Event dummy("dummy", 0, 0, MIN_SUBORDERING);
dummy.set<Bool>(NoAbsoluteTimeProperty, true);
setTempoTimestamp(&dummy, t);
- return tqfind(&dummy);
+ return find(&dummy);
}
Composition::ReferenceSegment::iterator
@@ -298,7 +298,7 @@ Composition::weakDetachSegment(Segment *segment)
}
bool
-Composition::tqcontains(const Segment *s)
+Composition::contains(const Segment *s)
{
iterator i = findSegment(s);
return (i != end());