Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

What is a safe signal



  • Just a concept that can be useful for communication:

    http://vinipsmaker.github.io/tufao/ref/0.x/safe-signal.html



  • Thanks for sharing.
    I haven't thought of this yet, but it sounds reasonable.
    Although I'd avoid it to delete objects in slots connected to their signal.



  • [quote author="MichelS" date="1372661838"]Thanks for sharing.
    I haven't thought of this yet, but it sounds reasonable.
    Although I'd avoid it to delete objects in slots connected to their signal.[/quote]

    In the Tufão documentation, I've used to put several paragraphs explaining how to properly use unsafe signals and this info would have to be in every unsafe signal.

    After introduce the concept of unsafe signals, the how to use an unsafe signal became a reference to a page that is clearer and simpler.


Log in to reply