Commit 17febac8 authored by Erik Verbruggen's avatar Erik Verbruggen

C++: Rename ModelItemInfo to IndexInfo.

And move it into its own header and source files.

Change-Id: I37401badd819e028e1d767425759dc0ff27afe31
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 4d812d86
...@@ -88,12 +88,12 @@ void ClangSymbolSearcher::search(const QLinkedList<Symbol> &allSymbols) ...@@ -88,12 +88,12 @@ void ClangSymbolSearcher::search(const QLinkedList<Symbol> &allSymbols)
} }
++symbolNr; ++symbolNr;
CppTools::ModelItemInfo info; CppTools::IndexItem info;
switch (s.m_kind) { switch (s.m_kind) {
case Symbol::Enum: case Symbol::Enum:
if (m_parameters.types & SymbolSearcher::Enums) { if (m_parameters.types & SymbolSearcher::Enums) {
info.type = CppTools::ModelItemInfo::Enum; info.type = CppTools::IndexItem::Enum;
info.symbolType = QLatin1String("enum"); info.symbolType = QLatin1String("enum");
break; break;
} else { } else {
...@@ -101,7 +101,7 @@ void ClangSymbolSearcher::search(const QLinkedList<Symbol> &allSymbols) ...@@ -101,7 +101,7 @@ void ClangSymbolSearcher::search(const QLinkedList<Symbol> &allSymbols)
} }
case Symbol::Class: case Symbol::Class:
if (m_parameters.types & SymbolSearcher::Classes) { if (m_parameters.types & SymbolSearcher::Classes) {
info.type = CppTools::ModelItemInfo::Class; info.type = CppTools::IndexItem::Class;
info.symbolType = QLatin1String("class"); info.symbolType = QLatin1String("class");
break; break;
} else { } else {
...@@ -112,14 +112,14 @@ void ClangSymbolSearcher::search(const QLinkedList<Symbol> &allSymbols) ...@@ -112,14 +112,14 @@ void ClangSymbolSearcher::search(const QLinkedList<Symbol> &allSymbols)
case Symbol::Constructor: case Symbol::Constructor:
case Symbol::Destructor: case Symbol::Destructor:
if (m_parameters.types & SymbolSearcher::Functions) { if (m_parameters.types & SymbolSearcher::Functions) {
info.type = CppTools::ModelItemInfo::Function; info.type = CppTools::IndexItem::Function;
break; break;
} else { } else {
continue; continue;
} }
case Symbol::Declaration: case Symbol::Declaration:
if (m_parameters.types & SymbolSearcher::Declarations) { if (m_parameters.types & SymbolSearcher::Declarations) {
info.type = CppTools::ModelItemInfo::Declaration; info.type = CppTools::IndexItem::Declaration;
break; break;
} else { } else {
continue; continue;
......
...@@ -1920,7 +1920,7 @@ void AddIncludeForUndefinedIdentifier::match(const CppQuickFixInterface &interfa ...@@ -1920,7 +1920,7 @@ void AddIncludeForUndefinedIdentifier::match(const CppQuickFixInterface &interfa
QList<Core::LocatorFilterEntry> matches = classesFilter->matchesFor(dummyInterface, className); QList<Core::LocatorFilterEntry> matches = classesFilter->matchesFor(dummyInterface, className);
bool classExists = false; bool classExists = false;
foreach (const Core::LocatorFilterEntry &entry, matches) { foreach (const Core::LocatorFilterEntry &entry, matches) {
ModelItemInfo::Ptr info = entry.internalData.value<ModelItemInfo::Ptr>(); IndexItem::Ptr info = entry.internalData.value<IndexItem::Ptr>();
if (info->symbolName() != className) if (info->symbolName() != className)
continue; continue;
classExists = true; classExists = true;
......
...@@ -125,16 +125,16 @@ public: ...@@ -125,16 +125,16 @@ public:
break; break;
if (m_fileNames.isEmpty() || m_fileNames.contains(it.value()->fileName())) { if (m_fileNames.isEmpty() || m_fileNames.contains(it.value()->fileName())) {
QVector<Core::SearchResultItem> resultItems; QVector<Core::SearchResultItem> resultItems;
search(it.value())->visitAllChildren([&](const ModelItemInfo::Ptr &info) { search(it.value())->visitAllChildren([&](const IndexItem::Ptr &info) {
if (matcher.indexIn(info->symbolName()) != -1) { if (matcher.indexIn(info->symbolName()) != -1) {
QString text = info->symbolName(); QString text = info->symbolName();
QString scope = info->symbolScope(); QString scope = info->symbolScope();
if (info->type() == ModelItemInfo::Function) { if (info->type() == IndexItem::Function) {
QString name; QString name;
info->unqualifiedNameAndScope(info->symbolName(), &name, &scope); info->unqualifiedNameAndScope(info->symbolName(), &name, &scope);
text = name + info->symbolType(); text = name + info->symbolType();
} else if (info->type() == ModelItemInfo::Declaration){ } else if (info->type() == IndexItem::Declaration){
text = ModelItemInfo::representDeclaration(info->symbolName(), text = IndexItem::representDeclaration(info->symbolName(),
info->symbolType()); info->symbolType());
} }
......
...@@ -45,12 +45,12 @@ CppClassesFilter::~CppClassesFilter() ...@@ -45,12 +45,12 @@ CppClassesFilter::~CppClassesFilter()
{ {
} }
QList<QList<ModelItemInfo::Ptr> > CppClassesFilter::itemsToMatchUserInputAgainst() const QList<QList<IndexItem::Ptr> > CppClassesFilter::itemsToMatchUserInputAgainst() const
{ {
return QList<QList<CppTools::ModelItemInfo::Ptr> >() << m_data->classes(); return QList<QList<CppTools::IndexItem::Ptr> >() << m_data->classes();
} }
Core::LocatorFilterEntry CppClassesFilter::filterEntryFromModelItemInfo(ModelItemInfo::Ptr info) Core::LocatorFilterEntry CppClassesFilter::filterEntryFromIndexItem(IndexItem::Ptr info)
{ {
const QVariant id = qVariantFromValue(info); const QVariant id = qVariantFromValue(info);
Core::LocatorFilterEntry filterEntry(this, info->symbolName(), id, info->icon()); Core::LocatorFilterEntry filterEntry(this, info->symbolName(), id, info->icon());
......
...@@ -45,8 +45,8 @@ public: ...@@ -45,8 +45,8 @@ public:
~CppClassesFilter(); ~CppClassesFilter();
private: private:
QList<QList<CppTools::ModelItemInfo::Ptr> > itemsToMatchUserInputAgainst() const; QList<QList<CppTools::IndexItem::Ptr> > itemsToMatchUserInputAgainst() const;
Core::LocatorFilterEntry filterEntryFromModelItemInfo(ModelItemInfo::Ptr info); Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info);
}; };
} // namespace CppTools } // namespace CppTools
......
...@@ -79,22 +79,22 @@ QList<Core::LocatorFilterEntry> CppCurrentDocumentFilter::matchesFor( ...@@ -79,22 +79,22 @@ QList<Core::LocatorFilterEntry> CppCurrentDocumentFilter::matchesFor(
Snapshot snapshot = m_modelManager->snapshot(); Snapshot snapshot = m_modelManager->snapshot();
Document::Ptr thisDocument = snapshot.document(m_currentFileName); Document::Ptr thisDocument = snapshot.document(m_currentFileName);
if (thisDocument) if (thisDocument)
search(thisDocument)->visitAllChildren([&](const ModelItemInfo::Ptr &info){ search(thisDocument)->visitAllChildren([&](const IndexItem::Ptr &info){
m_itemsOfCurrentDoc.append(info); m_itemsOfCurrentDoc.append(info);
}); });
} }
const Qt::CaseSensitivity caseSensitivityForPrefix = caseSensitivity(entry); const Qt::CaseSensitivity caseSensitivityForPrefix = caseSensitivity(entry);
foreach (ModelItemInfo::Ptr info, m_itemsOfCurrentDoc) { foreach (IndexItem::Ptr info, m_itemsOfCurrentDoc) {
if (future.isCanceled()) if (future.isCanceled())
break; break;
QString matchString = info->symbolName(); QString matchString = info->symbolName();
if (info->type() == ModelItemInfo::Declaration) if (info->type() == IndexItem::Declaration)
matchString = ModelItemInfo::representDeclaration(info->symbolName(), matchString = IndexItem::representDeclaration(info->symbolName(),
info->symbolType()); info->symbolType());
else if (info->type() == ModelItemInfo::Function) else if (info->type() == IndexItem::Function)
matchString += info->symbolType(); matchString += info->symbolType();
if ((hasWildcard && regexp.exactMatch(matchString)) if ((hasWildcard && regexp.exactMatch(matchString))
...@@ -103,7 +103,7 @@ QList<Core::LocatorFilterEntry> CppCurrentDocumentFilter::matchesFor( ...@@ -103,7 +103,7 @@ QList<Core::LocatorFilterEntry> CppCurrentDocumentFilter::matchesFor(
QVariant id = qVariantFromValue(info); QVariant id = qVariantFromValue(info);
QString name = matchString; QString name = matchString;
QString extraInfo = info->symbolScope(); QString extraInfo = info->symbolScope();
if (info->type() == ModelItemInfo::Function) { if (info->type() == IndexItem::Function) {
if (info->unqualifiedNameAndScope(matchString, &name, &extraInfo)) if (info->unqualifiedNameAndScope(matchString, &name, &extraInfo))
name += info->symbolType(); name += info->symbolType();
} }
...@@ -125,7 +125,7 @@ QList<Core::LocatorFilterEntry> CppCurrentDocumentFilter::matchesFor( ...@@ -125,7 +125,7 @@ QList<Core::LocatorFilterEntry> CppCurrentDocumentFilter::matchesFor(
void CppCurrentDocumentFilter::accept(Core::LocatorFilterEntry selection) const void CppCurrentDocumentFilter::accept(Core::LocatorFilterEntry selection) const
{ {
ModelItemInfo::Ptr info = qvariant_cast<CppTools::ModelItemInfo::Ptr>(selection.internalData); IndexItem::Ptr info = qvariant_cast<CppTools::IndexItem::Ptr>(selection.internalData);
Core::EditorManager::openEditorAt(info->fileName(), info->line(), info->column()); Core::EditorManager::openEditorAt(info->fileName(), info->line(), info->column());
} }
......
...@@ -61,7 +61,7 @@ private slots: ...@@ -61,7 +61,7 @@ private slots:
private: private:
CppModelManager * m_modelManager; CppModelManager * m_modelManager;
QString m_currentFileName; QString m_currentFileName;
QList<ModelItemInfo::Ptr> m_itemsOfCurrentDoc; QList<IndexItem::Ptr> m_itemsOfCurrentDoc;
SearchSymbols search; SearchSymbols search;
}; };
......
...@@ -45,12 +45,12 @@ CppFunctionsFilter::~CppFunctionsFilter() ...@@ -45,12 +45,12 @@ CppFunctionsFilter::~CppFunctionsFilter()
{ {
} }
QList<QList<CppTools::ModelItemInfo::Ptr> > CppFunctionsFilter::itemsToMatchUserInputAgainst() const QList<QList<CppTools::IndexItem::Ptr> > CppFunctionsFilter::itemsToMatchUserInputAgainst() const
{ {
return QList<QList<CppTools::ModelItemInfo::Ptr> >() << m_data->functions(); return QList<QList<CppTools::IndexItem::Ptr> >() << m_data->functions();
} }
Core::LocatorFilterEntry CppFunctionsFilter::filterEntryFromModelItemInfo(ModelItemInfo::Ptr info) Core::LocatorFilterEntry CppFunctionsFilter::filterEntryFromIndexItem(IndexItem::Ptr info)
{ {
const QVariant id = qVariantFromValue(info); const QVariant id = qVariantFromValue(info);
......
...@@ -45,8 +45,8 @@ public: ...@@ -45,8 +45,8 @@ public:
~CppFunctionsFilter(); ~CppFunctionsFilter();
private: private:
QList<QList<ModelItemInfo::Ptr> > itemsToMatchUserInputAgainst() const; QList<QList<IndexItem::Ptr> > itemsToMatchUserInputAgainst() const;
Core::LocatorFilterEntry filterEntryFromModelItemInfo(ModelItemInfo::Ptr info); Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info);
}; };
} // namespace Internal } // namespace Internal
......
...@@ -53,22 +53,22 @@ CppLocatorData::CppLocatorData(CppModelManager *modelManager) ...@@ -53,22 +53,22 @@ CppLocatorData::CppLocatorData(CppModelManager *modelManager)
this, SLOT(onAboutToRemoveFiles(QStringList))); this, SLOT(onAboutToRemoveFiles(QStringList)));
} }
QList<ModelItemInfo::Ptr> CppLocatorData::enums() QList<IndexItem::Ptr> CppLocatorData::enums()
{ {
flushPendingDocument(true); flushPendingDocument(true);
return allModelItemInfos(m_allEnums); return allIndexItems(m_allEnums);
} }
QList<ModelItemInfo::Ptr> CppLocatorData::classes() QList<IndexItem::Ptr> CppLocatorData::classes()
{ {
flushPendingDocument(true); flushPendingDocument(true);
return allModelItemInfos(m_allClasses); return allIndexItems(m_allClasses);
} }
QList<ModelItemInfo::Ptr> CppLocatorData::functions() QList<IndexItem::Ptr> CppLocatorData::functions()
{ {
flushPendingDocument(true); flushPendingDocument(true);
return allModelItemInfos(m_allFunctions); return allIndexItems(m_allFunctions);
} }
void CppLocatorData::onDocumentUpdated(const CPlusPlus::Document::Ptr &document) void CppLocatorData::onDocumentUpdated(const CPlusPlus::Document::Ptr &document)
...@@ -120,21 +120,19 @@ void CppLocatorData::flushPendingDocument(bool force) ...@@ -120,21 +120,19 @@ void CppLocatorData::flushPendingDocument(bool force)
foreach (CPlusPlus::Document::Ptr doc, m_pendingDocuments) { foreach (CPlusPlus::Document::Ptr doc, m_pendingDocuments) {
const QString fileName = findOrInsertFilePath(doc->fileName()); const QString fileName = findOrInsertFilePath(doc->fileName());
QList<ModelItemInfo::Ptr> resultsEnums; QList<IndexItem::Ptr> resultsEnums;
QList<ModelItemInfo::Ptr> resultsClasses; QList<IndexItem::Ptr> resultsClasses;
QList<ModelItemInfo::Ptr> resultsFunctions; QList<IndexItem::Ptr> resultsFunctions;
const int sizeHint = m_allEnums[fileName].size() + m_allClasses[fileName].size() m_search(doc)->visitAllChildren([&](const IndexItem::Ptr &info) {
+ m_allFunctions[fileName].size() + 10;
m_search(doc, sizeHint)->visitAllChildren([&](const ModelItemInfo::Ptr &info) {
switch (info->type()) { switch (info->type()) {
case ModelItemInfo::Enum: case IndexItem::Enum:
resultsEnums.append(info); resultsEnums.append(info);
break; break;
case ModelItemInfo::Class: case IndexItem::Class:
resultsClasses.append(info); resultsClasses.append(info);
break; break;
case ModelItemInfo::Function: case IndexItem::Function:
resultsFunctions.append(info); resultsFunctions.append(info);
break; break;
default: default:
...@@ -151,11 +149,11 @@ void CppLocatorData::flushPendingDocument(bool force) ...@@ -151,11 +149,11 @@ void CppLocatorData::flushPendingDocument(bool force)
m_pendingDocuments.reserve(MaxPendingDocuments); m_pendingDocuments.reserve(MaxPendingDocuments);
} }
QList<ModelItemInfo::Ptr> CppLocatorData::allModelItemInfos(const QHash<QString, QList<IndexItem::Ptr> CppLocatorData::allIndexItems(
QList<ModelItemInfo::Ptr>> &items) const const QHash<QString, QList<IndexItem::Ptr>> &items) const
{ {
QList<ModelItemInfo::Ptr> result; QList<IndexItem::Ptr> result;
QHashIterator<QString, QList<ModelItemInfo::Ptr> > it(items); QHashIterator<QString, QList<IndexItem::Ptr> > it(items);
while (it.hasNext()) { while (it.hasNext()) {
it.next(); it.next();
result.append(it.value()); result.append(it.value());
......
...@@ -49,9 +49,9 @@ class CppLocatorData : public QObject ...@@ -49,9 +49,9 @@ class CppLocatorData : public QObject
public: public:
explicit CppLocatorData(CppModelManager *modelManager); explicit CppLocatorData(CppModelManager *modelManager);
QList<ModelItemInfo::Ptr> enums(); QList<IndexItem::Ptr> enums();
QList<ModelItemInfo::Ptr> classes(); QList<IndexItem::Ptr> classes();
QList<ModelItemInfo::Ptr> functions(); QList<IndexItem::Ptr> functions();
private slots: private slots:
void onDocumentUpdated(const CPlusPlus::Document::Ptr &document); void onDocumentUpdated(const CPlusPlus::Document::Ptr &document);
...@@ -59,8 +59,7 @@ private slots: ...@@ -59,8 +59,7 @@ private slots:
private: private:
void flushPendingDocument(bool force); void flushPendingDocument(bool force);
QList<ModelItemInfo::Ptr> allModelItemInfos( QList<IndexItem::Ptr> allIndexItems(const QHash<QString, QList<IndexItem::Ptr>> &items) const;
const QHash<QString, QList<ModelItemInfo::Ptr>> &items) const;
QString findOrInsertFilePath(const QString &path) QString findOrInsertFilePath(const QString &path)
{ return m_strings.insert(path); } { return m_strings.insert(path); }
...@@ -71,9 +70,9 @@ private: ...@@ -71,9 +70,9 @@ private:
StringTable &m_strings; // Used to avoid QString duplication StringTable &m_strings; // Used to avoid QString duplication
SearchSymbols m_search; SearchSymbols m_search;
QHash<QString, QList<ModelItemInfo::Ptr> > m_allEnums; QHash<QString, QList<IndexItem::Ptr> > m_allEnums;
QHash<QString, QList<ModelItemInfo::Ptr> > m_allClasses; QHash<QString, QList<IndexItem::Ptr> > m_allClasses;
QHash<QString, QList<ModelItemInfo::Ptr> > m_allFunctions; QHash<QString, QList<IndexItem::Ptr> > m_allFunctions;
mutable QMutex m_pendingDocumentsMutex; mutable QMutex m_pendingDocumentsMutex;
QVector<CPlusPlus::Document::Ptr> m_pendingDocuments; QVector<CPlusPlus::Document::Ptr> m_pendingDocuments;
......
...@@ -48,11 +48,11 @@ CppLocatorFilter::~CppLocatorFilter() ...@@ -48,11 +48,11 @@ CppLocatorFilter::~CppLocatorFilter()
{ {
} }
Core::LocatorFilterEntry CppLocatorFilter::filterEntryFromModelItemInfo(ModelItemInfo::Ptr info) Core::LocatorFilterEntry CppLocatorFilter::filterEntryFromIndexItem(IndexItem::Ptr info)
{ {
const QVariant id = qVariantFromValue(info); const QVariant id = qVariantFromValue(info);
Core::LocatorFilterEntry filterEntry(this, info->scopedSymbolName(), id, info->icon()); Core::LocatorFilterEntry filterEntry(this, info->scopedSymbolName(), id, info->icon());
if (info->type() == ModelItemInfo::Class || info->type() == ModelItemInfo::Enum) if (info->type() == IndexItem::Class || info->type() == IndexItem::Enum)
filterEntry.extraInfo = info->shortNativeFilePath(); filterEntry.extraInfo = info->shortNativeFilePath();
else else
filterEntry.extraInfo = info->symbolType(); filterEntry.extraInfo = info->symbolType();
...@@ -65,9 +65,9 @@ void CppLocatorFilter::refresh(QFutureInterface<void> &future) ...@@ -65,9 +65,9 @@ void CppLocatorFilter::refresh(QFutureInterface<void> &future)
Q_UNUSED(future) Q_UNUSED(future)
} }
QList<QList<CppTools::ModelItemInfo::Ptr> > CppLocatorFilter::itemsToMatchUserInputAgainst() const QList<QList<CppTools::IndexItem::Ptr> > CppLocatorFilter::itemsToMatchUserInputAgainst() const
{ {
return QList<QList<CppTools::ModelItemInfo::Ptr> >() return QList<QList<CppTools::IndexItem::Ptr> >()
<< m_data->classes() << m_data->classes()
<< m_data->functions() << m_data->functions()
<< m_data->enums(); << m_data->enums();
...@@ -94,16 +94,16 @@ QList<Core::LocatorFilterEntry> CppLocatorFilter::matchesFor( ...@@ -94,16 +94,16 @@ QList<Core::LocatorFilterEntry> CppLocatorFilter::matchesFor(
bool hasColonColon = entry.contains(QLatin1String("::")); bool hasColonColon = entry.contains(QLatin1String("::"));
const Qt::CaseSensitivity caseSensitivityForPrefix = caseSensitivity(entry); const Qt::CaseSensitivity caseSensitivityForPrefix = caseSensitivity(entry);
const QList<QList<CppTools::ModelItemInfo::Ptr> > itemLists = itemsToMatchUserInputAgainst(); const QList<QList<CppTools::IndexItem::Ptr> > itemLists = itemsToMatchUserInputAgainst();
foreach (const QList<CppTools::ModelItemInfo::Ptr> &items, itemLists) { foreach (const QList<CppTools::IndexItem::Ptr> &items, itemLists) {
foreach (ModelItemInfo::Ptr info, items) { foreach (IndexItem::Ptr info, items) {
if (future.isCanceled()) if (future.isCanceled())
break; break;
const QString matchString = hasColonColon ? info->scopedSymbolName() const QString matchString = hasColonColon ? info->scopedSymbolName()
: info->symbolName(); : info->symbolName();
if ((hasWildcard && regexp.exactMatch(matchString)) if ((hasWildcard && regexp.exactMatch(matchString))
|| (!hasWildcard && matcher.indexIn(matchString) != -1)) { || (!hasWildcard && matcher.indexIn(matchString) != -1)) {
const Core::LocatorFilterEntry filterEntry = filterEntryFromModelItemInfo(info); const Core::LocatorFilterEntry filterEntry = filterEntryFromIndexItem(info);
if (matchString.startsWith(entry, caseSensitivityForPrefix)) if (matchString.startsWith(entry, caseSensitivityForPrefix))
betterEntries.append(filterEntry); betterEntries.append(filterEntry);
else else
...@@ -123,6 +123,6 @@ QList<Core::LocatorFilterEntry> CppLocatorFilter::matchesFor( ...@@ -123,6 +123,6 @@ QList<Core::LocatorFilterEntry> CppLocatorFilter::matchesFor(
void CppLocatorFilter::accept(Core::LocatorFilterEntry selection) const void CppLocatorFilter::accept(Core::LocatorFilterEntry selection) const
{ {
ModelItemInfo::Ptr info = qvariant_cast<CppTools::ModelItemInfo::Ptr>(selection.internalData); IndexItem::Ptr info = qvariant_cast<CppTools::IndexItem::Ptr>(selection.internalData);
Core::EditorManager::openEditorAt(info->fileName(), info->line(), info->column()); Core::EditorManager::openEditorAt(info->fileName(), info->line(), info->column());
} }
...@@ -54,8 +54,8 @@ public: ...@@ -54,8 +54,8 @@ public:
void refresh(QFutureInterface<void> &future); void refresh(QFutureInterface<void> &future);
protected: protected:
virtual QList<QList<ModelItemInfo::Ptr> > itemsToMatchUserInputAgainst() const; virtual QList<QList<IndexItem::Ptr> > itemsToMatchUserInputAgainst() const;
virtual Core::LocatorFilterEntry filterEntryFromModelItemInfo(ModelItemInfo::Ptr info); virtual Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info);
protected: protected:
CppLocatorData *m_data; CppLocatorData *m_data;
......
...@@ -50,6 +50,7 @@ HEADERS += \ ...@@ -50,6 +50,7 @@ HEADERS += \
doxygengenerator.h \ doxygengenerator.h \
functionutils.h \ functionutils.h \
includeutils.h \ includeutils.h \
indexitem.h \
insertionpointlocator.h \ insertionpointlocator.h \
searchsymbols.h \ searchsymbols.h \
stringtable.h \ stringtable.h \
...@@ -103,6 +104,7 @@ SOURCES += \ ...@@ -103,6 +104,7 @@ SOURCES += \
doxygengenerator.cpp \ doxygengenerator.cpp \
functionutils.cpp \ functionutils.cpp \
includeutils.cpp \ includeutils.cpp \
indexitem.cpp \
insertionpointlocator.cpp \ insertionpointlocator.cpp \
searchsymbols.cpp \ searchsymbols.cpp \
stringtable.cpp \ stringtable.cpp \
......
...@@ -71,6 +71,7 @@ QtcPlugin { ...@@ -71,6 +71,7 @@ QtcPlugin {
"doxygengenerator.cpp", "doxygengenerator.h", "doxygengenerator.cpp", "doxygengenerator.h",
"functionutils.cpp", "functionutils.h", "functionutils.cpp", "functionutils.h",
"includeutils.cpp", "includeutils.h", "includeutils.cpp", "includeutils.h",
"indexitem.cpp", "indexitem.h",
"insertionpointlocator.cpp", "insertionpointlocator.h", "insertionpointlocator.cpp", "insertionpointlocator.h",
"searchsymbols.cpp", "searchsymbols.h", "searchsymbols.cpp", "searchsymbols.h",
"stringtable.cpp", "stringtable.h", "stringtable.cpp", "stringtable.h",
......
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia. For licensing terms and
** conditions see http://qt.digia.com/licensing. For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software