QRemoteObjectAbstractPersistedStore Class
A class which provides the methods for setting PROP values of a replica to value they had the last time the replica was used. More...
Header: | #include <QRemoteObjectAbstractPersistedStore> |
qmake: | QT += remoteobjects |
Inherits: | QObject |
Public Functions
QRemoteObjectAbstractPersistedStore(QObject *parent = nullptr) |
- 16 public functions inherited from QObject
Related Non-Members
typedef | QObjectList |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 5 static public members inherited from QObject
- 8 protected functions inherited from QObject
Detailed Description
This can be used to provide a "reasonable" value to be displayed until the connection to the source is established and current values are available.
This class must be overridden to provide an implementation for saving (QRemoteObjectAbstractPersistedStore::saveProperties) and restoring (QRemoteObjectAbstractPersistedStore::restoreProperties) PROP values. The derived type can then be set for a node, and any replica acquired from that node will then automatically store PERSISTED properties when the replica destructor is called, and retrieve the values when the replica is instantiated.
Member Function Documentation
QRemoteObjectAbstractPersistedStore::QRemoteObjectAbstractPersistedStore(QObject *parent = nullptr)
Constructs a QRemoteObjectAbstractPersistedStore with the given parent. The default value of parent is nullptr
.