Added getter/setters for the ChangeSet.

This commit is contained in:
Roberto Raggi
2009-11-26 12:19:58 +01:00
parent 854eecfc19
commit 32f67652df
3 changed files with 17 additions and 0 deletions

View File

@@ -612,6 +612,16 @@ bool BaseTextEditor::open(const QString &fileName)
return false;
}
const Utils::ChangeSet &BaseTextEditor::changeSet() const
{
return d->m_changeSet;
}
void BaseTextEditor::setChangeSet(const Utils::ChangeSet &changeSet)
{
d->m_changeSet = changeSet;
}
Core::IFile *BaseTextEditor::file()
{
return d->m_document;