summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginescriptcollection_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up includes, forward declarations and friends in core apiPeter Varga2021-07-081-1/+1
| | | | | | | Change-Id: I58e2dc2443bca75b0d315694c9f6503251a7be02 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8c30f95f2a9b5de6d638f68bd3ab2bdaac7e1995) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Cleanup qwebenginescript and qwebenginescriptcollection apiMichal Klocek2020-09-281-4/+0
| | | | | | | | | | | | | | | | | | 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/+90
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>