Mercurial > hg > svapp
diff align/TransformAligner.h @ 753:31289e8592c7 pitch-align
Switch to using the pulled-out TransformAligner and ExternalProgramAligner
author | Chris Cannam |
---|---|
date | Fri, 24 Apr 2020 14:38:22 +0100 |
parents | 32654e402f8b |
children | 6429a164b7e1 |
line wrap: on
line diff
--- a/align/TransformAligner.h Thu Apr 23 17:11:26 2020 +0100 +++ b/align/TransformAligner.h Fri Apr 24 14:38:22 2020 +0100 @@ -15,14 +15,12 @@ #ifndef SV_TRANSFORM_ALIGNER_H #define SV_TRANSFORM_ALIGNER_H -#include <QString> - -#include "data/model/Model.h" +#include "Aligner.h" class AlignmentModel; class Document; -class TransformAligner : public QObject +class TransformAligner : public Aligner { Q_OBJECT @@ -34,17 +32,10 @@ // Destroy the aligner, cleanly cancelling any ongoing alignment ~TransformAligner(); - bool begin(QString &error); + bool begin(QString &error) override; static bool isAvailable(); -signals: - /** - * Emitted when alignment is successfully completed. The reference - * and toAlign models can be queried from the alignment model. - */ - void complete(ModelId alignmentModel); // an AlignmentModel - private slots: void alignmentCompletionChanged(ModelId); void tuningDifferenceCompletionChanged(ModelId);