MCPcopy Create free account
hub / github.com/KDE/kdevelop / import

Method import

plugins/custommake/custommakemanager.cpp:264–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264KDevelop::ProjectFolderItem* CustomMakeManager::import(KDevelop::IProject *project)
265{
266 if( project->path().isRemote() )
267 {
268 //FIXME turn this into a real warning
269 qCWarning(CUSTOMMAKE) << project->path() << "not a local file. Custom make support doesn't handle remote projects";
270 return nullptr;
271 }
272
273 {
274 QWriteLocker lock(&m_provider->m_lock);
275 m_projectPaths.insert(project->path().path());
276 }
277
278 return AbstractFileManagerPlugin::import( project );
279}
280
281/////////////////////////////////////////////////////////////////////////////
282// private slots

Callers

nothing calls this directly

Calls 4

importFunction · 0.85
isRemoteMethod · 0.80
pathMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected