| 58 | QWidget *TutorialChapter::getMainSubject() const { return mainSubject; } |
| 59 | |
| 60 | void TutorialChapter::setMainSubject(QWidget *newMainSubject) |
| 61 | { |
| 62 | if(!subjects.contains(newMainSubject)) { |
| 63 | qWarning(CAT_TUTORIALCHAPTER) << "The new main subject is not part of the subject list."; |
| 64 | } |
| 65 | this->mainSubject = newMainSubject; |
| 66 | } |
| 67 | |
| 68 | int TutorialChapter::getXOffset() const { return x_offset; } |
| 69 |
no test coverage detected