aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result/stringresult.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-08-27 17:01:59 +0200
committerRenaud G <renaud@rolisteam.org>2015-08-27 17:01:59 +0200
commit41b9202ef9102cb94e5b3fdcf8ce760509abaa49 (patch)
tree177a21853ec3f272d6a52b3968ee1a7eaa1ca107 /result/stringresult.cpp
parent372e9cc02d36f40a70faa5e45ce648cdd8b98850 (diff)
parent0e4d08bf25a81ac68635f526f17ae5e82152cb10 (diff)
downloadOneRoll-41b9202ef9102cb94e5b3fdcf8ce760509abaa49.tar.gz
OneRoll-41b9202ef9102cb94e5b3fdcf8ce760509abaa49.zip
Merge branch 'doneWork'
Diffstat (limited to 'result/stringresult.cpp')
-rw-r--r--result/stringresult.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/result/stringresult.cpp b/result/stringresult.cpp
index 4dbd577..474ae23 100644
--- a/result/stringresult.cpp
+++ b/result/stringresult.cpp
@@ -2,6 +2,7 @@
StringResult::StringResult()
{
+ m_highlight = true;
m_resultTypes = Result::STRING;
}
void StringResult::setText(QString text)
@@ -35,3 +36,12 @@ QString StringResult::toString()
{
return QString("StringResult_value_%1").arg(getText().replace(" ","_"));
}
+void StringResult::setHighLight(bool b)
+{
+ m_highlight = b;
+}
+
+bool StringResult::hasHighLight() const
+{
+ return m_highlight;
+}