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
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] scope of signals/slots

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.8k Views 1 Watching
  • 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 26 Mar 2012, 02:32 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 26 Mar 2012, 04:37 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 26 Mar 2012, 05:26 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

        1/3

        26 Mar 2012, 02:32

        • Login

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