Commit 752e0950 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

emit -> Q_EMIT

parent 8e787760
......@@ -88,5 +88,5 @@ void Connection::readData()
m_stdIn.commitTransaction();
const QJsonObject json = QJsonDocument::fromJson(data).object();
emit dataReceived(json);
Q_EMIT dataReceived(json);
}
......@@ -52,7 +52,7 @@ void DownloadJob::doStart()
bool DownloadJob::doKill()
{
emit killRequested();
Q_EMIT killRequested();
// TODO what if the user kills us from notification area while the
// "Save As" prompt is still open?
return true;
......@@ -60,13 +60,13 @@ bool DownloadJob::doKill()
bool DownloadJob::doSuspend()
{
emit suspendRequested();
Q_EMIT suspendRequested();
return true;
}
bool DownloadJob::doResume()
{
emit resumeRequested();
Q_EMIT resumeRequested();
return true;
}
......
......@@ -70,9 +70,9 @@ bool PluginManager::setPluginLoaded(AbstractBrowserPlugin *plugin, bool loaded)
plugin->setLoaded(loaded);
if (loaded) {
emit pluginLoaded(plugin);
Q_EMIT pluginLoaded(plugin);
} else {
emit pluginUnloaded(plugin);
Q_EMIT pluginUnloaded(plugin);
}
return true;
......
......@@ -179,7 +179,7 @@ void Settings::handleData(const QString &event, const QJsonObject &data)
PluginManager::self().settingsChanged(plugin, settingsObject);
}
emit changed(data);
Q_EMIT changed(data);
} else if (event == QLatin1String("openKRunnerSettings")) {
QProcess::startDetached(QStringLiteral("systemsettings5"), {QStringLiteral("kcm_plasmasearch")});
} else if (event == QLatin1String("setEnvironment")) {
......
Supports Markdown
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