Support adding Jitsi and removing widgets

This commit is contained in:
Arno Rehn
2025-10-04 20:37:55 +02:00
parent 5b07a0ff45
commit 8b0698c670
4 changed files with 78 additions and 8 deletions

View File

@@ -51,6 +51,17 @@ public:
int jitsiIndex() const;
/**
* @brief Adds a new Jitsi widget
* @return The URL of the newly added Jitsi conference
*/
Q_INVOKABLE QUrl addJitsiConference();
/**
* @brief Removes the widget at @p index
* @return `true` on success, `false` otherwise
*/
Q_INVOKABLE bool removeWidget(int index);
Q_SIGNALS:
void roomChanged();
void jitsiIndexChanged();