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

some public functions missing from docs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P1: Critical P1: Critical
    • 4.7.2
    • 4.7.0
    • Documentation
    • None

      Example: QDeclarativeItem in src/declarative/graphicsitems/qdeclarativeitem.h has a public function height().

      But it's not present in docs (see e.g. http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeitem.html nor the list of all members http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeitem-members.html).

      My guess: it seems that the problem starts at QGraphicsObject definition: there is a Q_PRIVATE_PROPERTY height with read function "height()" => now, on one hand in docs access functions to properties are listed by a property (rather than in the regular list of functions), and Q_PRIVATE_PROPERTY (if I understand properly - properties of the private counterpart of the object?) are not listed and as the net restult this structure then hides the public "height()" of QDeclarativeItem?

      Maybe connected: note also that QGraphicsObject has a signal heightChanged() which is not listed in the docs at all...

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

            gbk Martin Smith (Qt)
            wiecko Marek Wieckowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes