Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] scope of signals/slots

[SOLVED] scope of signals/slots

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    planarian
    wrote on last edited by
    #1

    What are the limitations on where a slot can be located in order for a signal to reach it? For example, can an object in an array signal other instances of its own class located in the same array? (I.e., the array cells are pointers to the objects).

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      Sorry, I can not catch up with you.
      Can you give a piece of code to explain what your mean?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lgeyer
        wrote on last edited by
        #3

        [quote author="planarian" date="1332729166"]What are the limitations on where a slot can be located in order for a signal to reach it? For example, can an object in an array signal other instances of its own class located in the same array? (I.e., the array cells are pointers to the objects).[/quote]

        There is no limitation. As long as both objects derive from QObject they can establish a connection, irregardless of their storage or thread affinity.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved