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

Method file

plugins/documentview/kdevdocumentmodel.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62KDevFileItem* KDevCategoryItem::file( const QUrl &url ) const
63{
64 const auto fileList = this->fileList();
65 for (KDevFileItem* item : fileList) {
66 if ( item->url() == url )
67 return item;
68 }
69
70 return nullptr;
71}
72
73KDevFileItem::KDevFileItem( const QUrl &url )
74 : KDevDocumentItem( url.fileName() )

Callers 2

contextMenuExtensionMethod · 0.45
openedMethod · 0.45

Calls 2

fileListMethod · 0.95
urlMethod · 0.45

Tested by

no test coverage detected