+
+void SyncableObject::update(const QVariantMap &properties) {
+ fromVariantMap(properties);
+ emit updated(properties);
+}
+
+void SyncableObject::requestUpdate(const QVariantMap &properties) {
+ if(allowClientUpdates()) {
+ update(properties);
+ }
+ emit updateRequested(properties);
+}
+
+void SyncableObject::sync_call__(SignalProxy::ProxyMode modeType, const char *funcname, ...) {
+ qDebug() << Q_FUNC_INFO << modeType << funcname;
+ foreach(SignalProxy *proxy, _signalProxies) {
+ va_list ap;
+ va_start(ap, funcname);
+ proxy->syncCall(this, modeType, funcname, ap);
+ va_end(ap);
+ }
+}