connect and disconnect

Added by Edward Hill over 1 year ago

Hi all,
is it possible in some case do disconnect from slot?


Replies

RE: connect and disconnect - Added by Wim Dumon over 1 year ago

Keep the return value of your connect call, and invoke .disconnect() on it when you want to disconnect.

RE: connect and disconnect - Added by Edward Hill over 1 year ago

Ok, thank you, i've just first looking in documentation and not found any member called disconnect http://www.webtoolkit.eu/wt/doc/reference/html/functions_0x64.html#index_d

RE: connect and disconnect - Added by Wim Dumon over 1 year ago

That seems to be a logical place to look :)
Connect returns the raw boost object, that's why the documentation is not included (much like the documentation of std::string is not included, even though it's used in our interface). I'll see if I can fix this somehow.

W.