summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers
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/gui/rulers
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/gui/rulers')
-rw-r--r--src/gui/rulers/ControlRuler.cpp2
-rw-r--r--src/gui/rulers/PropertyControlRuler.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rulers/ControlRuler.cpp b/src/gui/rulers/ControlRuler.cpp
index ef61c50..469bf1b 100644
--- a/src/gui/rulers/ControlRuler.cpp
+++ b/src/gui/rulers/ControlRuler.cpp
@@ -231,7 +231,7 @@ void ControlRuler::contentsMousePressEvent(TQMouseEvent* e)
}
}
- if (topItem && !m_selectedItems.tqcontains(topItem)) { // select the top item
+ if (topItem && !m_selectedItems.contains(topItem)) { // select the top item
m_selectedItems << topItem;
topItem->setSelected(true);
topItem->handleMouseButtonPress(e);
diff --git a/src/gui/rulers/PropertyControlRuler.cpp b/src/gui/rulers/PropertyControlRuler.cpp
index d91a515..e832907 100644
--- a/src/gui/rulers/PropertyControlRuler.cpp
+++ b/src/gui/rulers/PropertyControlRuler.cpp
@@ -380,7 +380,7 @@ PropertyControlRuler::drawPropertyLine(timeT startTime,
EventSelection selection(*m_segment, startTime, endTime, true);
PropertyPattern pattern = DecrescendoPattern;
- bool haveNotes = selection.tqcontains(Note::EventType);
+ bool haveNotes = selection.contains(Note::EventType);
if (haveNotes) {
@@ -408,7 +408,7 @@ PropertyControlRuler::selectAllProperties()
/*
for(Segment::iterator i = m_segment.begin();
i != m_segment.end(); ++i)
- if (!m_eventSelection->tqcontains(*i)) m_eventSelection->addEvent(*i);
+ if (!m_eventSelection->contains(*i)) m_eventSelection->addEvent(*i);
*/
clearSelectedItems();