aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/stringresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'stringresult.h')
-rw-r--r--stringresult.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/stringresult.h b/stringresult.h
index 7db55a1..caa7e06 100644
--- a/stringresult.h
+++ b/stringresult.h
@@ -1,13 +1,36 @@
#ifndef STRINGRESULT_H
#define STRINGRESULT_H
+#include <QString>
+#include "result.h"
/**
* @brief The StringResult class
*/
-class StringResult
+class StringResult : public Result
{
public:
+ /**
+ * @brief StringResult
+ */
StringResult();
+ /**
+ * @brief setText
+ * @param text
+ */
+ void setText(QString text);
+ /**
+ * @brief getText
+ * @return
+ */
+ QString getText() const;
+ /**
+ * @brief getScalar
+ * @return
+ */
+ virtual QVariant getResult(RESULT_TYPE);
+
+private:
+ QString m_value;
};
#endif // STRINGRESULT_H