Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How works MOC ?
Forum Updated to NodeBB v4.3 + New Features

How works MOC ?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 381 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
    AndrzejB
    wrote on last edited by AndrzejB
    #1

    How is idea of MOC? How send singals to slots ? Is where detailed description?
    Is impossible like Delphi events: store delegates (= method address + destination object address) as fields of source object? Or signals + slots have more power? especially in multithreaded environment?

    ankit thakarA 1 Reply Last reply
    0
    • A AndrzejB

      How is idea of MOC? How send singals to slots ? Is where detailed description?
      Is impossible like Delphi events: store delegates (= method address + destination object address) as fields of source object? Or signals + slots have more power? especially in multithreaded environment?

      ankit thakarA Offline
      ankit thakarA Offline
      ankit thakar
      wrote on last edited by ankit thakar
      #2

      @AndrzejB :-

      Here is the Qt documentation link for signal & slot https://doc.qt.io/qt-5/signalsandslots.html
      for moc explanation please check below links

      1. https://doc.qt.io/qt-5/why-moc.html
      2. https://forum.qt.io/topic/79689/the-qt-moc-and-preprocessor/2
      3. https://doc.qt.io/archives/qt-4.8/moc.html

      I hope it will help you to understand moc and working of signal & slot.

      1 Reply Last reply
      3
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by SGaist
        #3

        Hi,

        To add to @ankit-thakar, take a look at the moc related articles from Woboq some of them might be old but are still relevant.

        By the way, you should go with the Qt 5 version of the moc documentation.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        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