summaryrefslogtreecommitdiffstats
path: root/examples/scxml/ftpclient
Commit message (Collapse)AuthorAgeFilesLines
* QtScxml: Fix spelling in example documentationTamas Martinec2021-03-171-1/+1
| | | | | | | | | Task-number: QTBUG-89834 Change-Id: I6d24eeeddaac69ed2f4c74c77344452dee457a78 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> (cherry picked from commit 1e560247964957c51d1c645ef4e0af31429fe0a9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QtScxml: Improve ftpclient exampleTamas Martinec2021-02-234-5/+21
| | | | | | | | | | | | | - Added more error handling - Added more debug info - Added example usage - Fixed output not showing on windows Task-number: QTBUG-89834 Change-Id: I4245a33fed7f738007bdc0b3495951a89d3c896d Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit c2b6cf8c7566db6d18cdb779e848ec4bd1cbd8d7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Qt6 related documentation changes for scxml moduleJuha Vuolle2021-02-112-14/+23
| | | | | | | | | | | | | | | | | | | | 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>
* Re-generate all CMake filesJoerg Bornemann2021-01-191-2/+10
| | | | | Change-Id: I40dd28da4ba47bd15471b471138900cd22b4e409 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Regenerate before mergeAlexandru Croitor2019-10-151-1/+2
| | | | | Change-Id: Ib78bff1d61ee9526b9e3373dbf109ae4d2dd81dc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Port QtScxml to CMakeJoerg Bornemann2019-09-261-0/+38
| | | | | | Change-Id: I227f18b6a9825b6974eab6ba9feaf62bd0934133 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Wrap examples' code at 80 columnJarek Kobus2018-05-023-7/+14
| | | | | | | | According to https://wiki.qt.io/Writing_Qt_Examples Task-number: QTBUG-60649 Change-Id: I17073bb3caf32ccd17d93542876a73ed939f12bd Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Use canonical include style and sort #includeJarek Kobus2018-05-023-4/+5
| | | | | | | | See also https://wiki.qt.io/Writing_Qt_Examples Task-number: QTBUG-60649 Change-Id: I3a5671f39e870f96546e66427cc9434f41777e33 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Make the network dependency explicit in the exampleKarsten Heimrich2018-01-231-1/+1
| | | | | | Change-Id: I0c12d9a1eacaf71ea3b061ac1b1cdd3bf4500157 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Update examples to C++11Michael Winkelmann2017-07-182-2/+2
| | | | | Change-Id: If23693387da9e5c0a102041298f626a068b26f6d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Make ftpclient example valid scxmlUlf Hermann2017-02-072-2/+3
| | | | | | | | | | Section 6.2.3 of the standard says "A conformant SCXML document MUST specify exactly one of 'event', 'eventexpr' and <content>." Therefore we cannot use <content> with 'eventexpr', but we can use <param> instead. Change-Id: I64c0ec8a1f08d5b441e5b52a83800800f8a99d03 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Use std::function for onEntry and onExit return typesUlf Hermann2016-10-142-7/+0
| | | | | | | | | This allows us to drop the C++14 requirement. As onEntry and onExit are template functions we don't need to care about (not) using the standard library for them. Change-Id: Ie776e04f7e1771914c9f48d2440ef445d87d64c0 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Use QByteArray rather than QString for ftpclient exampleUlf Hermann2016-10-146-24/+23
| | | | | | | | This makes the code simpler and relieves us of the need to assume any specific character encoding for the communication with the server. Change-Id: Icc31e963f95eeff4a13e69c3d25d6f0d400a9d13 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Doc: Add docs for FTP Client exampleLeena Miettinen2016-09-262-0/+144
| | | | | Change-Id: Ifa1a02d0a36951dec7a956fe3cd2840dc55c8c28 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Add a simple FTP client exampleUlf Hermann2016-09-237-0/+627
With the provided FTP client you can fetch text files via anonymous FTP. Change-Id: I622264d72aac71492bf474dc1936917fdc78d499 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>