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

QMailMessageListModel class not sending most of it signals

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.1.x
    • Fix Version/s: None
    • Component/s: Messaging: QMF
    • Labels:
      None
    • Environment:
      scratchbox 1.0.12 over Ubuntu lucid.
    • Commits:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes