1 #ifndef QTMVVM_ANDROIDSETTINGSACCESSOR_H 2 #define QTMVVM_ANDROIDSETTINGSACCESSOR_H 4 #include <QtCore/qscopedpointer.h> 6 #include "QtMvvmCore/qtmvvmcore_global.h" 7 #include "QtMvvmCore/isettingsaccessor.h" 11 class AndroidSettingsAccessorPrivate;
22 WorldReadable = 0x00000001,
23 MultiProcess = 0x00000004
25 Q_DECLARE_FLAGS(Mode, ModeFlag)
36 bool contains(
const QString &key)
const override;
39 void remove(
const QString &key)
override;
46 void changeCallback(
const QString &key);
55 Q_DECLARE_OPERATORS_FOR_FLAGS(QtMvvm::AndroidSettingsAccessor::Mode)
57 #endif // QTMVVM_ANDROIDSETTINGSACCESSOR_H ModeFlag
Flags to specify how the shared preferences should be created.
An interface to provide a generic way to access settings of any origin.
A wrapper around the android SharedPreferences API.
The primary namespace of the QtMvvm library.