namespace MyNamespace {class MyClass : public AbstractMyClass{ }}Q_DECLARE_METATYPE(MyNamespace::MyClass)
C++ (Qt)namespace MyNamespace {class MyClass : public AbstractMyClass{ }; //!!!}Q_DECLARE_METATYPE(MyNamespace::MyClass)
MyClass (const MyClass & other){}
class BaseMyClass{public: BaseMyClass(){}; virtual ~BaseMyClass(){}; virtual int getID() = 0;private: int id = 0;};class MyClass : public BaseMyClass{public: MyClass() = default; virtual ~MyClass() = default; void setValue(int newValue) { std::thread::id h = std::this_thread::get_id(); value = newValue; } int getID() {return 1;}private: int value = 0;};Q_DECLARE_METATYPE(MyClass)
C++ (Qt)MyClass(const MyClass & other) = default;
C++ (Qt)MyClass(const MyClass & other) = delete;