qt5base-lts/examples/corelib
Rym Bouabid b956fec7ee Remove Custom Type Example and Custom Type Sending Example
The whole Q_DECLARE_METATYPE part is superfluous in these two examples,
as QVariant works with any type as long as it is copy-constructible.
And QVariant will call the equivalent of qRegisterMetaType, so that
doesn't need to happen, either.
Showing how to integrate the type with qDebug is fine in theory, but
also a repetition of content that can be found in other places.

Given that there isn't much else being shown in these two examples, it's
better to remove them from examples and move them to manual tests.

Some parts of "Custom Type Example" were used as snippets in other
documentations under qtbase/src/corelib. So, they were added in
customtypeexample.cpp file in the snippets folder.

Fixes: QTBUG-117001
Pick-to: 6.6 6.5
Change-Id: I45b16338912e3f7394cbb5169642bd31af32d5e1
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-10-04 21:04:45 +02:00
..
bindableproperties Revamp Subscription example: Cretae QString using a Literal operator 2023-09-22 21:02:45 +02:00
ipc Doc: QtCore: Fix documentation issues 2023-10-02 21:10:59 +00:00
mimetypes Revamp MIME Type Browser Ex: Revisit documentation 2023-09-22 20:21:23 +02:00
platform Docs: Update Links to Android Notifier Example 2023-09-21 17:28:43 +00:00
serialization Deduplicate code in setup of serialization converters 2023-09-28 15:33:04 +02:00
threads Doc: QtCore: Fix documentation issues 2023-10-02 21:10:59 +00:00
tools Remove Custom Type Example and Custom Type Sending Example 2023-10-04 21:04:45 +02:00
CMakeLists.txt Move permissions example to manual test 2023-06-26 18:45:25 +02:00
corelib.pro Move notification example from androidextras to qtbase 2021-06-04 22:21:12 +03:00