summaryrefslogtreecommitdiffstats
path: root/src/base/Segment.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/base/Segment.h
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/base/Segment.h')
-rw-r--r--src/base/Segment.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/base/Segment.h b/src/base/Segment.h
index 564d118..ac6e092 100644
--- a/src/base/Segment.h
+++ b/src/base/Segment.h
@@ -37,10 +37,10 @@
namespace Rosegarden
{
-class SegmentRefreshStatus : public RefreshStatus
+class SegmentRefreshtqStatus : public RefreshtqStatus
{
public:
- SegmentRefreshStatus() : m_from(0), m_to(0) {}
+ SegmentRefreshtqStatus() : m_from(0), m_to(0) {}
void push(timeT from, timeT to);
@@ -283,7 +283,7 @@ public:
//////
//
- // QUANTIZATION
+ // TQUANTIZATION
/**
* Switch quantization on or off.
@@ -616,8 +616,8 @@ public:
return m_refreshStatusArray.getNewRefreshStatusId();
}
- SegmentRefreshStatus &getRefreshStatus(unsigned int id) {
- return m_refreshStatusArray.getRefreshStatus(id);
+ SegmentRefreshtqStatus &getRefreshtqStatus(unsigned int id) {
+ return m_refreshStatusArray.getRefreshtqStatus(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<SegmentRefreshStatus> m_refreshStatusArray;
+ RefreshStatusArray<SegmentRefreshtqStatus> m_refreshStatusArray;
struct ClefKeyCmp {
bool operator()(const Event *e1, const Event *e2) const;