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

Method eventuallyReadFolder

kdevplatform/project/abstractfilemanagerplugin.cpp:124–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124KJob* AbstractFileManagerPluginPrivate::eventuallyReadFolder(ProjectFolderItem* item)
125{
126 auto* listJob = new FileManagerListJob( item );
127 m_projectJobs[ item->project() ] << listJob;
128 qCDebug(FILEMANAGER) << "adding job" << listJob << item << item->path() << "for project" << item->project();
129
130 q->connect( listJob, &FileManagerListJob::finished,
131 q, [&] (KJob* job) { jobFinished(job); } );
132
133 q->connect( listJob, &FileManagerListJob::entries,
134 q, [&] (FileManagerListJob* job, ProjectFolderItem* baseItem, const KIO::UDSEntryList& entries) {
135 addJobItems(job, baseItem, entries); } );
136
137 return listJob;
138}
139
140void AbstractFileManagerPluginPrivate::jobFinished(KJob* job)
141{

Callers 4

createImportJobMethod · 0.80
reloadMethod · 0.80
moveFilesAndFoldersMethod · 0.80
copyFilesAndFoldersMethod · 0.80

Calls 2

projectMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected