Project

General

Profile

Bug #1376

Documentation bug: boost::any() in WAbstractItemModel

Added by Anonymous almost 10 years ago. Updated over 9 years ago.

Status:
InProgress
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
-
Start date:
07/28/2012
Due date:
% Done:

0%

Estimated time:

Description

There is a documentation bug for WAbstractItemModel:

http://www.webtoolkit.eu/jwt/latest/doc/reference/jwt/eu/webtoolkit/jwt/WAbstractItemModel.html#getData%28eu.webtoolkit.jwt.WModelIndex,%20int%29

"If your item does not specify data for a particular role, it should simply return a boost::any()."

boost::any appears to be a reference to WT, not JWT.

The documentation here also seems to assume that the concept of a role should be apparent, which it is not.

It seems to me the documentation of table rendering would require more elaborate descriptions.

#1

Updated by Pieter Libin almost 10 years ago

  • Assignee set to Pieter Libin
#2

Updated by Koen Deforche over 9 years ago

  • Status changed from New to InProgress
  • Assignee changed from Pieter Libin to Koen Deforche

Also available in: Atom PDF