7 #include "../control/transport.h" 21 explicit QMLBridge(QObject *parent =
nullptr);
25 Q_INVOKABLE
void stop();
26 Q_INVOKABLE
void play();
27 Q_INVOKABLE
void pause();
Q_INVOKABLE void pause()
Trigger pause in the Transport and update the UI state via signal.
Definition: qmlbridge.cpp:55
Utility class for managing state of application and all audio related processes.
Definition: transport.h:19
Q_INVOKABLE void record()
Trigger record in the Transport and update the UI state via signal.
Definition: qmlbridge.cpp:28
Q_INVOKABLE QString getTransportState() const
Return the current state of the Transport instance as a QString.
Definition: qmlbridge.cpp:20
Class for communicating between QML and C++.
Definition: qmlbridge.h:13
QMLBridge(QObject *parent=nullptr)
Construct a new instance of the QMLBridge class.
Definition: qmlbridge.cpp:10
void stateChanged()
Signal emmitted when the Transport changes states.
Q_INVOKABLE void stop()
Trigger stop in the Transport and update the UI state via signal.
Definition: qmlbridge.cpp:37
Q_INVOKABLE void play()
Trigger playback in the Transport and update the UI state via signal.
Definition: qmlbridge.cpp:46