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

audioDevice & cameraDevice list properties as methods

    XMLWordPrintable

    Details

    • Commits:
      a5ef0916fd (qt/qtmultimedia/dev) 74f08fdd28 (qt/qtmultimedia/6.2) 1e2a788d73 (qt/qtmultimedia/6.3) 74f08fdd28 (qt/tqtc-qtmultimedia/6.2)

      Description

      On https://doc-snapshots.qt.io/qt6-6.2/qml-audiodevice.html and https://doc-snapshots.qt.io/qt6-6.2/qml-cameradevice.html methods are listed. However these should be listed as properties not methods. In addition one property is missing from the cameraDevice page.

       

      audioDevice

      class Q_MULTIMEDIA_EXPORT QAudioDevice
      {
          Q_GADGET
          Q_PROPERTY(QByteArray id READ id CONSTANT)
          Q_PROPERTY(QString description READ description CONSTANT)
          Q_PROPERTY(bool isDefault READ isDefault CONSTANT)
          Q_PROPERTY(Mode mode READ mode CONSTANT)
      
      

      cameraDevice

      Note that videoFormats is not mentioned on the page.

      class Q_MULTIMEDIA_EXPORT QCameraDevice
      {
          Q_GADGET
          Q_PROPERTY(QByteArray id READ id CONSTANT)
          Q_PROPERTY(QString description READ description CONSTANT)
          Q_PROPERTY(bool isDefault READ isDefault CONSTANT)
          Q_PROPERTY(Position position READ position CONSTANT)
          Q_PROPERTY(QList<QCameraFormat> videoFormats READ videoFormats CONSTANT)
      
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              nick_bennett Nicholas Bennett
              Reporter:
              paulmasri Paul
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes