qt5base-lts/tests/auto/corelib/kernel
Christoph Schleifenbaum f7b313e6d8 Core: Support for converting user defined QVariant types.
This patchs allows the user to convert defined QMetaType types like
MyType to be converted by using e.g. QVariant::toString(), mapping to
MyType::toString(). Also all the other QVariant::toXYZ() methods are
supported so far.

The patch adds static methods QMetaType::registerConverter supporting:
- implicit convertion
- conversion using member method of source type
- conversion using unary functor

Change-Id: I4f1db83d9c78bcc9df5c42f82f95cce0480cdcc3
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2013-05-08 06:02:35 +02:00
..
qcoreapplication tst_qcoreapplication: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:53 +02:00
qeventdispatcher Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qeventloop Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmath Fix qmath autotest for arm 2013-03-14 19:49:38 +01:00
qmetamethod Distinguish between 'mac' and 'macx' qmake scopes 2013-03-05 20:59:45 +01:00
qmetaobject Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmetaobjectbuilder Distinguish between 'mac' and 'macx' qmake scopes 2013-03-05 20:59:45 +01:00
qmetaproperty Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmetatype Core: Support for converting user defined QVariant types. 2013-05-08 06:02:35 +02:00
qmimedata tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qobject Support connection to functor with multiple operator() 2013-03-19 23:16:38 +01:00
qpointer Make it possible to use QPointer<const T> 2013-02-13 15:15:56 +01:00
qsharedmemory Skip unstable autotest 2013-03-12 18:13:37 +01:00
qsignalmapper Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsocketnotifier Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsystemsemaphore Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qtimer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtranslator tst_qtranslator: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:20:05 +02:00
qvariant tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qwineventnotifier Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
kernel.pro Android: disable unsupported autotests 2013-03-12 09:16:42 +01:00