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

need to update Document Section "QAbstractItemModel"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.1
    • Component/s: Documentation
    • Labels:
      None
    • Commits:
      d6fbb9070f518443f7ebeb0eae53847814e2496b

      Description

      """void QAbstractItemModel::modelReset() [signal]
      This signal is emitted when reset() or endResetModel() is called, after the model's internal state (e.g. persistent model indexes) has been invalidated.

      Note that if a model is reset it should be considered that all information previously retrieved from it is invalid. This includes but is not limited to the rowCount() and columnCount(), flags(), data retrieved through data(), and roleNames().

      This function was introduced in Qt 4.1.

      Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.

      See also endResetModel() and modelAboutToBeReset().

      void QAbstractItemModel::modelAboutToBeReset() [signal]
      This signal is emitted when reset() is called, before the model's internal state (e.g. persistent model indexes) has been invalidated.

      This function was introduced in Qt 4.2.

      Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.

      See also beginResetModel() and modelReset()."""

      ------------------------

      reset() has be removed in Qt5.5.0

        Attachments

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

          Activity

            People

            Assignee:
            leenam Leena Miettinen
            Reporter:
            Miguel_A Fernández Miguel Alejandro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes