X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=ec34708a53980785efb57c1c4472495714bbf8d4;hp=248ccc9f45bf58fc05d81101aa6b9ab91fe13fa3;hb=7897b8623a42967511e31c68d5c102033a1dcdb9;hpb=1b680d1e84bff6c2e6f64dfbda72cb91efa48125 diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index 248ccc9f..ec34708a 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.cpp @@ -34,6 +34,14 @@ SyncableObject::SyncableObject(QObject *parent) { } +SyncableObject::SyncableObject(const QString &objectName, QObject *parent) + : QObject(parent), + _initialized(false), + _allowClientUpdates(false) +{ + setObjectName(objectName); +} + SyncableObject::SyncableObject(const SyncableObject &other, QObject *parent) : QObject(parent), _initialized(other._initialized), @@ -92,7 +100,6 @@ QVariantMap SyncableObject::toVariantMap() { QMetaObject::invokeMethod(this, methodname.toAscii(), genericvalue); properties[SignalProxy::methodBaseName(method)] = value; - // qDebug() << ">>> SYNC:" << methodBaseName(method) << value; } // properties["Payload"] = QByteArray(10000000, 'a'); // for testing purposes return properties;