2024-04-02 Fred Gleason <fredg@paravelsystems.com>

* Modified the Sound Panel classes to use native Qt JSON methods.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2024-04-03 12:42:00 -04:00
parent 68bd802bd0
commit 5e61a36076
7 changed files with 122 additions and 118 deletions

View File

@@ -2,7 +2,7 @@
//
// Component class for sound panel widgets.
//
// (C) Copyright 2002-2023 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2024 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -23,7 +23,6 @@
#include <rdplay_deck.h>
#include <rdpushbutton.h>
#include <rdweb.h>
//
// Widget Settings
@@ -79,7 +78,7 @@ class RDPanelButton : public RDPushButton
void resetCounter();
bool isEmpty() const;
bool isActive() const;
QString json(int padding=0,bool final=false);
QJsonValue json() const;
void setVisible(bool state);
signals: