aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.h
Commit message (Collapse)AuthorAgeFilesLines
* Disable copy and move for QQmlPreviewFileEngineHandlerEdward Welbourne2024-04-151-0/+1
| | | | | | | | | It's based on QAbstractFileEngineHandler, which isn't meant to be copied or moved. Task-number: QTBUG-122619 Change-Id: Id6b85da7071125d4b9d7bc6d4df2c3fbb65abc75 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QQmlPreviewFileEngine: adapt to changes in QAFileEngine/Iterator [3]Ahmad Samir2024-03-251-1/+1
| | | | | | | | | | Adapt the argument type for fileTime(). See commit fd295f4bf6002b499f1f238efa5a7c8d9c90be39 in qtbase. Pick-to: 6.7 Change-Id: Ifca30a1d38acb281b55176a56b3692723b840e6d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* QQmlPreviewFileEngine: adapt to changes in QAFileEngine/Iterator [4]Ahmad Samir2024-03-251-1/+1
| | | | | | | | | See commit 3c50ad828861bee82e53469deab28b4e286cbeda in qtbase. Pick-to: 6.7 Change-Id: Ie1bc23f0cf93c90dde1551024d2a23b2c3f2a1dc Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QQmlPreviewFileEngine: adapt to changes in QAFEngine/Iterator [1]Ahmad Samir2024-03-251-3/+6
| | | | | | | | | | | | Adapt the begin/endEntryList return values, add the path argument to the iterator ctor, and use std::unique_ptr instead of QScopedPointer. See the changes starting at e146d835a69d57748bf2978cf5134ac5d86d81cf in qtbase. Pick-to: 6.7 Change-Id: I5d002e7bc7984ec0f339edac3c9439674e7de1b2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Include what you need: <QPointer>Marc Mutz2023-10-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | All these TUs relied on transitive includes of qpointer.h, maybe to a large extent via qevent.h, though, given that qevent.h is more or less the only public QtBase header that includes qpointer.h, something else seems to be at play here. Said qevent.h actually needs QPointer in-name-only, so a forward declaration would suffice. Prepare for qevent.h dropping the include. The algorithm I used was: If the TU mentions 'passiveGrabbers', the name of the QEvent function that returns QPointers, and the TU doesn't have qpointer.h included explicitly, include it. That may produce False Positives, but better safe than sorry. Otherwise, in src/, add an include to all source and header files which mention QPointer. Exception: if foo.h of a foo.cpp already includes it, don't include again. Task-number: QTBUG-117670 Change-Id: I9b98cda524a0e6a61be7805edda708916bb2bc2b Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Use SPDX license identifiersLucie GĂ©rard2022-06-111-38/+2
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Fix build after change to QAbstractFileEngine::open()Ievgenii Meshcheriakov2021-12-071-1/+1
| | | | | | | | | | | | Support for permissions was added in qtbase, adjust the override accordingly and pass parameter through. Task-number: QTBUG-79750 Change-Id: Iadb41a7a73157c0bfac2af019018773f2d0cd316 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Fix build after change to QAbstractFileEngine::mkdirVolker Hilsheimer2021-11-261-1/+2
| | | | | | | | 174af05400f6344a11f4aa2228244c954cbbca97 in qtbase added support for permissions, adjust the override accordingly and pass parameter through. Change-Id: Id83d96377cf3799feb383715244de00c0470ed0c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* QmlPreview: Change license to LGPL/GPL/CommercialUlf Hermann2018-09-281-4/+15
| | | | | | Change-Id: I17484583ca02f98d6120816611ccc7e8b0ce43e3 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Tooling: Add QML preview debug serviceUlf Hermann2018-07-131-0/+125
Task-number: QDS-181 Change-Id: I02193afb84aa111792d8bebff3bdd9b410f9db5a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>