forked from qt-creator/qt-creator
Implemented Rename Macro Usages
Works the same way as Rename Usages for C++ Symbols. For now, no Search Again as this requieres further work. Task-number: QTCREATORBUG-413 Change-Id: I09e85ea1e8c247f5ce0b6bc566aba8018c1569e4 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
committed by
Leandro Melo
parent
6147419f87
commit
44a3a5e070
@@ -870,6 +870,11 @@ void CppModelManager::findMacroUsages(const CPlusPlus::Macro ¯o)
|
||||
m_findReferences->findMacroUses(macro);
|
||||
}
|
||||
|
||||
void CppModelManager::renameMacroUsages(const CPlusPlus::Macro ¯o, const QString &replacement)
|
||||
{
|
||||
m_findReferences->renameMacroUses(macro, replacement);
|
||||
}
|
||||
|
||||
CppModelManager::WorkingCopy CppModelManager::buildWorkingCopyList()
|
||||
{
|
||||
WorkingCopy workingCopy;
|
||||
|
||||
Reference in New Issue
Block a user