Purpose
11#include "alternativesmodel.h"
13#include <purpose/purpose_export.h>
17class PURPOSE_EXPORT JobController :
public QObject
20 Q_PROPERTY(AlternativesModel *model READ model WRITE setModel NOTIFY modelChanged)
21 Q_PROPERTY(
int index READ index WRITE setIndex NOTIFY indexChanged)
22 Q_PROPERTY(State state READ state NOTIFY stateChanged)
23 Q_PROPERTY(Purpose::Configuration *configuration READ config NOTIFY configChanged)
24 Q_PROPERTY(Purpose::Job *job READ job NOTIFY jobChanged)
37 AlternativesModel *model()
const;
38 void setModel(AlternativesModel *model);
41 void setIndex(
int index);
45 Configuration *config()
const;
50 Q_INVOKABLE
void startJob();
61 AlternativesModel *m_model =
nullptr;
63 Purpose::Configuration *m_configuration =
nullptr;
64 State m_state = Inactive;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:55:09 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.