some timeline refactoring, preparing for rewrites

This commit is contained in:
itsmattkc
2021-01-09 11:41:33 +11:00
parent 3337be07e5
commit 8f729203fc
62 changed files with 638 additions and 1180 deletions
+2 -16
View File
@@ -86,19 +86,12 @@ public:
public slots:
signals:
/**
* @brief Signal emitted when this Block is refreshed
*
* Can be used as essentially a "changed" signal for UI widgets to know when to update their views
*/
void Refreshed();
void LengthChanged(const rational& length);
void LinksChanged();
void EnabledChanged();
void LengthChanged();
protected:
rational SequenceToMediaTime(const rational& sequence_time) const;
@@ -110,10 +103,6 @@ protected:
virtual QVector<NodeInput*> GetInputsToHash() const override;
virtual void LengthChangedEvent(const rational& old_length,
const rational& new_length,
const Timeline::MovementMode& mode);
Block* previous_;
Block* next_;
@@ -130,9 +119,6 @@ private:
QVector<Block*> linked_clips_;
private slots:
void LengthInputChanged();
};
}