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

Method addRenameFileChanges

kdevplatform/language/codegen/basicrefactoring.cpp:124–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124DocumentChangeSet::ChangeResult BasicRefactoring::addRenameFileChanges(const QUrl& current,
125 const QString& newName,
126 DocumentChangeSet* changes)
127{
128 return changes->addDocumentRenameChange(
129 IndexedString(current), IndexedString(newFileName(current, newName)));
130}
131
132bool BasicRefactoring::shouldRenameFile(Declaration* declaration)
133{

Callers 1

executeMethod · 0.80

Calls 2

IndexedStringClass · 0.70

Tested by

no test coverage detected