CppTools: Unexport some internal classes.

Unexports CppModelManager, CppSourceProcessor and CppToolsPlugin.

Now only some constructor signatures mention "Internal::" in the
exported symbols:

% nm --extern-only --demangle ./lib/qtcreator/plugins/libCppTools.so | grep "Internal::"
CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*)
CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*)
CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*)
CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*)

Change-Id: I167c21a6dc03cf02230c95fde66cf404e40df36f
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-05-19 11:17:39 -04:00
parent 9921960a72
commit 11845cd3dc
9 changed files with 31 additions and 20 deletions

View File

@@ -197,10 +197,7 @@ StringTable &CppToolsPlugin::stringTable()
void CppToolsPlugin::switchHeaderSource()
{
QString otherFile = correspondingHeaderOrSource(
EditorManager::currentDocument()->filePath());
if (!otherFile.isEmpty())
EditorManager::openEditor(otherFile);
CppTools::switchHeaderSource();
}
void CppToolsPlugin::switchHeaderSourceInNextSplit()