SyncableObject &SyncableObject::operator=(const SyncableObject &other) {
if(this == &other)
return *this;
-
+
_initialized = other._initialized;
_allowClientUpdates = other._allowClientUpdates;
return *this;
iterator++;
continue;
}
-
+
int propertyIndex = meta->indexOfProperty(propName.toAscii());
if(propertyIndex == -1 || !meta->property(propertyIndex).isWritable())
* \return The object's state in a QVariantMap
*/
virtual QVariantMap toVariantMap();
-
+
//! Initialize the object's state from a given QVariantMap.
/** \see toVariantMap() for important information concerning this method.
*/
private:
bool setInitValue(const QString &property, const QVariant &value);
-
+
bool _initialized;
bool _allowClientUpdates;