Commit 3ddbe59c authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent bbda35d4
......@@ -35,7 +35,7 @@ Runner::Runner()
{
Control::start();
QTimer::singleShot(0, this, SLOT(sendAbort()));
QTimer::singleShot(0, this, &Runner::sendAbort);
}
void Runner::sendAbort()
......@@ -43,7 +43,7 @@ void Runner::sendAbort()
const AgentInstance mda = DispatcherInterface().dispatcherInstance();
if (!mda.isValid()) {
qDebug() << "Invalid instance; waiting.";
QTimer::singleShot(1000, this, SLOT(sendAbort()));
QTimer::singleShot(1000, this, &Runner::sendAbort);
return;
}
......
......@@ -142,8 +142,8 @@ MessageQueueJob *MessageQueuer::createQueueJob()
job->addressAttribute().setBcc(mBccEdit->text().isEmpty()
? QStringList() : mBccEdit->text().split(QLatin1Char(',')));
connect(job, SIGNAL(result(KJob*)),
SLOT(jobResult(KJob*)));
connect(job, &MessageQueueJob::result,
this, &MessageQueuer::jobResult);
connect(job, SIGNAL(percent(KJob*,ulong)),
SLOT(jobPercent(KJob*,ulong)));
connect(job, SIGNAL(infoMessage(KJob*,QString,QString)),
......
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