Mercurial > hg > svapp
diff align/ExternalProgramAligner.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/ExternalProgramAligner.h Thu Apr 23 17:11:26 2020 +0100 +++ b/align/ExternalProgramAligner.h Fri Apr 24 14:38:22 2020 +0100 @@ -15,15 +15,15 @@ #ifndef SV_EXTERNAL_PROGRAM_ALIGNER_H #define SV_EXTERNAL_PROGRAM_ALIGNER_H +#include "Aligner.h" + #include <QProcess> #include <QString> -#include "data/model/Model.h" - class AlignmentModel; class Document; -class ExternalProgramAligner : public QObject +class ExternalProgramAligner : public Aligner { Q_OBJECT @@ -36,16 +36,9 @@ // Destroy the aligner, cleanly cancelling any ongoing alignment ~ExternalProgramAligner(); - bool begin(QString &error); + bool begin(QString &error) override; static bool isAvailable(QString program); - -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 programFinished(int, QProcess::ExitStatus);