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

Method updateFileRange

plugins/filetemplates/outputpage.cpp:60–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void OutputPagePrivate::updateFileRange(const QString& field)
61{
62 const auto outputFileIt = outputFiles.constFind(field);
63 if (outputFileIt == outputFiles.constEnd()) {
64 return;
65 }
66
67 const QString url = (*outputFileIt)->url().toLocalFile();
68 QFileInfo info(url);
69
70 updateRanges(outputLines[field], outputColumns[field], info.exists() && !info.isDir());
71
72 validate();
73}
74
75void OutputPagePrivate::updateFileNames()
76{

Callers 1

prepareFormMethod · 0.80

Calls 5

constEndMethod · 0.80
toLocalFileMethod · 0.80
existsMethod · 0.80
constFindMethod · 0.45
urlMethod · 0.45

Tested by

no test coverage detected