summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/doc/snippets
Commit message (Collapse)AuthorAgeFilesLines
* Correct license for snippet filesLucie Gérard2024-04-042-2/+2
| | | | | | | | | | | | According to QUIP-18 [1], all example and snippet files should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I1443b89a271a9ca557276a7c22eaf9e7aa6b40a8 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Correct license for example and snippet filesLucie Gérard2024-04-041-1/+1
| | | | | | | | | | | | According to QUIP-18 [1], all example and snippet files should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I71c88d1ba956d8e2c03ae2a958eece693ded7bf1 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Update snippets to match the simpleswitch examples they are taken fromØystein Heskestad2023-08-161-41/+42
| | | | | | | | | | | This is a clean up of the snippets before the simpleswitch examples are removed. Task-number: QTBUG-112850 Pick-to: 6.5 6.6 Change-Id: Ib58676fe8ad95ce52a108cd3a4d986534e2eb1b5 Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Fix connect example in doc sampleCarl Schwan2023-02-213-2/+4
| | | | | | | The timeout signal is from the QTimer class and not SimpleSwitch Change-Id: Idc8034727bc0ab1310f0d62420b7ecb7fc230c48 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: I3c41abc9bca22c7395fa8bbacb853e2081491d5f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-071-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I645192906c25043651ee09447a2d98e70330a39c Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-145-223/+10
| | | | | | | | | | | 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>
* Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiomKai Köhne2022-05-131-1/+1
| | | | | | | | | | | Using REQUIRED as a prefix instead of suffix works better with OPTIONAL_COMPONENTS, and is also the order in the CMake manual. Pick-to: 6.3 Task-number: QTBUG-98867 Change-Id: I02034035f8c67a1e55a826898231409c07ebd6bf Reviewed-by: Rui Oliveira Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Bump almost all cmake_minimum_required calls to 3.16Alexandru Croitor2021-09-221-1/+1
| | | | | | | | | | | | | Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Pick-to: 6.2 Task-number: QTBUG-95018 Change-Id: Iae47a29fea5ea6a14a7c7fb5528be02c40bbe617 Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Clean up Qt RemoteObjects documentationSona Kurazyan2021-08-171-1/+1
| | | | | | | | | | | | | - Rename Remoteobjects -> RemoteObjects - Fix the import version for QML types - Add a "Using the Module" section, as it is done for most of the modules. - Other minor fixes Pick-to: 6.2 Fixes: QTBUG-94899 Change-Id: If522b0c73994f59a84821fb35d13c11a5d80c172 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Rename qt6_rep_from_headers -> qt6_reps_from_headersSona Kurazyan2021-08-031-1/+1
| | | | | | | | | This function generates multiple .rep files in case if multiple headers are passed, so `qt6_reps_from_headers` is a better name. Pick-to: 6.2 Change-Id: I71967f40ec38c817d4414d2470728168a7da06b5 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* CMake: make qt_rep_from_header function pluralSona Kurazyan2021-08-021-1/+1
| | | | | | | | | It can take multiple header files. Pick-to: 6.2 Change-Id: I0105000d63cf06448b2373517d37bfb65fcbf8fb Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Document the qt6_rep_from_header CMake functionSona Kurazyan2021-07-151-0/+6
| | | | | | Pick-to: 6.2 Change-Id: I8de0df11e7409cd76d9919cd0bc676703d27564a Reviewed-by: Michael Brasser <michael.brasser@live.com>
* Make qt6_add_repc_{replica, source} pluralSona Kurazyan2021-05-311-2/+2
| | | | | | | | | Since these functions can take multiple *.rep files, it makes sense to make them plural. Change-Id: I99894e9ee1f6f0035eb8c3e5cdd1292316324577 Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Document the CMake commands for running repc compilerSona Kurazyan2021-05-281-6/+23
| | | | | | | | | | | Also added the missing instructions for adding the QtRemoteObjects module to a CMake-based project and removed the docs for qt5_generate_repc macro. Task-number: QTBUG-93855 Change-Id: I5116dacba76674217421657dfc404442e3f12701 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michael Brasser <michael.brasser@live.com>
* Remove QMake project filesSona Kurazyan2021-04-162-7/+1
| | | | | | | | | | | | | | Removed *.pro/*.pri files for sources and tests, we still want to keep them for examples. This patch also removes: - .prev_CMakeLists.txt files - "#special case" and "# Generated from" markers Task-number: QTBUG-88742 Change-Id: I004c8de6048174a1e6db938cf70d1c05369f28d1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Migrate from old signal/slot connection syntax (part 2)Sona Kurazyan2021-02-261-5/+5
| | | | | | | | | Change the syntax also for the connections that involve types that are defined in the repc-generated files. Pick-to: 5.15 5.12 Change-Id: I222a59c8fae438c5f0026e66a75d0fa905e49ccf Reviewed-by: Michael Brasser <michael.brasser@live.com>
* Migrate from old signal/slot connection syntaxSona Kurazyan2021-02-252-3/+4
| | | | | | | | | | Exception is made for the cases, when the signals/slots are not known at compile-time (i.e. involve dynamic replicas) or are defined in the repc-generated files. Pick-to: 5.15 5.12 Change-Id: Ice1fc78b59c713480531292a0401795df75523d7 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Mark a couple of TODO itemsBrett Stottlemyer2020-06-291-1/+1
| | | | | | Change-Id: I4426e6a27ce666a0d0090b2f21a16242aec302b5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2020-04-075-0/+249
|\ | | | | | | Change-Id: I61c056e5c7d48e20a1ed801c2ca362521af2f190
| * cmake: Document qt5_generate_repcv5.15.0-beta4Kai Koehne2020-04-025-0/+249
| | | | | | | | | | | | | | Task-number: QTBUG-82461 Change-Id: I30b30847d5ad8dd893393095c91c51d85390d90c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix typos and mismatched function signature in QtRemoteObject Example 1Peng Xie2020-02-191-7/+7
|/ | | | | Change-Id: Id442c63a20b0ecd1cc24b2d719a755ca3b9b1c6a Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Doc: Add missing closing parenthesis in snippetPaul Wicking2018-11-301-5/+5
| | | | | | | Fixes: QTBUG-72111 Change-Id: I6ba29cf15365328cf3fea67521fb97d185d8944f Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Update code snippets to match latest APIsv5.12.0-beta1Michael Brasser2018-10-021-9/+8
| | | | | Change-Id: I2bbf6f9c0d4f1549963ec8694cc815cac4d03982 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Update documentationMaurice Kalinowski2018-09-261-6/+3
| | | | | | | | | After updating the example snippets, there was only one code snippet left for doc_src_remoteobjects.cpp, hence move it inline. Fixes: QTBUG-65727 Change-Id: Id14a94ca76865dc912b829844b50cd24fe4fd69f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix documentation examplesVille Voutilainen2018-09-242-95/+5
| | | | | Change-Id: Iedf6fe8afdf73a73b922ff5f9c637e0d5b088608 Reviewed-by: Michael Brasser <michael.brasser@live.com>
* Fix a typo in the documentation code's commentsNicolas Ettlin2018-07-111-1/+1
| | | | | Change-Id: Ibbcf1326d01fe722c22b205641b9f20c4b405f00 Reviewed-by: hjk <hjk@qt.io>
* Rename ReplicaPrivate -> ReplicaImplementationKevin Funk2017-10-061-2/+2
| | | | | | | | | | | | | | All those implementations for the QtROReplica ('InProcess', 'Connected', 'RemoteObject') aren't technically d-pointers. Mark them as such by naming them differently. This also has the nice benefit that one does not override QObject's 'd_ptr' variable accidentally with these implementation instances. Needed in order to pimpl QRemoteObjectRegistry properly Change-Id: I88322e37d2ff7e5044980e8fdf9f713d6be80c38 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Correct QtRO license headers and added missing license filesv5.9.0-beta4Jani Heikkinen2017-05-023-39/+57
| | | | | | | | | | | | | 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_NULLPTR -> nullptrKevin Funk2017-03-292-4/+4
| | | | | | | | Skip the moc/ directory intentionally, since it contains third-party code Change-Id: I97105e475c109231e001dc4525b3096a06601868 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Fixes for license checkBrett Stottlemyer2017-01-143-63/+39
| | | | | | | | 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>
* Fixed docsBogDan Vatra2016-09-211-4/+4
| | | | | | | | QRemoteObjectNode inherits QObject, and QObject's operator = is deleted. Change-Id: I454e0807a3ed65cb08c2faccf0f351ccd60feccc Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Introduce documentationBrett Stottlemyer2015-03-205-0/+539
Adding high-level documentation for Remote Objects Change-Id: I69a41476aa4290cf22214ab3079928a81a08b313 Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com> Reviewed-by: Manpreet Bajwa <mbajwa3@ford.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>