diff options
Diffstat (limited to 'src/document')
-rw-r--r-- | src/document/BasicCommand.cpp | 8 | ||||
-rw-r--r-- | src/document/BasicCommand.h | 2 | ||||
-rw-r--r-- | src/document/RosegardenGUIDoc.cpp | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/document/BasicCommand.cpp b/src/document/BasicCommand.cpp index 31498e4..b17d79d 100644 --- a/src/document/BasicCommand.cpp +++ b/src/document/BasicCommand.cpp @@ -90,7 +90,7 @@ Rosegarden::Segment& BasicCommand::getSegment() return m_segment; } -Rosegarden::timeT BasicCommand::getRetqlayoutEndTime() +Rosegarden::timeT BasicCommand::getRelayoutEndTime() { return getEndTime(); } @@ -114,9 +114,9 @@ BasicCommand::execute() copyFrom(m_redoEvents); } - m_segment.updateRefreshStatuses(getStartTime(), getRetqlayoutEndTime()); + m_segment.updateRefreshStatuses(getStartTime(), getRelayoutEndTime()); RG_DEBUG << "BasicCommand(" << name() << "): updated refresh statuses " - << getStartTime() << " -> " << getRetqlayoutEndTime() << endl; + << getStartTime() << " -> " << getRelayoutEndTime() << endl; } void @@ -129,7 +129,7 @@ BasicCommand::unexecute() copyFrom(&m_savedEvents); - m_segment.updateRefreshStatuses(getStartTime(), getRetqlayoutEndTime()); + m_segment.updateRefreshStatuses(getStartTime(), getRelayoutEndTime()); } void diff --git a/src/document/BasicCommand.h b/src/document/BasicCommand.h index bd88329..1189547 100644 --- a/src/document/BasicCommand.h +++ b/src/document/BasicCommand.h @@ -59,7 +59,7 @@ public: timeT getStartTime() { return m_startTime; } timeT getEndTime() { return m_endTime; } - virtual timeT getRetqlayoutEndTime(); + virtual timeT getRelayoutEndTime(); protected: /** diff --git a/src/document/RosegardenGUIDoc.cpp b/src/document/RosegardenGUIDoc.cpp index a48907f..88ce346 100644 --- a/src/document/RosegardenGUIDoc.cpp +++ b/src/document/RosegardenGUIDoc.cpp @@ -1556,13 +1556,13 @@ void RosegardenGUIDoc::saveSegment(TQTextStream& outStream, Segment *segment, bool RosegardenGUIDoc::isSequencerRunning() { - RosegardenGUIApp* tqparentApp = dynamic_cast<RosegardenGUIApp*>(tqparent()); - if (!tqparentApp) { - RG_DEBUG << "RosegardenGUIDoc::isSequencerRunning() : tqparentApp == 0\n"; + RosegardenGUIApp* parentApp = dynamic_cast<RosegardenGUIApp*>(tqparent()); + if (!parentApp) { + RG_DEBUG << "RosegardenGUIDoc::isSequencerRunning() : parentApp == 0\n"; return false; } - return tqparentApp->isSequencerRunning(); + return parentApp->isSequencerRunning(); } bool |