diff options
Diffstat (limited to 'src/gui/rulers')
-rw-r--r-- | src/gui/rulers/ControlRuler.cpp | 2 | ||||
-rw-r--r-- | src/gui/rulers/PropertyControlRuler.cpp | 4 |
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(); |