| Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
unlike the other model classes, QSortFilterProxyModel defines the setData in the following way: bool setData(const QModelIndex &index, const QVariant &value, int role); for comparison the one from QAbstractItemModel: virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); the missing default value is not even mentioned in the documentation
Attachment:
Attachment:
signature.asc
Attachment:
Attachment:
pgpGMrOkYHYaZ.pgp
Description: This is a digitally signed message part.
Message 2 in thread
On Monday 14 May 2007 00:00:14 Nico Kruber wrote:
> unlike the other model classes, QSortFilterProxyModel defines the setData
> in the following way:
>
> bool setData(const QModelIndex &index, const QVariant &value, int role);
>
> for comparison the one from QAbstractItemModel:
>
> virtual bool setData(const QModelIndex &index, const QVariant &value, int
> role = Qt::EditRole);
>
>
> the missing default value is not even mentioned in the documentation
Thanks for catching this, it (along with headerData() and setHeaderData() have
been fixed)
-Benjamin Meyer
Description: PGP signature