add signal in child1
void clickCounChanged(int)
void clickCounChanged(int)
To copy to clipboard, switch view to plain text mode
and slot in child2
void setClickCount(int)
void setClickCount(int)
To copy to clipboard, switch view to plain text mode
and then in super class make connection
connect(child1, SIGNAL(clickCounChanged(int)), child2, SLOT(setClickCount(int)));
connect(child1, SIGNAL(clickCounChanged(int)), child2, SLOT(setClickCount(int)));
To copy to clipboard, switch view to plain text mode
or can't it be done?
Bookmarks