Added methods QDocument::addScript and QDocument::addStyle