summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:51 -0600
commitef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch)
tree76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/base
parent6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff)
downloadrosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz
rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/base')
-rw-r--r--src/base/Composition.h6
-rw-r--r--src/base/LayoutEngine.h2
-rw-r--r--src/base/RefreshStatus.h6
-rw-r--r--src/base/Segment.cpp4
-rw-r--r--src/base/Segment.h10
5 files changed, 14 insertions, 14 deletions
diff --git a/src/base/Composition.h b/src/base/Composition.h
index b2f80a3..3514a86 100644
--- a/src/base/Composition.h
+++ b/src/base/Composition.h
@@ -799,8 +799,8 @@ public:
return m_refreshStatusArray.getNewRefreshStatusId();
}
- RefreshtqStatus& getRefreshtqStatus(unsigned int id) {
- return m_refreshStatusArray.getRefreshtqStatus(id);
+ RefreshStatus& getRefreshStatus(unsigned int id) {
+ return m_refreshStatusArray.getRefreshStatus(id);
}
/// Set all refresh statuses to true
@@ -989,7 +989,7 @@ protected:
bool m_playMetronome;
bool m_recordMetronome;
- RefreshStatusArray<RefreshtqStatus> m_refreshStatusArray;
+ RefreshStatusArray<RefreshStatus> m_refreshStatusArray;
// User defined markers in the composition
//
diff --git a/src/base/LayoutEngine.h b/src/base/LayoutEngine.h
index 2116013..aef429f 100644
--- a/src/base/LayoutEngine.h
+++ b/src/base/LayoutEngine.h
@@ -82,7 +82,7 @@ public:
virtual void finishLayout(timeT startTime = 0,
timeT endTime = 0) = 0;
- unsigned int gettqStatus() const { return m_status; }
+ unsigned int getStatus() const { return m_status; }
protected:
unsigned int m_status;
diff --git a/src/base/RefreshStatus.h b/src/base/RefreshStatus.h
index f64a72c..4c39a18 100644
--- a/src/base/RefreshStatus.h
+++ b/src/base/RefreshStatus.h
@@ -26,10 +26,10 @@
namespace Rosegarden
{
-class RefreshtqStatus
+class RefreshStatus
{
public:
- RefreshtqStatus() : m_needsRefresh(true) {}
+ RefreshStatus() : m_needsRefresh(true) {}
bool needsRefresh() { return m_needsRefresh; }
void setNeedsRefresh(bool s) { m_needsRefresh = s; }
@@ -44,7 +44,7 @@ class RefreshStatusArray
public:
unsigned int getNewRefreshStatusId();
size_t size() { return m_refreshStatuses.size(); }
- RS& getRefreshtqStatus(unsigned int id) { return m_refreshStatuses[id]; }
+ RS& getRefreshStatus(unsigned int id) { return m_refreshStatuses[id]; }
void updateRefreshStatuses();
protected:
diff --git a/src/base/Segment.cpp b/src/base/Segment.cpp
index c8e3018..2f65acd 100644
--- a/src/base/Segment.cpp
+++ b/src/base/Segment.cpp
@@ -352,7 +352,7 @@ void
Segment::updateRefreshStatuses(timeT startTime, timeT endTime)
{
for(unsigned int i = 0; i < m_refreshStatusArray.size(); ++i)
- m_refreshStatusArray.getRefreshtqStatus(i).push(startTime, endTime);
+ m_refreshStatusArray.getRefreshStatus(i).push(startTime, endTime);
}
@@ -1269,7 +1269,7 @@ SegmentHelper::~SegmentHelper() { }
void
-SegmentRefreshtqStatus::push(timeT from, timeT to)
+SegmentRefreshStatus::push(timeT from, timeT to)
{
if (!needsRefresh()) { // don't do anything subtle - just erase the old data
diff --git a/src/base/Segment.h b/src/base/Segment.h
index ac6e092..be2981b 100644
--- a/src/base/Segment.h
+++ b/src/base/Segment.h
@@ -37,10 +37,10 @@
namespace Rosegarden
{
-class SegmentRefreshtqStatus : public RefreshtqStatus
+class SegmentRefreshStatus : public RefreshStatus
{
public:
- SegmentRefreshtqStatus() : m_from(0), m_to(0) {}
+ SegmentRefreshStatus() : m_from(0), m_to(0) {}
void push(timeT from, timeT to);
@@ -616,8 +616,8 @@ public:
return m_refreshStatusArray.getNewRefreshStatusId();
}
- SegmentRefreshtqStatus &getRefreshtqStatus(unsigned int id) {
- return m_refreshStatusArray.getRefreshtqStatus(id);
+ SegmentRefreshStatus &getRefreshStatus(unsigned int id) {
+ return m_refreshStatusArray.getRefreshStatus(id);
}
void updateRefreshStatuses(timeT startTime, timeT endTime);
@@ -657,7 +657,7 @@ private:
int m_highestPlayable; // suggestion for highest playable note (notation)
int m_lowestPlayable; // suggestion for lowest playable note (notation)
- RefreshStatusArray<SegmentRefreshtqStatus> m_refreshStatusArray;
+ RefreshStatusArray<SegmentRefreshStatus> m_refreshStatusArray;
struct ClefKeyCmp {
bool operator()(const Event *e1, const Event *e2) const;