Give functions a more verbose name.

This commit is contained in:
Mattias Andersson 2014-05-18 14:39:21 +02:00
parent 2137ac4709
commit 7d4343a826
2 changed files with 7 additions and 6 deletions

View File

@ -101,8 +101,9 @@ RipCD::RipCD(QWidget* parent)
connect(close_button_, SIGNAL(clicked()), SLOT(hide()));
connect(transcoder_, SIGNAL(JobComplete(QString, bool)),
SLOT(JobComplete(QString, bool)));
connect(transcoder_, SIGNAL(AllJobsComplete()), SLOT(AllJobsComplete()));
SLOT(TranscodingJobComplete(QString, bool)));
connect(transcoder_, SIGNAL(AllJobsComplete()),
SLOT(AllTranscodingJobsComplete()));
connect(transcoder_, SIGNAL(LogLine(QString)), SLOT(LogLine(QString)));
connect(this, SIGNAL(RippingComplete()), SLOT(ThreadedTranscoding()));
connect(this, SIGNAL(SignalUpdateProgress()), SLOT(UpdateProgress()));
@ -329,12 +330,12 @@ void RipCD::AddTrack(int track_number, const QString& title,
tracks_.append(track);
}
void RipCD::JobComplete(const QString& filename, bool success) {
void RipCD::TranscodingJobComplete(const QString& filename, bool success) {
(*(success ? &finished_success_ : &finished_failed_))++;
emit(SignalUpdateProgress());
}
void RipCD::AllJobsComplete() {
void RipCD::AllTranscodingJobsComplete() {
RemoveTemporaryDirectory();
// Save tags in the background.

View File

@ -122,8 +122,8 @@ signals:
void UpdateProgress();
void ThreadedTranscoding();
void ClickedRipButton();
void JobComplete(const QString& filename, bool success);
void AllJobsComplete();
void TranscodingJobComplete(const QString& filename, bool success);
void AllTranscodingJobsComplete();
void TaggingComplete();
void Options();
void AddDestination();