- Q_INVOKABLE void setVolume(qint32 val);
-
-private slots:
- void onClientConnected();
- void onClientDisconnected();
- void onClientError(QAbstractSocket::SocketError se);
- void onClientEventReceived(QString name, const QJsonValue& data);
- void TryOpen();
+ Q_INVOKABLE void setVolume(quint32 val);
+ Q_PROPERTY (uint32_t volume READ getVolume WRITE setVolume NOTIFY VolumeChanged)