aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result
diff options
context:
space:
mode:
Diffstat (limited to 'result')
-rw-r--r--result/result.cpp5
-rw-r--r--result/result.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/result/result.cpp b/result/result.cpp
index 0cedc52..9bd657e 100644
--- a/result/result.cpp
+++ b/result/result.cpp
@@ -71,3 +71,8 @@ void Result::generateDotTree(QString& s)
s.append(" [label=\"previousResult\", shape=\"box\"];\n");
}
}
+
+QString Result::getId() const
+{
+ return m_id;
+}
diff --git a/result/result.h b/result/result.h
index 59c3cb9..e4e00dc 100644
--- a/result/result.h
+++ b/result/result.h
@@ -93,6 +93,8 @@ public:
virtual QString toString(bool wl)= 0;
virtual Result* getCopy() const= 0;
+ QString getId() const;
+
protected:
int m_resultTypes; /// @brief
QString m_id;