Hi, the simples would be to pass the GatewayWidget to myshape during construction, e.g.
and store the pointer in a member.Qt Code:
void GatewayWidget::receivedTitlesEx(...) { myshape* shape1 = new myshape(text, this); ... }To copy to clipboard, switch view to plain text mode
Ginsengelf
EDIT: or emit a signal instead of calling the function directly
Bookmarks