Summary: | return QWebElement& from QWebElement::setAttribute() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Piotr Dobrogost <pd> |
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Enhancement | CC: | kent.hansen, tonikitoo, vestbo |
Priority: | P2 | Keywords: | Qt |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Description
Piotr Dobrogost
2010-06-13 02:29:01 PDT
Changing the return type is not binary compatible (see http://techbase.kde.org/Policies/Binary_Compatibility_Examples#Change_the_return_type). It could be done for Qt 5, though. Tor Arne, what do you think? Was this considered in the API reviews? maybe RESOLVED - LATER instead of INVALID, so we can revisit it at some point? Chaining was not considered a goal for this API, as in most cases a normal semi-colon and multiple statements does the same job and is more in line with Qt's existing APIs. foo.setAttribute("foo", "bar"); foo.setAttribute("biz", "baz"); |