On Mon, Sep 19, 2011 at 11:57 AM, Wolf-Michael Bolle
<[email protected]> wrote:
> In the spirit of this discussion I'd like to point out that I need a way to
> create QMimeType objects with all their properties set. Can we add
> constructors to QMimeTypeData and QMimeType like this:

why do you need this done in the constructor? this is, to me, really
not good API. it's one of my pet peeves.

worth mentioning is that this is also mentioned in the Little Manual
of API Design: http://chaos.troll.no/~shausman/api-design/api-design.pdf,
section 4.11 "Strive for property-based APIs"
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to