Mercurial > hg > svapp
comparison align/ExternalProgramAligner.h @ 761:6429a164b7e1 pitch-align
Schedule alignments with a small delay to avoid too much UI unresponsiveness. Also overhaul error reporting to use signals throughout.
author | Chris Cannam |
---|---|
date | Wed, 06 May 2020 11:45:27 +0100 |
parents | 31289e8592c7 |
children | 5de2b710cfae |
comparison
equal
deleted
inserted
replaced
757:f32df46d0c84 | 761:6429a164b7e1 |
---|---|
34 QString program); | 34 QString program); |
35 | 35 |
36 // Destroy the aligner, cleanly cancelling any ongoing alignment | 36 // Destroy the aligner, cleanly cancelling any ongoing alignment |
37 ~ExternalProgramAligner(); | 37 ~ExternalProgramAligner(); |
38 | 38 |
39 bool begin(QString &error) override; | 39 void begin() override; |
40 | 40 |
41 static bool isAvailable(QString program); | 41 static bool isAvailable(QString program); |
42 | 42 |
43 private slots: | 43 private slots: |
44 void programFinished(int, QProcess::ExitStatus); | 44 void programFinished(int, QProcess::ExitStatus); |