comparison rdf/PluginRDFIndexer.cpp @ 456:64e64e304a12

* minor addition to help out future work
author Chris Cannam
date Mon, 13 Oct 2008 13:53:05 +0000
parents 5746c559af15
children ef14acd6d102
comparison
equal deleted inserted replaced
455:3e0f1f7bec85 456:64e64e304a12
151 QString id = getIdForPluginURI(uri); 151 QString id = getIdForPluginURI(uri);
152 if (id == "") return ""; 152 if (id == "") return "";
153 return getDescriptionURLForPluginId(id); 153 return getDescriptionURLForPluginId(id);
154 } 154 }
155 155
156 QStringList
157 PluginRDFIndexer::getIndexedPluginIds()
158 {
159 QStringList ids;
160 for (StringMap::const_iterator i = m_idToDescriptionMap.begin();
161 i != m_idToDescriptionMap.end(); ++i) {
162 ids.push_back(i->first);
163 }
164 return ids;
165 }
166
156 bool 167 bool
157 PluginRDFIndexer::indexFile(QString filepath) 168 PluginRDFIndexer::indexFile(QString filepath)
158 { 169 {
159 QUrl url = QUrl::fromLocalFile(filepath); 170 QUrl url = QUrl::fromLocalFile(filepath);
160 QString urlString = url.toString(); 171 QString urlString = url.toString();