Signal is not inherited from object anymore.

This commit is contained in:
Relintai 2022-02-04 08:59:15 +01:00
parent 0d3db0979a
commit 91a87ad63a
2 changed files with 3 additions and 6 deletions

View File

@ -98,7 +98,7 @@ void Signal::emit(Object *p_emitter, const Variant &p1, const Variant &p2, const
void Signal::emit(Object *p_emitter, const Variant &p1, const Variant &p2, const Variant &p3, const Variant &p4, const Variant &p5) {
emitter = p_emitter;
params.push_back(p1);
params.push_back(p2);
params.push_back(p3);
@ -112,8 +112,7 @@ void Signal::emit(Object *p_emitter, const Variant &p1, const Variant &p2, const
params.clear();
}
Signal::Signal() :
Object() {
Signal::Signal() {
}
Signal::~Signal() {
}

View File

@ -7,9 +7,7 @@
#include "reference.h"
class Signal : public Object {
RCPP_OBJECT(Signal, Object);
class Signal {
public:
Object *emitter;
Vector<Variant> params;