diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:14:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:14:51 -0600 |
commit | ef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch) | |
tree | 76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/gui/general/EditViewBase.cpp | |
parent | 6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff) | |
download | rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gui/general/EditViewBase.cpp')
-rw-r--r-- | src/gui/general/EditViewBase.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/general/EditViewBase.cpp b/src/gui/general/EditViewBase.cpp index dda2c76..d618a68 100644 --- a/src/gui/general/EditViewBase.cpp +++ b/src/gui/general/EditViewBase.cpp @@ -374,10 +374,10 @@ void EditViewBase::paintEvent(TQPaintEvent* e) Segment* segment = m_segments[i]; unsigned int refreshStatusId = m_segmentsRefreshStatusIds[i]; - SegmentRefreshtqStatus &refreshtqStatus = - segment->getRefreshtqStatus(refreshStatusId); + SegmentRefreshStatus &refreshStatus = + segment->getRefreshStatus(refreshStatusId); - if (refreshtqStatus.needsRefresh() && isCompositionModified()) { + if (refreshStatus.needsRefresh() && isCompositionModified()) { // if composition is also modified, retqlayout everything refreshSegment(0); @@ -392,10 +392,10 @@ void EditViewBase::paintEvent(TQPaintEvent* e) m_timeSigNotifier->reset(); break; - } else if (refreshtqStatus.needsRefresh()) { + } else if (refreshStatus.needsRefresh()) { - timeT startTime = refreshtqStatus.from(), - endTime = refreshtqStatus.to(); + timeT startTime = refreshStatus.from(), + endTime = refreshStatus.to(); if (segmentsToUpdate == 0 || startTime < updateStart) { updateStart = startTime; @@ -406,7 +406,7 @@ void EditViewBase::paintEvent(TQPaintEvent* e) singleSegment = segment; ++segmentsToUpdate; - refreshtqStatus.setNeedsRefresh(false); + refreshStatus.setNeedsRefresh(false); m_needUpdate = true; } } @@ -518,13 +518,13 @@ void EditViewBase::initSegmentRefreshStatusIds() bool EditViewBase::isCompositionModified() { - return getDocument()->getComposition().getRefreshtqStatus + return getDocument()->getComposition().getRefreshStatus (m_compositionRefreshStatusId).needsRefresh(); } void EditViewBase::setCompositionModified(bool c) { - getDocument()->getComposition().getRefreshtqStatus + getDocument()->getComposition().getRefreshStatus (m_compositionRefreshStatusId).setNeedsRefresh(c); } |