19 #ifndef SWGKiwiSDRSettings_H_ 20 #define SWGKiwiSDRSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
46 void setGain(qint32 gain);
49 void setUseAgc(qint32 use_agc);
52 void setDcBlock(qint32 dc_block);
54 qint64 getCenterFrequency();
55 void setCenterFrequency(qint64 center_frequency);
57 QString* getServerAddress();
58 void setServerAddress(QString* server_address);
60 QString* getFileRecordName();
61 void setFileRecordName(QString* file_record_name);
63 qint32 getUseReverseApi();
64 void setUseReverseApi(qint32 use_reverse_api);
66 QString* getReverseApiAddress();
67 void setReverseApiAddress(QString* reverse_api_address);
69 qint32 getReverseApiPort();
70 void setReverseApiPort(qint32 reverse_api_port);
72 qint32 getReverseApiDeviceIndex();
73 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
76 virtual bool isSet()
override;
QString * file_record_name
bool m_server_address_isSet
QString * reverse_api_address
bool m_reverse_api_port_isSet
bool m_file_record_name_isSet
bool m_reverse_api_device_index_isSet
qint32 reverse_api_device_index
bool m_reverse_api_address_isSet
bool m_use_reverse_api_isSet
bool m_center_frequency_isSet