Rename DiffEditorFile -> DiffEditorDocument

The old name had nothing to do with a file in fact.
The new name will be more appropriate for the new stuff,
which will come soon.

Change-Id: I17ad03dab5c643ff26e313a434ba86929a0f00c3
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Jarek Kobus
2014-01-30 13:31:11 +01:00
committed by Jarek Kobus
parent e2972e8a82
commit 65087004de
6 changed files with 21 additions and 21 deletions

View File

@@ -28,7 +28,7 @@
****************************************************************************/
#include "diffeditor.h"
#include "diffeditorfile.h"
#include "diffeditordocument.h"
#include "diffeditorwidget.h"
#include "diffeditorconstants.h"
@@ -51,7 +51,7 @@ namespace DiffEditor {
DiffEditor::DiffEditor(DiffEditorWidget *editorWidget)
: IEditor(0)
, m_toolWidget(0)
, m_file(new Internal::DiffEditorFile(QLatin1String(Constants::DIFF_EDITOR_MIMETYPE), this))
, m_document(new Internal::DiffEditorDocument(QLatin1String(Constants::DIFF_EDITOR_MIMETYPE), this))
, m_editorWidget(editorWidget)
, m_diffEditorController(0)
, m_entriesComboBox(0)
@@ -81,7 +81,7 @@ bool DiffEditor::open(QString *errorString, const QString &fileName, const QStri
Core::IDocument *DiffEditor::document()
{
return m_file;
return m_document;
}
Core::Id DiffEditor::id() const