void RecordItNowPluginManager::loadPluginList() { clear(); loadInfos("RecordItNowRecorder"); if (m_plugins.isEmpty()) { printf("*********************************\n"); printf("Please run \"kbuildsycoca4\".\n"); printf("*********************************\n"); } loadInfos("RecordItNowEncoder"); emit pluginsChanged(); }
void StationsPluginFactorySimple::init() { if (initialized) return ; loadInfos(QString(":/%1/%1.xml").arg(id_)); loadCities(QString(":/%1/cities.xml").arg(id_)); loadCities(Tools::pluginsPath().canonicalPath() + QString("/%1/cities.xml").arg(id_)); initialized = true; }