×

Discussion Board

Results 1 to 4 of 4

Thread: slots

  1. #1
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    slots

    Hi,

    How many slots can we connect to a signal?If more than one how these slots will be executed (The Order of execution)
    Any one Please explain this with example

    Thanks in Advance

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: slots

    Theoretically as many as you want . there is no order in which they will be executed at least not guaranteed

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: slots

    Hi,

    Qt reference documentation has examples about signals and slots.
    http://doc.qt.nokia.com/latest/signalsandslots.html

    -Ilkka

  4. #4
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: slots

    Quote Originally Posted by suneethapuchakayala View Post
    Hi,

    How many slots can we connect to a signal?If more than one how these slots will be executed (The Order of execution)
    Any one Please explain this with example

    Thanks in Advance
    From the documentation

    "If several slots are connected to one signal, the slots will be
    executed one after the other, in an arbitrary order, when the signal is
    emitted."

Similar Threads

  1. QT signal and slots
    By gsgoodguy in forum [Archived] Beginning Qt
    Replies: 2
    Last Post: 2011-03-25, 07:54
  2. signals and slots
    By prathibha83 in forum Qt
    Replies: 3
    Last Post: 2010-06-21, 18:24
  3. CSession2 message slots
    By sssent in forum Symbian
    Replies: 3
    Last Post: 2008-11-05, 18:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×