Changeset View
Changeset View
Standalone View
Standalone View
src/core/question.cpp
Show All 36 Lines | 29 | public: | |||
---|---|---|---|---|---|
37 | QStringList list; | 37 | QStringList list; | ||
38 | 38 | | |||
39 | bool questionActive; | 39 | bool questionActive; | ||
40 | Question::QuestionType questionType; | 40 | Question::QuestionType questionType; | ||
41 | Question::Response response; | 41 | Question::Response response; | ||
42 | QString textResponse; | 42 | QString textResponse; | ||
43 | }; | 43 | }; | ||
44 | 44 | | |||
45 | Question::Question(QuestionType questionType, QObject* parent) | 45 | Question::Question(QuestionType questionType, QObject *parent) | ||
46 | : QObject(parent) | 46 | : QObject(parent) | ||
47 | , d(new Private) | 47 | , d(new Private) | ||
48 | { | 48 | { | ||
49 | d->questionType = questionType; | 49 | d->questionType = questionType; | ||
50 | } | 50 | } | ||
51 | 51 | | |||
52 | Question::~Question() | 52 | Question::~Question() | ||
53 | { | 53 | { | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |