From 7d0c1d999344ea625670bf3d90d7c900cadb4854 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 6 Mar 2015 00:25:25 +0100 Subject: Reorganize files. Creation of subdir result. --- result/stringresult.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 result/stringresult.h (limited to 'result/stringresult.h') diff --git a/result/stringresult.h b/result/stringresult.h new file mode 100644 index 0000000..caa7e06 --- /dev/null +++ b/result/stringresult.h @@ -0,0 +1,36 @@ +#ifndef STRINGRESULT_H +#define STRINGRESULT_H + +#include +#include "result.h" +/** + * @brief The StringResult class + */ +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 -- cgit v1.2.3-70-g09d2