CppTools: Reparse editor documents after active project change

Change-Id: I010709c866291bf59c27f4a05765e1ab0efd28af
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2016-12-15 11:21:44 +01:00
parent bd66d5ac05
commit 602c873d3e
17 changed files with 88 additions and 46 deletions

View File

@@ -34,28 +34,23 @@ namespace CppTools {
C++ editor document.
*/
CppEditorDocumentHandle::CppEditorDocumentHandle()
: m_needsRefresh(false)
{
}
CppEditorDocumentHandle::~CppEditorDocumentHandle()
{
}
bool CppEditorDocumentHandle::needsRefresh() const
{
return m_needsRefresh;
}
void CppEditorDocumentHandle::setNeedsRefresh(bool needsRefresh)
{
m_needsRefresh = needsRefresh;
}
SendDocumentTracker &CppEditorDocumentHandle::sendTracker()
{
return m_sendTracker;
}
CppEditorDocumentHandle::RefreshReason CppEditorDocumentHandle::refreshReason() const
{
return m_refreshReason;
}
void CppEditorDocumentHandle::setRefreshReason(const RefreshReason &refreshReason)
{
m_refreshReason = refreshReason;
}
} // namespace CppTools