Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Browser Integration
Commits
752e0950
Commit
752e0950
authored
Apr 18, 2021
by
Kai Uwe Broulik
🍇
Browse files
emit -> Q_EMIT
parent
8e787760
Changes
4
Hide whitespace changes
Inline
Side-by-side
host/connection.cpp
View file @
752e0950
...
...
@@ -88,5 +88,5 @@ void Connection::readData()
m_stdIn
.
commitTransaction
();
const
QJsonObject
json
=
QJsonDocument
::
fromJson
(
data
).
object
();
emit
dataReceived
(
json
);
Q_EMIT
dataReceived
(
json
);
}
host/downloadjob.cpp
View file @
752e0950
...
...
@@ -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
;
}
...
...
host/pluginmanager.cpp
View file @
752e0950
...
...
@@ -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
;
...
...
host/settings.cpp
View file @
752e0950
...
...
@@ -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"
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment