Hi All,
I've been trying to work out how to get a return value from a signal/slot. But it seems I can't from googling. Basically what I have is a signal is sent to an error checker slot, the error checker checks everything if there's are error I want a error_flag set and the caller to drop out. So in pseudo code
Qt Code:
do { game loop }while( signal calls error check slot, if error set true if not flase and drop out )To copy to clipboard, switch view to plain text mode
so basically how to get the error back to the fuction that calls the signal
Thanks in advance
Bookmarks