From d66acb51d0c8b511df9f679806cbd3d84cce41ef Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 14 Feb 2012 16:43:51 +0100 Subject: Rename IFile->IDocument and FileManager->DocumentManager And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King Reviewed-by: Eike Ziller --- src/plugins/vcsbase/basevcseditorfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/vcsbase/basevcseditorfactory.cpp') diff --git a/src/plugins/vcsbase/basevcseditorfactory.cpp b/src/plugins/vcsbase/basevcseditorfactory.cpp index bd32b2982b..a74d1390f7 100644 --- a/src/plugins/vcsbase/basevcseditorfactory.cpp +++ b/src/plugins/vcsbase/basevcseditorfactory.cpp @@ -99,10 +99,10 @@ QString BaseVcsEditorFactory::displayName() const return d->m_displayName; } -Core::IFile *BaseVcsEditorFactory::open(const QString &fileName) +Core::IDocument *BaseVcsEditorFactory::open(const QString &fileName) { Core::IEditor *iface = Core::EditorManager::instance()->openEditor(fileName, id()); - return iface ? iface->file() : 0; + return iface ? iface->document() : 0; } Core::IEditor *BaseVcsEditorFactory::createEditor(QWidget *parent) -- cgit v1.2.1