Commit 09e1c12f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename method

parent 0dea1438
......@@ -210,7 +210,7 @@ void ManageSieveScriptsDialog::slotSieveEditorCheckSyntaxClicked()
}
KManageSieve::SieveJob *job = KManageSieve::SieveJob::put(d->mCurrentURL, script, d->mWasActive, d->mWasActive);
job->setInteractive(false);
connect(job, &KManageSieve::SieveJob::errorMessage, this, &ManageSieveScriptsDialog::slotPutResultDebug);
connect(job, &KManageSieve::SieveJob::errorMessage, this, &ManageSieveScriptsDialog::slotPutCheckSyntaxResultDebug);
}
void ManageSieveScriptsDialog::slotSieveEditorOkClicked()
......@@ -234,7 +234,7 @@ void ManageSieveScriptsDialog::slotSieveEditorCancelClicked()
}
}
void ManageSieveScriptsDialog::slotPutResultDebug(KManageSieve::SieveJob *, bool success, const QString &errorMsg)
void ManageSieveScriptsDialog::slotPutCheckSyntaxResultDebug(KManageSieve::SieveJob *, bool success, const QString &errorMsg)
{
if (success) {
d->mSieveEditor->addOkMessage(i18n("No errors found."));
......
......@@ -49,7 +49,7 @@ Q_SIGNALS:
private Q_SLOTS:
void slotGetResult(KManageSieve::SieveJob *, bool, const QString &, bool);
void slotPutResult(KManageSieve::SieveJob *, bool);
void slotPutResultDebug(KManageSieve::SieveJob *, bool success, const QString &errorMsg);
void slotPutCheckSyntaxResultDebug(KManageSieve::SieveJob *, bool success, const QString &errorMsg);
void slotSieveEditorOkClicked();
void slotSieveEditorCancelClicked();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment