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

Add Q_PROPERTY to all QtSql (kernel) classes

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 6.8.0 FF
    • 6.7
    • SQL Support
    • None
    • All
    • 6dfc988ea (dev), 9806f54a5 (dev), 294da1569 (dev), 212e88889 (dev), 781135b0d (dev)

    Description

      Clean up the documentation of all sql classes by using Q_PROPERTY instead documenting the getter and setter separately.

      • QSqlDatabase
        • QSql::NumericalPrecisionPolicy numericalPrecisionPolicy
      • QSqlDriver
        • QSql::NumericalPrecisionPolicy numericalPrecisionPolicy
      • QSqlError - no setter so no changes needed
      • QSqlField - no QObject, added Q_GADGET
        • QVariant value
        • QVariant defaultValue
        • QString name
        • QString tableName
        • QMetaType metaType
        • RequiredStatus requiredStatus
        • bool readOnly
        • bool generated
        • bool autoValue
        • int length
        • int precision
      • QSqlIndex
        • cursorName
        • name
      • QSqlQuery
        • bool forwardOnly
        • bool positionalBindingEnabled
        • QSql::NumericalPrecisionPolicy numericalPrecisionPolicy
      • QSqlRecord - no properties, access only through indexed setter/getter
      • QSqlResult
        • bool forwardOnly --> internal, no property
        • bool positionalBindingEnabled --> internal, no property
        • QSql::NumericalPrecisionPolicy numericalPrecisionPolicy --> internal, no property

      Attachments

        For Gerrit Dashboard: QTBUG-120566
        # Subject Branch Project Status CR V

        Activity

          People

            chehrlic Christian Ehrlicher
            chehrlic Christian Ehrlicher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes