aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result
diff options
context:
space:
mode:
Diffstat (limited to 'result')
-rw-r--r--result/stringresult.cpp5
-rw-r--r--result/stringresult.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/result/stringresult.cpp b/result/stringresult.cpp
index 201d1f3..d36dfc7 100644
--- a/result/stringresult.cpp
+++ b/result/stringresult.cpp
@@ -103,3 +103,8 @@ Result* StringResult::getCopy() const
std::for_each(m_value.begin(), m_value.end(), [copy](const QString& str) { copy->addText(str); });
return copy;
}
+
+QString StringResult::getStringResult() const
+{
+ return getText();
+}
diff --git a/result/stringresult.h b/result/stringresult.h
index bd8956b..522dafc 100644
--- a/result/stringresult.h
+++ b/result/stringresult.h
@@ -32,6 +32,7 @@ public:
bool isDigitOnly() const;
void setStringCount(int count);
+ QString getStringResult() const override;
private:
QStringList m_value;