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. connect "up stream " - between class members
Forum Updated to NodeBB v4.3 + New Features

connect "up stream " - between class members

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 165 Views 2 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1
    This post is deleted!
    Axel SpoerlA 1 Reply Last reply
    0
    • A Anonymous_Banned275

      This post is deleted!

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by Axel Spoerl
      #2

      @AnneRanch
      For QObject::connect(), the object hierarchy is completely irrelevant. Upstream, downstream - objects don't even have to be parents / children of each other.
      As long as signatures of the signal and the slot are compatible, use
      connect(sender, &SenderClass::SignalName, receiver, &ReceiverClass::SlotName); - as said multiple times before. For reference, read this.

      From the code you have posted, it's not possible to figure out what you actually mean.
      Please also keep in mind, that the requirement in this form is to format code. I fail to understand, why you have split it into an unformatted and a formatted part. Makes no sense. Don't do that.

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      3

      • Login

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