Discussion Board

Results 1 to 4 of 4

Thread: slots

  1. #1
    Regular Contributor suneethapuchakayala's Avatar
    Join Date
    Dec 2009
    Posts
    77
    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
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    Theoretically as many as you want . there is no order in which they will be executed at least not guaranteed

  3. #3
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    Hi,

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

    -Ilkka

  4. #4
    Registered User kamalakshan's Avatar
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved