aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/textmark.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@theqtcompany.com>2015-08-31 16:28:26 +0200
committerMarco Bubke <marco.bubke@theqtcompany.com>2015-08-31 14:59:16 +0000
commitb278dc87ca8662ff98aeabc03ed4293021aab955 (patch)
tree4589ec81eb345979f52fd1fc7a293d4b0ea177d1 /src/plugins/texteditor/textmark.cpp
parent8dfa9a5dab144797e446b09979be98642403259a (diff)
Clang: Add diagnostics
Diagnostics are now moved to the clang backend process. Fixits are supported too. Change-Id: I20faacf466bbf78dec479220c3d7b336a47bc453 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/textmark.cpp')
-rw-r--r--src/plugins/texteditor/textmark.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/texteditor/textmark.cpp b/src/plugins/texteditor/textmark.cpp
index 7525c1a9908..e3a692e7355 100644
--- a/src/plugins/texteditor/textmark.cpp
+++ b/src/plugins/texteditor/textmark.cpp
@@ -65,6 +65,20 @@ TextMark::~TextMark()
m_baseTextDocument = 0;
}
+TextMark::TextMark(TextMark &&other)
+ : m_baseTextDocument(std::move(other.m_baseTextDocument)),
+ m_fileName(std::move(other.m_fileName)),
+ m_lineNumber(std::move(other.m_lineNumber)),
+ m_priority(std::move(other.m_priority)),
+ m_visible(std::move(other.m_visible)),
+ m_icon(std::move(other.m_icon)),
+ m_color(std::move(other.m_color)),
+ m_category(std::move(other.m_category)),
+ m_widthFactor(std::move(other.m_widthFactor))
+{
+ other.m_baseTextDocument = nullptr;
+}
+
QString TextMark::fileName() const
{
return m_fileName;