| 87 | } |
| 88 | |
| 89 | void JsonOptionsWidget::saveSettings() { |
| 90 | KConfigGroup conf = Settings::group(QStringLiteral("ImportJson")); |
| 91 | |
| 92 | conf.writeEntry("DecimalSeparator", ui.cbDecimalSeparator->currentIndex()); |
| 93 | conf.writeEntry("DateTimeFormat", ui.cbDateTimeFormat->currentText()); |
| 94 | conf.writeEntry("CreateIndex", ui.chbCreateIndex->isChecked()); |
| 95 | conf.writeEntry("ConvertNaNToZero", ui.chbConvertNaNToZero->isChecked()); |
| 96 | conf.writeEntry("ParseRowsName", ui.chbImportObjectNames->isChecked()); |
| 97 | } |
| 98 | |
| 99 | void JsonOptionsWidget::loadDocument(const QString& filename) { |
| 100 | PERFTRACE(QStringLiteral("JsonOptionsWidget::loadDocument")); |
nothing calls this directly
no test coverage detected