[Webkit-unassigned] [Bug 30630] New: [Qt] QWebElement::removeChildren() should be QWebElement::removeAllChildren()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 07:25:52 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30630

           Summary: [Qt] QWebElement::removeChildren() should be
                    QWebElement::removeAllChildren()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: benjamin.poulain at nokia.com
                CC: benjamin.poulain at nokia.com
            Blocks: 29843


The usual prefix to remove the all the elements of a collection is "removeAll",
not "remove".
E.g.
QWebDatabase::removeAllDatabases()
QUrl::removeAllQueryItems().

QWebElement::removeChildren() should be QWebElement::removeAllChildren() for
consistency.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list