Commit Graph

18 Commits (master)

Author SHA1 Message Date
Jos van den Oever baaa8f230c Use full include path to Qt headers 2018-09-28 22:36:56 +02:00
Friedrich W. H. Kossebau d5029d7217 Use Q_SIGNALS/Q_EMIT instead of signals/emit in generated sources
Summary:
Avoid potential clashes on symbols/macros from other libraries
Allows to use the generated header in projects which have
DQT_NO_SIGNALS_SLOTS_KEYWORDS or DQT_NO_KEYWORDS set

Reviewers: vandenoever

Reviewed By: vandenoever

Differential Revision: https://phabricator.kde.org/D15545
2018-09-16 19:25:26 +02:00
Jos van den Oever 32fed925e9 Intruduce rustByFunction
rustByFunction lets a getter get a value even if it is not possible
to return a value by reference.
rustByFunction passes a getter function in the getter. This can be
called with the value instead of returning a reference.
2018-08-26 19:47:25 +02:00
Jos van den Oever 8949026c63 Make primitive types more precise and add test 2018-05-17 10:47:18 +02:00
Jos van den Oever 392153f9a9 Allow optional primitive object properties 2018-05-15 21:45:05 +02:00
Jos van den Oever a051556990 Add more tests 2018-05-15 17:08:58 +02:00
Jos van den Oever c516409326 A few fixes for deeply nested objects
This is still broken according to the test test_objects.
2017-08-28 09:28:48 +02:00
Jos van den Oever 64bcac54f0 Allow nesting of binding types. 2017-08-27 01:40:03 +02:00
Jos van den Oever eb9feb6a12 Change the json format and add charts 2017-08-22 00:51:48 +02:00
Jos van den Oever 726e52a81a Make complex types optionally optional 2017-08-18 11:44:37 +02:00
Jos van den Oever 822319764f Add tabs with example to the Demo app 2017-08-17 00:11:08 +02:00
Jos van den Oever 106c7ae468 Add u64 as bindings type 2017-08-16 08:54:14 +02:00
Jos van den Oever 6ccfe5fe33 Reduce namespace polution 2017-08-15 13:49:28 +02:00
Jos van den Oever 4f39f27200 Remove QVariant and Variant from rust code 2017-08-13 00:00:48 +02:00
Jos van den Oever 30a4076b2f Deprecate use of QVariant: too complex 2017-08-12 19:21:35 +02:00
Jos van den Oever ca8d60b277 Add support for int 2017-08-12 12:49:37 +02:00
Jos van den Oever e468359100 Add string conversion to QVariant 2017-08-11 23:47:56 +02:00
Jos van den Oever 8a35c76e7c Add another test 2017-08-11 21:55:51 +02:00