Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    [SOLVED] scope of signals/slots

    General and Desktop
    3
    3
    1610
    Loading More Posts
    • 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
      planarian last edited by

      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 Reply Quote 0
      • D
        dbzhang800 last edited by

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

        1 Reply Last reply Reply Quote 0
        • L
          lgeyer last edited by

          [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 Reply Quote 0
          • First post
            Last post