But there is no risk. In Qt documentation it is said that (almost - I think method with variable parameters count - '...' can't) every member function can be a slot. Just place it in public/private/protected slots section in class declaration. So making void returning slots to call non-void returning methods is waste of one more function call, of course unless you don't need returned value.






Reply With Quote

Bookmarks