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. Why registerUserData of QObject is undocumented?
Forum Updated to NodeBB v4.3 + New Features

Why registerUserData of QObject is undocumented?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.3k 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.
  • F Offline
    F Offline
    fsmoke
    wrote on last edited by
    #1

    I found many examples of using userData mechanism on different forums, but officially it is undocumented - why?

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

      Hi,

      Because it's internal and thus not part of the public API

      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
      0
      • F Offline
        F Offline
        fsmoke
        wrote on last edited by
        #3

        why it has public declarations, besides almost of qt framework uses pimpl idiom - why userData not pimpl protected?

        PS
        Our department under my direction posts tons of bugs into qt bugtracker -
        whole qt disign sucks - ...that's why.... so..another approvement

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

          That I don't know, to answer that question you should rather post on the interest mailing list. This forum is more user oriented.

          Based on the name of the class, I'd say that Qt's dynamic properties would be the right way to go.

          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
          0
          • F Offline
            F Offline
            fsmoke
            wrote on last edited by
            #5

            I know, I know, sorry for critic, but qt have really many strange solutions.

            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