X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.h;h=c21630263522811fecacfc567126132c7746262b;hp=7d5242b1d991e0a7818918daa11ac0a9d85ca310;hb=673ded0d543cbdc2cf6e746b6bee7c1d21af8f90;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/common/syncableobject.h b/src/common/syncableobject.h index 7d5242b1..c2163026 100644 --- a/src/common/syncableobject.h +++ b/src/common/syncableobject.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -58,7 +58,6 @@ class COMMON_EXPORT SyncableObject : public QObject public: SyncableObject(QObject* parent = nullptr); SyncableObject(const QString& objectName, QObject* parent = nullptr); - SyncableObject(const SyncableObject& other, QObject* parent = nullptr); ~SyncableObject() override; //! Stores the object's state into a QVariantMap. @@ -94,9 +93,6 @@ public slots: protected: void sync_call__(SignalProxy::ProxyMode modeType, const char* funcname, ...) const; - void renameObject(const QString& newName); - SyncableObject& operator=(const SyncableObject& other); - signals: void initDone(); void updatedRemotely(); @@ -108,6 +104,8 @@ private: bool setInitValue(const QString& property, const QVariant& value); +private: + QString _objectName; bool _initialized{false}; bool _allowClientUpdates{false};