summaryrefslogtreecommitdiffstats
path: root/examples/scxml/mediaplayer-common
Commit message (Collapse)AuthorAgeFilesLines
* QtScxml: Fix parameter injection into signal handlers deprecation warningsTamas Martinec2021-02-241-1/+1
| | | | | | | | Task-number: QTBUG-89834 Change-Id: I9e421abc841b944813d2233a67f4cc0ab104e9c0 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 5e22a86a1c4b02f34c461f7f20f478ce8b0e88c6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Qt6 related documentation changes for scxml moduleJuha Vuolle2021-02-111-6/+18
| | | | | | | | | | | | | | | | | | | | Some perhaps less-obvious changes are: -Remove nonexistent imagedirs reference in qdocconf -Address some qdoc warnings (“/“ usage in an example and also std::function handling) -Fix ftpclient example filename references -Mark an escaped Q_OBJECT usage as badcode to suppress qdoc warning The Q_OBJECT itself cannot be unescaped as automoc will then fail. It shouldn't but that is the case. -Change the examples’ CMakeLists.txt to use single-line find_packages to ensure packages are not mixed and matched. Probability for problems is low but perhaps since these are examples that is appropriate Task-number: QTBUG-89833 Change-Id: Ibf518aa71971e8e9d0af1b49c7de86fd28089e96 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 84c7967a6c9fc13b2e588b029030546fa6f8b92e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QML versioning and registration update for QtScxmlJuha Vuolle2021-01-291-3/+3
| | | | | | | | | | | | The main changes: -QML element versioning so that “import QtScxml” works from version 5.8 to latest 6.x -QML element registration to use the newish QML_ELEMENT and friends -Automatic plugins.qmltypes generation during build Task-number: QTBUG-89832 Change-Id: If6b031fbbe4b4143f4fad626c9a71f55e571491a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Wrap examples' code at 80 columnJarek Kobus2018-05-022-5/+10
| | | | | | | | According to https://wiki.qt.io/Writing_Qt_Examples Task-number: QTBUG-60649 Change-Id: I17073bb3caf32ccd17d93542876a73ed939f12bd Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix coding style issuesJarek Kobus2018-05-021-1/+1
| | | | | | Task-number: QTBUG-60649 Change-Id: I080ddb7b6b7021a2597ddc19bc820f1c92abcc41 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Use canonical include style and sort #includeJarek Kobus2018-05-021-1/+1
| | | | | | | | See also https://wiki.qt.io/Writing_Qt_Examples Task-number: QTBUG-60649 Change-Id: I3a5671f39e870f96546e66427cc9434f41777e33 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Give examples a meaningful window titleJarek Kobus2018-05-021-3/+0
| | | | | | | | They will get the app name, like other examples Task-number: QTBUG-60649 Change-Id: Ib66a37e0c1253f12d9fa0ec19a2f1220e7277f05 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* QML code improvements for examplesMichael Winkelmann2017-09-111-8/+10
| | | | | Change-Id: I0f7bfc749e41071268d107d3250910de918a2d0a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Update examples to C++11Michael Winkelmann2017-07-181-1/+1
| | | | | Change-Id: If23693387da9e5c0a102041298f626a068b26f6d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Doc: Update screenshots of examples to show Windows 10 styleLeena Miettinen2017-05-241-0/+0
| | | | | | | | | - Calculator - Mediaplayer - Sudoku Change-Id: I4eaa71d178f81f9d317de2f3626b7fb08e5776e1 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Update plugins.qmltypesUlf Hermann2016-09-271-2/+2
| | | | | | | | | | | | | | | Also, have the extended state machine type follow the usual naming scheme, and increment the minor version everywhere. Since we don't need to be compatible with 5.7 we don't need to drag the 5.7 version around at all. In addition, we also don't need to namespace QtScxml in any QML context and, using the additional type information, we can easily constrain the types of all state machiens in QML. The fromFile() and fromData() methods don't have to be Q_INVOKABLE and that just confuses qmlplugindump, do drop Q_INVOKABLE there. Change-Id: I7bd3f10ac458d64fcb98caece770b5d4c61abdb5 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Rename StateMachineLoader.filename to "source"Ulf Hermann2016-09-061-1/+1
| | | | | | | | | It's a URL, so it shouldn't be called filename. Otherwise people will try to use it with plain filenames, omitting the qrc:// or file:// prefix. Change-Id: I01be8515ba03c58c0dd1fce6b0e1e5fa413b9839 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Small corrections to examplesJarek Kobus2016-08-262-2/+2
| | | | | | | | Fix docs accordingly. Change-Id: Ib008cc841f7533ff7f32ae134dfd4f6a8b36df15 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Get rid of qt modeJarek Kobus2016-08-237-46/+55
| | | | | Change-Id: Id8cc29a9a27f571f063b1cec51e534a3c762f2c6 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Doc: Remove references to the load option from example docsLeena Miettinen2016-07-261-6/+3
| | | | | | | The Qt SCXML Compiler is now run automatically. Change-Id: Iefa55bd3b915cbce5733f85badaf06ee1b48cb40 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Improve QtScxml module conformity to other Qt modulesAlex Blasche2016-05-171-1/+1
| | | | | | | | | | The other QML modules use a versioning based on the Qt modules version. In addition the QML plugin name is always libdeclarative_<module_name>.so. Therefore the target for the QML project has to be adjusted accordingly. Change-Id: I218836bc01a7cb4ab8d8c3edde1d3d6deeaffd75 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Cleanup and rename QML scxmlstatemachine pluginAlex Blasche2016-05-122-2/+2
| | | | | | | | | The Qt modules use the Qt prefix and the project file should rely on qmake's qml_plugin logic. Change-Id: I9a13109d6307679c1e7362680eaf9c33e2bdda3b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Doc: Add docs for Mediaplayer example versionsLeena Miettinen2016-03-154-0/+44
| | | | | | | | | | | - Add screenshot - Use include files for info common to several app versions - Add examples directory to sourcedirs in the .qdocconf file to be able to put the include files to the mediaplayer-common folder Change-Id: I411d74d51d17b9ed5d906e23ede3b64e3b6b2dac Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
* Move examples into module based subdirAlex Blasche2016-02-125-0/+438
The release process puts all examples based on their module name into the same directory. Therefore each module has to group its examples based on their module name. Change-Id: I3695297ff0489fbbb2c4f4aa13e0c4baa7f011b7 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>