summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginescriptcollection.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup qwebenginescript and qwebenginescriptcollection apiMichal Klocek2020-09-281-26/+1
| | | | | | | | | | | | | | | | | | This patch cleans up script and collection apis: * do not allocate user_script on heap, there is no need for that. * remove isNull(), which was used by collection.findScript(name) * remove collection.size(), there is already collection.count() * remove collection.findScript(name), user can use findScripts(name) which returns list of scripts or empty list if not found * collection.findScripts(name) is simply collection.find(name) [ChangeLog] Removed QWebEngineScriptCollection::findScript(name), use QWebEngineScriptCollection::find(name) instead. Change-Id: Iecf8f1d7c26275b9ce3a1ea97cf4bd74b17f681e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move qtwebenginescriptcollection class to coreMichal Klocek2020-09-251-0/+248
This change just moves the class to core, a fixes compilation issues. [ChangeLog] QWebEngineScriptCollection is moved to QtWebEngieCore Taks-number: QTBUG-74585 Change-Id: I7caab835540f6f3be9fe27f3df35b4c6ab175a91 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>