summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectabstractitemmodeladapter_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-141-38/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I315d7ce1d6c6c3497afdfe8b61a113fdc181c935 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Move items from qremoteobjectabstractitemmodeltypes_p.h to QtPrivateSona Kurazyan2021-06-241-37/+37
| | | | | | | | | | | | Move the classes and methods to QtPrivate namespace, to avoid clashes with user code when static linking. Task-number: QTBUG-94407 Pick-to: 6.2 Change-Id: I9194a13fa923429aa1a294d41befc1a05ff12d78 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Make qremoteobjectabstractitemmodeltypes.h privateSona Kurazyan2021-06-241-1/+1
| | | | | | | | | | | | This header is included only from private headers, doesn't have any exported symbols and can be private. Task-number: QTBUG-94407 Pick-to: 6.2 Change-Id: I8be45b1b3fe0936d628859ce04c5d79ac5d769ba Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Update the replica when the layoutChanged signal is emittedAndy Shaw2021-05-051-5/+9
| | | | | | | | | | | When a sort() is done on a QSortFilterProxyModel then it will emit the layoutChanged() signal, so it should ensure that the replica is updated in that case accordingly. Pick-to: 5.15 Fixes: QTBUG-85795 Change-Id: I7f34b24f4fab78c18655e986f54a0eb61db3a7b7 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Clean-up warningsSona Kurazyan2021-02-221-17/+17
| | | | | | | | | | | | | Fixed the following warnings: - empty expression statement has no effect; remove unnecessary ';' - use of old-style cast - zero as null pointer constant - other minor things Change-Id: Ia672f48d2aa87c59354fc93fd19862f1875e13db Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Use QList instead of QVectorJarek Kobus2021-02-161-24/+24
| | | | | | | | | Task-number: QTBUG-84469 Task-number: QTBUG-90907 Change-Id: Ifc6f05fb5e17e32ec04b383770080e812c854510 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Fix include directivesFriedemann Kleint2019-01-181-1/+1
| | | | | | | | | | Always prepend the module and use headers directly. Qt for Python requires the modules to be present. Task-number: PYSIDE-862 Fixes: QTBUG-72675 Change-Id: I94e38fbab0f041370ca9d67ca13c78f0d33816b7 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Make sure types needed for MODELs are registeredBrett Stottlemyer2018-11-071-1/+1
| | | | | | | | The types were registered when using repc generated classes, but would fail if used with dynamic replicas. Change-Id: I1c2bbe967b76558d672e233082bde3ffa46f897f Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Allow nodes to proxy (or convert) replicasBrett Stottlemyer2018-04-251-2/+0
| | | | | | | | | | | | This would support, for example, using the "local" (or "qnx") backend on a target, while still supporting debug via proxying the same objects over a single tcp connection. It should also, in theory, support converting to other marshalling formats (maybe CBOR?). Change-Id: Ib3c536d0c99b7a722c1c6ed145c8b5b567453f76 Reviewed-by: Michael Brasser <michael.brasser@live.com>
* Optionally cache QAIM data prior to initialized signalBogDan Vatra2017-11-291-4/+11
| | | | | | | | Allow specifying whether the model should fetch some data from the source before the *initialized* signal is fired. Change-Id: I5849c9572a4f27cd4392c9bf690e5e8b62fd07d2 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Merge remote-tracking branch 'origin/5.10' into devLiang Qi2017-11-241-0/+23
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/remoteobjects/qremoteobjectabstractitemmodeladapter_p.h src/remoteobjects/qremoteobjectdynamicreplica.cpp src/remoteobjects/qremoteobjectnode_p.h src/remoteobjects/qremoteobjectregistry.cpp tests/auto/auto.pro tools/repc/repcodegenerator.cpp Done-with: BogDan Vatra <bogdan@kdab.com> Change-Id: I9d0230736b768eac44b06376aeaab1b0b09eb22a
| * Send also the methods and then signals parameter namesBogDan Vatra2017-11-021-0/+18
| | | | | | | | | | | | | | | | [ChangeLog] The methods and then signals parameter names are useful when acquire a dynamic object. Change-Id: I2b2acfc06c66de0bc4684fda0cc43c364a575ccb Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
| * Send enum detailsBogDan Vatra2017-11-021-0/+5
| | | | | | | | | | | | | | [ChangeLog] enum details are useful when acquire a dynamic object. Change-Id: Ic926b31c3f868a3b1b14b827abef232554f944ce Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* | Move free qtro_* functions in QtPrivate namespaceKevin Funk2017-09-271-16/+16
| | | | | | | | | | | | | | | | | | They're not supposed to be used from our users. They're used in generated code and in QtRemoteObject itself though. Change-Id: I492fc76dcac60949d3a7b99c203a258e37864b9c Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* | repcodegenerator: Prefix members with m_Kevin Funk2017-09-221-43/+43
|/ | | | | | | | | | | Also adapted qremoteobjectabstractitemmodeladapter_p.h (a generated file stored in Git) Let's try to make the style of the generated code more consistent to improve readability Change-Id: I42a89851e73df4c729a6b24a4ab33173f28d8af0 Reviewed-by: Michael Brasser <michael.brasser@live.com>
* Correct QtRO license headers and added missing license filesv5.9.0-beta4Jani Heikkinen2017-05-021-13/+19
| | | | | | | | | | | | | Unify licensing as it is in other submodules - Src is licensed under Commercial, LGPLv3, GPLv2 and GPLv3 licenses - Examples are licensed under Commercial and BSD licenses - Tools and tests are licensed under commercial and GPLv3 license with some exceptions Task-number: QTBUG-58921 Change-Id: I4494bf8b705568b243340c98316bedd706145db5 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Replace Q_DECL_OVERRIDE -> overrideKevin Funk2017-03-291-22/+22
| | | | | Change-Id: I0ff4b3434a5d4b26bf68b96db28691186813e10d Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Fixes for license checkBrett Stottlemyer2017-01-141-21/+13
| | | | | | | | Change-Id: I3cf39180b08b80ea65c46e7b6a9e81f3aa79d1af Reviewed-by: Kevin Funk <kevin.funk@kdab.com> Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Fix namespaced buildVolker Krause2017-01-131-0/+4
| | | | | | Change-Id: I09710e06ec674d282b4298a7f881a7ff229f924e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
* Fix SourceApi lookupBrett Stottlemyer2016-12-051-24/+17
| | | | | | | | | | | | | | | | The coverity scan pointed to a bug in SourceApi where the intent was for the static parameter checks (based on the static QObject::connect eval) to return the list of argument types from the lookup. It didn't before, now it does. Updated repc so autogenerated code includes the same changes. Coverity-Id: 172053 Coverity-Id: 172054 Coverity-Id: 172060 Change-Id: I8e5ef9df028d5895153cdb2a97636218f64fb618 Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Michael Brasser <michael.brasser@live.com>
* Fix warnings from syncqt.plKevin Funk2016-11-301-0/+11
| | | | | | | | | - Add "we mean it" warning to private headers - Properly include module headers in public headers Change-Id: I3feded431f890fd451c07920edb102ae902a0fb9 Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Generate, send and check class signature for .rep generated classesBogDan Vatra2016-09-081-0/+1
| | | | | | | | | If the signature mismatch it will not complete the connection and will signal the error. Change-Id: Idd4a7a5290bb60d7428e16047a1b82db5e52b372 Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Rename QAbstractItemFoo -> QAbstractItemModelFooKevin Funk2016-03-211-0/+271
Source-incompatible change, but worth it, IMO. Change-Id: I2e1c716dafaf3d8b031fc3459aa8b7f6fb8bc545 Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>