projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
propagate topic changes properly
[quassel.git]
/
src
/
common
/
syncableobject.cpp
diff --git
a/src/common/syncableobject.cpp
b/src/common/syncableobject.cpp
index
325f0be
..
b66626d
100644
(file)
--- a/
src/common/syncableobject.cpp
+++ b/
src/common/syncableobject.cpp
@@
-27,6
+27,7
@@
#include "signalproxy.h"
#include "util.h"
#include "signalproxy.h"
#include "util.h"
+INIT_SYNCABLE_OBJECT(SyncableObject)
SyncableObject::SyncableObject(QObject *parent)
: QObject(parent),
_initialized(false),
SyncableObject::SyncableObject(QObject *parent)
: QObject(parent),
_initialized(false),
@@
-157,14
+158,15
@@
void SyncableObject::renameObject(const QString &newName) {
void SyncableObject::update(const QVariantMap &properties) {
fromVariantMap(properties);
void SyncableObject::update(const QVariantMap &properties) {
fromVariantMap(properties);
- emit updated(properties);
+ SYNC(ARG(properties))
+ emit updated();
}
void SyncableObject::requestUpdate(const QVariantMap &properties) {
if(allowClientUpdates()) {
update(properties);
}
}
void SyncableObject::requestUpdate(const QVariantMap &properties) {
if(allowClientUpdates()) {
update(properties);
}
- emit updateRequested(properties);
+ REQUEST(ARG(properties))
}
void SyncableObject::sync_call__(SignalProxy::ProxyMode modeType, const char *funcname, ...) const {
}
void SyncableObject::sync_call__(SignalProxy::ProxyMode modeType, const char *funcname, ...) const {