qt5base-lts/examples
Edward Welbourne 1022b0d111 Eliminate duplicate overrides of Converter methods in example
The Out-only converters shouldn't need to implement loadFile(), as it
shouldn't be called - a converter is not used for input unless it says
it supports input. At the same time, provide the "ground state"
implementations for optionsHelp(), outputOptions() and probeFile() to
save the trivial implementations the need to duplicate one another.

In the process, make the handling of loadFile()'s outputConverter more
consistent among those that do implement it.  Always set
outputConverter if it's initially null (the caller does assert this).

Pick-to: 6.6 6.5
Task-number: QTBUG-111228
Change-Id: I856d12c791d1f8e0accdb7dd1412d493117b2302
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-11-01 21:28:55 +01:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Eliminate duplicate overrides of Converter methods in example 2023-11-01 21:28:55 +01:00
dbus Exclude some examples from Android build 2023-08-28 16:00:45 +03:00
embedded Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
gui Doc: Add \examplecategory to qtgui 2023-08-28 13:49:36 +02:00
network Preparations to deprecate QItemDelegate 2023-10-05 21:08:45 +02:00
opengl hellogl2 example: Decouple mainwindow from window 2023-09-18 22:45:36 +02:00
qmake examples: port qmake examples to new connection style 2022-12-21 22:52:17 +02:00
qtconcurrent Doc: Add \examplecategory for qtconcurrent 2023-09-07 15:05:04 +02:00
qtestlib Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sql Preparations to deprecate QItemDelegate 2023-10-05 21:08:45 +02:00
vulkan examples/: compile with QT_NO_CONTEXTLESS_CONNECT 2023-09-08 19:17:36 +03:00
widgets Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
xml Add missing \l to DOM bookmarks example 2023-07-25 12:31:04 +02:00
CMakeLists.txt examples/: compile with QT_NO_CONTEXTLESS_CONNECT 2023-09-08 19:17:36 +03:00
examples.pro Move qpa examples to manual tests 2023-06-26 20:47:45 +02:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.