43 : IUAVGadgetConfiguration(classId, parent)
60 m->m_reconnect = m_reconnect;
70 settings->setValue(
"speed", m_speed);
74 settings->beginGroup(QLatin1String(
"SerialConn"));
75 QString str = (settings->value(QLatin1String(
"speed"), tr(
"")).toString());
80 m_reconnect = settings->value(QLatin1String(
"reconnect"), tr(
"")).toBool();
85 settings->beginGroup(QLatin1String(
"SerialConn"));
86 settings->setValue(QLatin1String(
"speed"), m_speed);
87 settings->setValue(QLatin1String(
"reconnect"), m_reconnect);
static ICore * instance()
virtual ~SerialPluginConfiguration()
virtual QSettings * settings(QSettings::Scope scope=QSettings::UserScope) const =0
Returns the application's main settings object.
virtual void saveConfig() const
IUAVGadgetConfiguration * clone()
void savesettings() const
SerialPluginConfiguration(QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr)