Commit c7d0c192 authored by Allen Winter's avatar Allen Winter

normalize SIGNALs and SLOTs

parent ad4e7c75
......@@ -146,8 +146,8 @@ int main(int argc, char *argv[])
KUniqueService service;
TestObject testObject(&service);
QObject::connect(&service, SIGNAL(activateRequested(QStringList, QString)),
&testObject, SLOT(slotActivateRequested(QStringList, QString)));
QObject::connect(&service, SIGNAL(activateRequested(QStringList,QString)),
&testObject, SLOT(slotActivateRequested(QStringList,QString)));
// Testcase for the problem coming from the old fork-on-startup solution:
// the "Activate" D-Bus call would time out if the app took too much time
......
......@@ -214,8 +214,8 @@ void ImportPaperKeyCommand::doStart()
auto exportJob = QGpgME::openpgp()->publicKeyExportJob();
// Do not change to new style connect without testing on
// Windows / mingw first for compatibility please.
connect(exportJob, SIGNAL(result(GpgME::Error, QByteArray)),
this, SLOT(exportResult(GpgME::Error, QByteArray)));
connect(exportJob, SIGNAL(result(GpgME::Error,QByteArray)),
this, SLOT(exportResult(GpgME::Error,QByteArray)));
exportJob->start(QStringList() << QLatin1String(d->key().primaryFingerprint()));
}
......
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