19 #ifndef SWGCWKeyerSettings_H_ 20 #define SWGCWKeyerSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint32 getSampleRate();
46 void setSampleRate(qint32 sample_rate);
49 void setWpm(qint32 wpm);
52 void setMode(qint32 mode);
55 void setText(QString* text);
58 void setLoop(qint32 loop);
60 qint32 getKeyboardIambic();
61 void setKeyboardIambic(qint32 keyboard_iambic);
64 void setDotKey(qint32 dot_key);
66 qint32 getDotKeyModifiers();
67 void setDotKeyModifiers(qint32 dot_key_modifiers);
70 void setDashKey(qint32 dash_key);
72 qint32 getDashKeyModifiers();
73 void setDashKeyModifiers(qint32 dash_key_modifiers);
76 virtual bool isSet()
override;
bool m_keyboard_iambic_isSet
bool m_dash_key_modifiers_isSet
qint32 dash_key_modifiers
bool m_dot_key_modifiers_isSet