A user feedback question to be inserted into a <aclass="el"href="classKFeedbackQuestionList.html">KFeedbackQuestionList</a>.
<p>
<p>
Definition at line <aclass="el"href="kfeedback_8h-source.html#l00275">275</a> of file <aclass="el"href="kfeedback_8h-source.html">kfeedback.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
The parent <aclass="el"href="classKFeedbackQuestionList.html">KFeedbackQuestionList</a> assumes ownership of this object, so don't delete it unless you want to delete it from the question list as well.<p>
'text' is the text the user will see (in his native language).<p>
'id' is what will be sent with the feedback mail, thus it should be unique within the application, yet human readable (preferably English) and not contain any weird characters that might confuse scripts that are later used to automatically parse those mails. Examples: "features_not_liked", "stability"<p>
Set 'required' to 'true' if answering this question is required to successfully complete this form.<p>
Set 'exclusiveAnswer' to 'true' if only one of all answers may be checked at any one time, to 'false' if multiple answers are allowed.
<p>
Definition at line <aclass="el"href="kfeedback_8cpp-source.html#l00336">336</a> of file <aclass="el"href="kfeedback_8cpp-source.html">kfeedback.cpp</a>.
<p>
References <aclass="el"href="kfeedback_8h-source.html#l00384">_no</a>, and <aclass="el"href="kfeedback_8cpp-source.html#l00324">KFeedbackQuestionList::questionAdded()</a>.
Add an answer to this question. Again, 'text' is what the user will see (translated to his native language), 'id' is what you will get back with the mail. The answer IDs need only be unique for that question; answers to other questions may have the same ID.
<p>
Definition at line <aclass="el"href="kfeedback_8cpp-source.html#l00360">360</a> of file <aclass="el"href="kfeedback_8cpp-source.html">kfeedback.cpp</a>.
Referenced by <aclass="el"href="kshowmailfeedback_8cpp-source.html#l00130">KShowMailApp::addFeatureList()</a>, <aclass="el"href="kfeedback_8cpp-source.html#l00303">KFeedbackQuestionList::addYesNoQuestion()</a>, and <aclass="el"href="kshowmailfeedback_8cpp-source.html#l00023">KShowMailApp::slotSendFeedbackMail()</a>.
Referenced by <aclass="el"href="kfeedback_8cpp-source.html#l00254">KFeedbackQuestionList::isComplete()</a>, and <aclass="el"href="kfeedback_8cpp-source.html#l00324">KFeedbackQuestionList::questionAdded()</a>.
If this question requires an exclusive answer, exactly one of them should be checked. We don't need to bother about more than one being checked here - TQListView does that for us.
Definition at line <aclass="el"href="kfeedback_8cpp-source.html#l00368">368</a> of file <aclass="el"href="kfeedback_8cpp-source.html">kfeedback.cpp</a>.
<p>
References <aclass="el"href="kfeedback_8h-source.html#l00382">_exclusiveAnswer</a>, <aclass="el"href="kfeedback_8h-source.html#l00369">firstAnswer()</a>, <aclass="el"href="kfeedback_8h-source.html#l00420">KFeedbackAnswer::isChecked()</a>, and <aclass="el"href="kfeedback_8h-source.html#l00425">KFeedbackAnswer::nextAnswer()</a>.
<p>
Referenced by <aclass="el"href="kfeedback_8cpp-source.html#l00254">KFeedbackQuestionList::isComplete()</a>.
The result of this question in ASCII, e.g. recommend="yes" or features_i_like="builtin_tetris" features_i_like="pink_elephant" features_i_like="studlycapslyfier"
<p>
Definition at line <aclass="el"href="kfeedback_8cpp-source.html#l00402">402</a> of file <aclass="el"href="kfeedback_8cpp-source.html">kfeedback.cpp</a>.
<p>
References <aclass="el"href="kfeedback_8h-source.html#l00381">_id</a>, <aclass="el"href="kfeedback_8h-source.html#l00369">firstAnswer()</a>, <aclass="el"href="kfeedback_8h-source.html#l00405">KFeedbackAnswer::id()</a>, <aclass="el"href="kfeedback_8h-source.html#l00420">KFeedbackAnswer::isChecked()</a>, and <aclass="el"href="kfeedback_8h-source.html#l00425">KFeedbackAnswer::nextAnswer()</a>.
<p>
Referenced by <aclass="el"href="kfeedback_8cpp-source.html#l00270">KFeedbackQuestionList::result()</a>.
Definition at line <aclass="el"href="kfeedback_8cpp-source.html#l00430">430</a> of file <aclass="el"href="kfeedback_8cpp-source.html">kfeedback.cpp</a>.
Definition at line <aclass="el"href="kfeedback_8cpp-source.html#l00437">437</a> of file <aclass="el"href="kfeedback_8cpp-source.html">kfeedback.cpp</a>.
Returns the next question or 0 if there is no more.
<p>
Definition at line <aclass="el"href="kfeedback_8h-source.html#l00362">362</a> of file <aclass="el"href="kfeedback_8h-source.html">kfeedback.h</a>.
<p>
Referenced by <aclass="el"href="kfeedback_8cpp-source.html#l00254">KFeedbackQuestionList::isComplete()</a>, and <aclass="el"href="kfeedback_8cpp-source.html#l00270">KFeedbackQuestionList::result()</a>.
Returns the first possible answer to this question. Use <aclass="el"href="classKFeedbackAnswer.html#31fe8732bdbda805d1306e5c86fcae91">KFeedbackAnswer::nextAnswer()</a> to get the next one.
<p>
Definition at line <aclass="el"href="kfeedback_8h-source.html#l00369">369</a> of file <aclass="el"href="kfeedback_8h-source.html">kfeedback.h</a>.
<p>
Referenced by <aclass="el"href="kfeedback_8cpp-source.html#l00368">isAnswered()</a>, and <aclass="el"href="kfeedback_8cpp-source.html#l00402">result()</a>.
Returns the <aclass="el"href="classKFeedbackQuestionList.html">KFeedbackQuestionList</a> this question belongs to or 0 if the parent is no <aclass="el"href="classKFeedbackQuestionList.html">KFeedbackQuestionList</a>.
<p>
Definition at line <aclass="el"href="kfeedback_8cpp-source.html#l00447">447</a> of file <aclass="el"href="kfeedback_8cpp-source.html">kfeedback.cpp</a>.
<p>
Referenced by <aclass="el"href="kfeedback_8cpp-source.html#l00491">KFeedbackAnswer::stateChange()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>