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

Method fileList

plugins/documentview/kdevdocumentmodel.cpp:49–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47{}
48
49QList<KDevFileItem*> KDevCategoryItem::fileList() const
50{
51 QList<KDevFileItem*> lst;
52
53 for ( int i = 0; i < rowCount(); ++i )
54 {
55 if (KDevFileItem* item = static_cast<KDevDocumentItem*>(child(i))->fileItem())
56 lst.append( item );
57 }
58
59 return lst;
60}
61
62KDevFileItem* KDevCategoryItem::file( const QUrl &url ) const
63{

Callers 6

fileMethod · 0.95
projectPathMethod · 0.45
addRemoveFilesMethod · 0.45
removeDirRecursiveMethod · 0.45

Calls 3

childFunction · 0.85
fileItemMethod · 0.45
appendMethod · 0.45

Tested by 4

projectPathMethod · 0.36
addRemoveFilesMethod · 0.36
removeDirRecursiveMethod · 0.36