Rename TCO and BB to clip and pattern in save files (#6309)
... and clarify how PatternTrack cloning works - pattern -> midiclip - automationpattern -> automationclip - *tco -> *clip - bb* -> pattern* - bbtrackcontainer -> patternstore
This commit is contained in:
@@ -149,7 +149,7 @@ public:
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
static const QString classNodeName() { return "automationpattern"; }
|
||||
static const QString classNodeName() { return "automationclip"; }
|
||||
QString nodeName() const override { return classNodeName(); }
|
||||
|
||||
ClipView * createView( TrackView * _tv ) override;
|
||||
|
||||
@@ -123,6 +123,7 @@ private:
|
||||
void upgrade_extendedNoteRange();
|
||||
void upgrade_defaultTripleOscillatorHQ();
|
||||
void upgrade_mixerRename();
|
||||
void upgrade_bbTcoRename();
|
||||
|
||||
// List of all upgrade methods
|
||||
static const std::vector<UpgradeMethod> UPGRADE_METHODS;
|
||||
|
||||
@@ -91,8 +91,7 @@ public:
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
//TODO: rename to "midiClip"
|
||||
return "pattern";
|
||||
return "midiclip";
|
||||
}
|
||||
|
||||
inline InstrumentTrack * instrumentTrack() const
|
||||
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "bbtco" ); // TODO rename to patternclip
|
||||
return "patternclip";
|
||||
}
|
||||
|
||||
int patternIndex();
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "bbtrackcontainer"; // TODO rename to patternstore
|
||||
return "patternstore";
|
||||
}
|
||||
|
||||
bar_t lengthOfPattern(int pattern) const;
|
||||
|
||||
@@ -77,7 +77,7 @@ public:
|
||||
protected:
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "bbtrack" ); //TODO rename to patterntrack
|
||||
return "patterntrack";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "sampletco";
|
||||
return "sampleclip";
|
||||
}
|
||||
|
||||
SampleBuffer* sampleBuffer()
|
||||
@@ -89,4 +89,4 @@ signals:
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user