Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-345

QMailMessageListModel class not sending most of it signals

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 1.1.x
    • Messaging: QMF
    • None
    • scratchbox 1.0.12 over Ubuntu lucid.
    • 3bb8685d7cdf0c897296521818bec30de615fea2

    Description

      Following documentation for QMailMessageListModel class, creating a new instance without parameters and without setting any with QMailMessageModelBase::setKey(const QMailMessageKey & key) nor setting the ignore flag with QMailMessageModelBase::setIgnoreMailStoreUpdates(bool ignore), the model:

      "By default, the model will match all messages in the database, and display them in the order they were submitted, and mail store updates are not ignored."

      I've attached a simple example that shows how, at least, the follwing signals are not being emitted by this object when they should:

      • QMailMessageModelBase::modelChanged()
      • QAbstractItemModel::dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight)
      • QAbstractItemModel::modelReset()
      • QAbstractItemModel::rowsInserted(const QModelIndex & parent, int start, int end)

      Maybe I'm doing something wrong so, please, comment.

      Attachments

        1. 130710-example-update.diff
          0.5 kB
          Don Sanders (closed Nokia identity)
        2. 130710-no-messagelist-signals.diff
          6 kB
          Don Sanders (closed Nokia identity)
        3. qmf_messageslist_modelchanged.tar.gz
          1.0 kB
          Andres Gomez

        Activity

          People

            sanders Don Sanders (closed Nokia identity) (Inactive)
            tanty Andres Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: