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

Method handleRemovedItem

kdevplatform/project/filemanagerlistjob.cpp:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void FileManagerListJob::handleRemovedItem(ProjectBaseItem* item)
70{
71 // NOTE: the item could be (partially) destroyed already, thus it's not save
72 // to call e.g. item->folder to cast the base item to a folder item...
73 auto *folder = reinterpret_cast<ProjectFolderItem*>(item);
74 m_listQueue.removeAll(folder);
75
76 if (isChildItem(item, m_item)) {
77 kill();
78 }
79}
80
81void FileManagerListJob::remoteFolderSubjobEntriesFound(KJob* job, const KIO::UDSEntryList& foundEntries)
82{

Callers 1

Calls 1

isChildItemFunction · 0.85

Tested by

no test coverage detected