19 #ifndef SWGWFMModSettings_H_ 20 #define SWGWFMModSettings_H_ 22 #include <QJsonObject> 41 virtual QString asJson ()
override;
42 virtual QJsonObject* asJsonObject()
override;
43 virtual void fromJsonObject(QJsonObject &json)
override;
46 qint64 getInputFrequencyOffset();
47 void setInputFrequencyOffset(qint64 input_frequency_offset);
49 float getRfBandwidth();
50 void setRfBandwidth(
float rf_bandwidth);
52 float getAfBandwidth();
53 void setAfBandwidth(
float af_bandwidth);
55 float getFmDeviation();
56 void setFmDeviation(
float fm_deviation);
58 float getToneFrequency();
59 void setToneFrequency(
float tone_frequency);
61 float getVolumeFactor();
62 void setVolumeFactor(
float volume_factor);
64 qint32 getChannelMute();
65 void setChannelMute(qint32 channel_mute);
68 void setPlayLoop(qint32 play_loop);
71 void setRgbColor(qint32 rgb_color);
74 void setTitle(QString* title);
76 QString* getAudioDeviceName();
77 void setAudioDeviceName(QString* audio_device_name);
79 qint32 getModAfInput();
80 void setModAfInput(qint32 mod_af_input);
82 qint32 getUseReverseApi();
83 void setUseReverseApi(qint32 use_reverse_api);
85 QString* getReverseApiAddress();
86 void setReverseApiAddress(QString* reverse_api_address);
88 qint32 getReverseApiPort();
89 void setReverseApiPort(qint32 reverse_api_port);
91 qint32 getReverseApiDeviceIndex();
92 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
94 qint32 getReverseApiChannelIndex();
95 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
101 virtual bool isSet()
override;
bool m_rf_bandwidth_isSet
bool m_volume_factor_isSet
bool m_input_frequency_offset_isSet
bool m_mod_af_input_isSet
bool m_tone_frequency_isSet
bool m_channel_mute_isSet
bool m_reverse_api_device_index_isSet
qint32 reverse_api_device_index
bool m_reverse_api_channel_index_isSet
QString * audio_device_name
bool m_reverse_api_port_isSet
qint32 reverse_api_channel_index
qint64 input_frequency_offset
bool m_use_reverse_api_isSet
QString * reverse_api_address
bool m_fm_deviation_isSet
bool m_af_bandwidth_isSet
bool m_audio_device_name_isSet
bool m_reverse_api_address_isSet
SWGCWKeyerSettings * cw_keyer