1 #ifndef QTMVVM_DATASYNCSETTINGSVIEWMODEL_H     2 #define QTMVVM_DATASYNCSETTINGSVIEWMODEL_H     4 #include <QtCore/qobject.h>     5 #include <QtCore/qscopedpointer.h>     6 #include <QtDataSync/DataStore>     7 #include <QtDataSync/DataTypeStore>     9 #include <QtMvvmCore/settingsviewmodel.h>    11 #include "QtMvvmDataSyncCore/qtmvvmdatasynccore_global.h"    12 #include "QtMvvmDataSyncCore/datasyncsettingsentry.h"    30     static QVariantHash showParams(
const QString &setup, 
const QString &setupFile = {});
    37     Q_INVOKABLE 
explicit DataSyncSettingsViewModel(
QObject *parent = 
nullptr);
    40     void onInit(
const QVariantHash ¶ms) 
override;
    45 #endif // QTMVVM_DATASYNCSETTINGSVIEWMODEL_H A ViewModel for a generic settings dialog based of an XML settings file. 
 
static const QString paramDataTypeStore
The parameter for a QtDataSync::DataTypeStore object for the onInit() method. 
 
static const QString paramSetup
The parameter for a setup name for the onInit() method. 
 
An extension of the normal settings viewmodel with the DataSyncSettingsAccessor as accessor...
 
static const QString paramDataStore
The parameter for a QtDataSync::DataStore object for the onInit() method. 
 
The primary namespace of the QtMvvm library.