24 explicit QMLBridge(QObject *parent =
nullptr);
33 Q_INVOKABLE
void stop();
34 Q_INVOKABLE
void play();
35 Q_INVOKABLE
void pause();
37 Q_INVOKABLE
void saveFile(QString dir);
Q_INVOKABLE QString getOutputDevices()
Get the current output devices.
Definition: QMLBridge.cpp:136
Q_INVOKABLE void stop()
Trigger stop in the Transport and update the UI state via signal.
Definition: QMLBridge.cpp:43
Extra class for managing the state of the application and all audio related processes.
Definition: Transport.h:29
QMLBridge(QObject *parent=nullptr)
Construct a new instance of the QMLBridge class.
Definition: QMLBridge.cpp:16
Q_INVOKABLE void pause()
Trigger pause in the Transport and update the UI state via signal.
Definition: QMLBridge.cpp:61
void stateChanged()
Signal emmitted when the Transport changes states.
Q_INVOKABLE void launchUpdateProcess()
Launch the updater process.
Definition: QMLBridge.cpp:170
Q_INVOKABLE void setActiveInputDevice(QString QDeviceName)
Match a string that the user chose to the input device list and notify the backend.
Definition: QMLBridge.cpp:71
Q_INVOKABLE QString getInputDevices()
Get the current input devices.
Definition: QMLBridge.cpp:115
Q_INVOKABLE void setActiveOutputDevice(QString QDeviceName)
Match a string that the user chose to the output device list and notify the backend.
Definition: QMLBridge.cpp:93
Q_INVOKABLE void play()
Trigger playback in the Transport and update the UI state via signal.
Definition: QMLBridge.cpp:52
Q_INVOKABLE QString getTransportState() const
Return the current state of the Transport instance as a QString.
Definition: QMLBridge.cpp:26
Definition: Controller.h:11
Class for communicating between QML and C++.
Definition: QMLBridge.h:17
Q_INVOKABLE void record()
Trigger record in the Transport and update the UI state via signal.
Definition: QMLBridge.cpp:34
Q_INVOKABLE void saveFile(QString dir)
Get the directory the user wants to save to.
Definition: QMLBridge.cpp:159