mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
plasma: bring back Plasma::RunnerManager::reloadConfiguration() method
does totally different thing tho - the old method was reloading the configuration of Plasma::RunnerManager while this one reloads the configuration of the loaded runners. it is a convenience method still that should not be used as runners are matching for obvious reasons Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d4ab9eae6c
commit
489bb13a8b
2 changed files with 12 additions and 0 deletions
|
@ -251,6 +251,13 @@ QMimeData* RunnerManager::mimeDataForMatch(const QueryMatch &match) const
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RunnerManager::reloadConfiguration()
|
||||||
|
{
|
||||||
|
foreach (Plasma::AbstractRunner *runner, d->runners) {
|
||||||
|
runner->reloadConfiguration();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
KPluginInfo::List RunnerManager::listRunnerInfo(const QString &parentApp)
|
KPluginInfo::List RunnerManager::listRunnerInfo(const QString &parentApp)
|
||||||
{
|
{
|
||||||
QString constraint;
|
QString constraint;
|
||||||
|
|
|
@ -117,6 +117,11 @@ public:
|
||||||
*/
|
*/
|
||||||
QMimeData* mimeDataForMatch(const QueryMatch &match) const;
|
QMimeData* mimeDataForMatch(const QueryMatch &match) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Causes a reload of the configuration of all loaded runners
|
||||||
|
*/
|
||||||
|
void reloadConfiguration();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of all known Runner implementations
|
* Returns a list of all known Runner implementations
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue