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

Method FileManagerListJob

kdevplatform/project/filemanagerlistjob.cpp:35–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35FileManagerListJob::FileManagerListJob(ProjectFolderItem* item)
36 : m_item(item)
37{
38 setCapabilities(Killable);
39
40 qRegisterMetaType<KIO::UDSEntryList>("KIO::UDSEntryList");
41 qRegisterMetaType<KJob*>();
42
43 /* the following line is not an error in judgment, apparently starting a
44 * listJob while the previous one hasn't self-destructed takes a lot of time,
45 * so we give the job a chance to selfdestruct first */
46 connect( this, &FileManagerListJob::nextJob, this, &FileManagerListJob::startNextJob, Qt::QueuedConnection );
47
48 addSubDir(item);
49
50#ifdef TIME_IMPORT_JOB
51 m_timer.start();
52#endif
53}
54
55FileManagerListJob::~FileManagerListJob()
56{

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected