aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/stringresult.h
blob: caa7e06e5f167e099dc8b8e08f39b9ac3359cda1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef STRINGRESULT_H
#define STRINGRESULT_H

#include <QString>
#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