Changeset View
Changeset View
Standalone View
Standalone View
kcms/runners/kcm.cpp
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | |||||
87 | { | 87 | { | ||
88 | // Set focus on the pluginselector to pass focus to search bar. | 88 | // Set focus on the pluginselector to pass focus to search bar. | ||
89 | m_pluginSelector->setFocus(Qt::OtherFocusReason); | 89 | m_pluginSelector->setFocus(Qt::OtherFocusReason); | ||
90 | 90 | | |||
91 | m_pluginSelector->addPlugins(Plasma::RunnerManager::listRunnerInfo(), | 91 | m_pluginSelector->addPlugins(Plasma::RunnerManager::listRunnerInfo(), | ||
92 | KPluginSelector::ReadConfigFile, | 92 | KPluginSelector::ReadConfigFile, | ||
93 | i18n("Available Plugins"), QString(), | 93 | i18n("Available Plugins"), QString(), | ||
94 | KSharedConfig::openConfig(QLatin1String( "krunnerrc" ))); | 94 | KSharedConfig::openConfig(QLatin1String( "krunnerrc" ))); | ||
95 | m_pluginSelector->load(); | ||||
95 | } | 96 | } | ||
96 | 97 | | |||
97 | 98 | | |||
98 | void SearchConfigModule::save() | 99 | void SearchConfigModule::save() | ||
99 | { | 100 | { | ||
100 | m_pluginSelector->save(); | 101 | m_pluginSelector->save(); | ||
101 | } | 102 | } | ||
102 | 103 | | |||
103 | void SearchConfigModule::defaults() | 104 | void SearchConfigModule::defaults() | ||
104 | { | 105 | { | ||
106 | m_pluginSelector->defaults(); | ||||
105 | } | 107 | } | ||
106 | 108 | | |||
107 | #include "kcm.moc" | 109 | #include "kcm.moc" |