aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/diffeditor/diffeditorcontroller.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2014-11-11 16:27:23 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2014-11-13 09:10:22 +0100
commit9605244f6d73aced9ec33eea105030ae23eea896 (patch)
treeec52b6659c211c36be2c07beecd09b1e2aef9132 /src/plugins/diffeditor/diffeditorcontroller.h
parente123f5a4d9ec164073d75fd926acadd9d4b2243b (diff)
DiffEditor: Save description along with diff.
Save complete, git-applicable patch when saving the result of for example 'git show'. Strips some Creator-specific tags off the description and reformats the description such that it is accepted by git. Change-Id: I739d85a7263f97e2149a2794974ba026f2eca067 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/diffeditor/diffeditorcontroller.h')
-rw-r--r--src/plugins/diffeditor/diffeditorcontroller.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/diffeditor/diffeditorcontroller.h b/src/plugins/diffeditor/diffeditorcontroller.h
index b408e9b014..b515e362b8 100644
--- a/src/plugins/diffeditor/diffeditorcontroller.h
+++ b/src/plugins/diffeditor/diffeditorcontroller.h
@@ -57,6 +57,7 @@ public:
bool isIgnoreWhitespace() const;
QString makePatch(bool revert, bool addPrefix = false) const;
+ QString contents() const;
DiffEditorReloader *reloader() const;
void setReloader(DiffEditorReloader *reloader);