16 explicit TourEngine(QObject *parent =
nullptr);
22 QString
tourId()
const {
return m_core.id(); }
23 QString
tourTitle()
const {
return m_core.title(); }
27 bool isActive()
const {
return m_core.isActive(); }
50 void emitCurrentStep();
Shared step-navigation state machine for ExerciseEngine/TourEngine.
Owns the id/title/step-list/progress state machine shared by ExerciseEngine and TourEngine,...
const TourStep & currentStepData() const
Returns the data for the current step.
TourEngine(QObject *parent=nullptr)
QString tourTitle() const
void stepChanged(int step, int total, const TourStep &data)
bool loadFromResource(const QString &resourcePath)