summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase/vcsbaseplugin.h
diff options
context:
space:
mode:
authorjkobus <jaroslaw.kobus@digia.com>2014-02-11 13:00:35 +0100
committerJarek Kobus <jaroslaw.kobus@digia.com>2014-02-18 13:46:49 +0100
commit73cf43f32370d8986b4c06511b95771582cc421d (patch)
tree1506c433ca50511420c0332b2b9f432a180ccbb3 /src/plugins/vcsbase/vcsbaseplugin.h
parent84e8a79c814dc6e788cad9643d0e225c7a92e76d (diff)
downloadqt-creator-73cf43f32370d8986b4c06511b95771582cc421d.tar.gz
Add DiffEditorManager, refactoring.
GitDiffSwitcher operates now on IDocument. GitDiffHandler operates now on DiffEditorController. "source" property now attached to editor's document (VcsBasePlugin). Change-Id: Ie2570a597b8b992ac1dc33b9179eca459c8a751a Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseplugin.h')
-rw-r--r--src/plugins/vcsbase/vcsbaseplugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.h b/src/plugins/vcsbase/vcsbaseplugin.h
index 890762a694..9f5f23442b 100644
--- a/src/plugins/vcsbase/vcsbaseplugin.h
+++ b/src/plugins/vcsbase/vcsbaseplugin.h
@@ -48,7 +48,7 @@ namespace Utils { struct SynchronousProcessResponse; }
namespace Core {
class IVersionControl;
class Id;
-class IEditor;
+class IDocument;
}
namespace VcsBase {
@@ -157,9 +157,9 @@ public:
static bool isSshPromptConfigured();
// Sets the source of editor contents, can be directory or file.
- static void setSource(Core::IEditor *editor, const QString &source);
+ static void setSource(Core::IDocument *document, const QString &source);
// Returns the source of editor contents.
- static QString source(Core::IEditor *editor);
+ static QString source(Core::IDocument *document);
// Convenience to synchronously run VCS commands
enum RunVcsFlags {