qt - I need to connect a ComponetA Signal to a method of another ComponentB -


i need create componentc dynamically when button of componenta clicked , componentc must created in componentb not accessible through id componenta.

so how realisable qml ?

thanks.

a signal can return object returned called slot:

int b::slot() {   return 12; }  void a::test() {   connect( this, signal(sig()), objectb, slot(slot());   int = emit sig(); // should equal 12 } 

but, don't know if it's expected behavior...


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -