Expose CppModelManagerInterface::workingCopy()

This commit is contained in:
Roberto Raggi
2009-10-12 10:38:00 +02:00
parent db14533928
commit 420b09e8c2
5 changed files with 16 additions and 9 deletions

View File

@@ -28,7 +28,7 @@
**************************************************************************/
#include "cppfindreferences.h"
#include "cppmodelmanager.h"
#include "cppmodelmanagerinterface.h"
#include "cpptoolsconstants.h"
#include <texteditor/basetexteditor.h>
@@ -452,7 +452,7 @@ private:
} // end of anonymous namespace
CppFindReferences::CppFindReferences(CppModelManager *modelManager)
CppFindReferences::CppFindReferences(CppTools::CppModelManagerInterface *modelManager)
: _modelManager(modelManager),
_resultWindow(ExtensionSystem::PluginManager::instance()->getObject<Find::SearchResultWindow>())
{
@@ -614,7 +614,7 @@ void CppFindReferences::findAll_helper(Symbol *symbol)
_resultWindow->popup(true);
const Snapshot snapshot = _modelManager->snapshot();
const QMap<QString, QString> wl = _modelManager->buildWorkingCopyList();
const QMap<QString, QString> wl = _modelManager->workingCopy();
Core::ProgressManager *progressManager = Core::ICore::instance()->progressManager();