Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-121985

Fix Graphs2D architecture

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.8
    • None
    • Graphs: 2D
    • None
    • 984bd977f (dev), eead51076 (dev), 0f71e4c72 (dev), ac9302026 (dev)

      Currently public classes add a new d_ptr, d_ptr is inherited from QObject.

      Private classes add a new q_ptr, q_ptr is inherited from QObjectData which is ancestor to QObjectPrivate.

       

      So private classes should inherit QObjectPrivate while public classes in QObject. To access private implementation from public class use Q_D or that dfunc (whatever was the name). In contrast to private access from public, the public access from private is with Q_Q.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            oulu_hillbilly Sami Varanka
            oulu_hillbilly Sami Varanka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes