![]() |
HulaLoop
Simple cross-platform audio loopback and recording.
|
Class for communicating between QML and C++. More...
#include <qmlbridge.h>


Signals | |
| void | stateChanged () |
| Signal emmitted when the Transport changes states. More... | |
Public Member Functions | |
| QMLBridge (QObject *parent=nullptr) | |
| Construct a new instance of the QMLBridge class. More... | |
| Q_INVOKABLE QString | getTransportState () const |
| Return the current state of the Transport instance as a QString. More... | |
| Q_INVOKABLE void | record () |
| Trigger record in the Transport and update the UI state via signal. | |
| Q_INVOKABLE void | stop () |
| Trigger stop in the Transport and update the UI state via signal. | |
| Q_INVOKABLE void | play () |
| Trigger playback in the Transport and update the UI state via signal. | |
| Q_INVOKABLE void | pause () |
| Trigger pause in the Transport and update the UI state via signal. | |
Class for communicating between QML and C++.
This is designed to be added as a QML type and used in QML.
|
explicit |
| QString QMLBridge::getTransportState | ( | ) | const |
|
signal |
Signal emmitted when the Transport changes states.
Keeps the UI's state machine on the same page.
1.8.11