mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Signal is not inherited from object anymore.
This commit is contained in:
parent
0d3db0979a
commit
91a87ad63a
@ -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() {
|
||||
}
|
@ -7,9 +7,7 @@
|
||||
|
||||
#include "reference.h"
|
||||
|
||||
class Signal : public Object {
|
||||
RCPP_OBJECT(Signal, Object);
|
||||
|
||||
class Signal {
|
||||
public:
|
||||
Object *emitter;
|
||||
Vector<Variant> params;
|
||||
|
Loading…
Reference in New Issue
Block a user