I want to connect signal_A(C)
from itemA
to function_B(currentIndex,C)
from itemB
.
How do I connect them? When its signal_A(C) -> function_B(C)
it will be:
itemA.signal_A.connect(itemB.function_B);
But I am not sure how to link them when there is an extra argument on the slot. Something like this:
item_A.signal_A.connect(item_B.function_B(currentIndex, C));