Mathew Sutcliffe
27ce1eb914
Added toJson/convertFromJson support for CVariant containing QDateTime, QDate, QTime.
...
(cherry picked from commit af7f032daf4e5031a881bfb5025734d38817ed97)
2015-05-12 20:46:31 +01:00
Mathew Sutcliffe
9cdacf8d86
refs #413 To signal when contained object doesn't support an operation, throw exception in CValueObjectMetaInfo and catch in CVariant.
2015-05-12 20:37:58 +01:00
Mathew Sutcliffe
9867b4a6df
refs #413 Extend Private::CValueObjectMetaInfo with more fallback helpers, and extend CVariant with toIcon method.
2015-05-12 20:37:56 +01:00
Mathew Sutcliffe
d878f879aa
refs #356 Minor refactoring to Compare policy, preparation for removing CValueObject.
2015-03-27 19:08:50 +00:00
Mathew Sutcliffe
2ea9d031ea
refs #356 Extend CVariant to support accessing properties by index of the contained value object.
2015-03-27 19:08:49 +00:00
Mathew Sutcliffe
155b957cee
refs #247 CVariant can inherit from CValueObjectStdTuple.
...
But if valueobject.h includes variant.h then it would create a circular dependency.
2014-12-13 01:41:49 +00:00
Mathew Sutcliffe
f68fc32f3d
refs #247 CVariant uses our new metadata system to provide access to CValueObject operations in a safe manner.
2014-12-13 01:41:48 +00:00
Mathew Sutcliffe
c5b463fafb
refs #247 Created a facility to register our own custom metatype metadata.
2014-12-13 01:41:46 +00:00
Mathew Sutcliffe
16e285cecd
refs #247 Style.
2014-12-13 01:38:53 +00:00
Mathew Sutcliffe
dae235881c
refs #247 Removed hashing based on address, which is very wrong.
2014-12-13 01:38:47 +00:00
Klaus Basan
d3e6a3f721
refs #327 , fixed the includes as discussed with 327
...
* no #include "valueobject.h" in blackmiscfreefunctions
* missing includes as mentioned by RW
2014-09-11 18:34:54 +02:00
Klaus Basan
40b428a315
refs #314 , renamed convertFromQVariant, convertFromJson
...
discussion: https://dev.vatsim-germany.org/issues/314#note-19
2014-08-24 02:47:16 +02:00
Klaus Basan
290abe3693
refs #314 , fromQVariant / location of toQVariant
...
* renamed fromQVariant to convertFromQVariant, the "from" methods imply the object is changed (fromJson, fromString ..)
* implemented fromQVariant - changing the object by QVariant
* moved toQVariant into PQ template
* free function setFromQVariant
2014-08-24 02:47:05 +02:00
Klaus Basan
3fb5087ea8
Renaming, header, Doxygen, formatting (during refs #314 )
2014-08-24 02:45:52 +02:00
Klaus Basan
8a5a268a77
refs #304 , refs #307 , refs #173 as preparation for GUI, name / variant pair
...
* for a generic table and tree view
* generic name pair models and view
* Hash for variant
2014-08-05 23:31:41 +02:00
Mathew Sutcliffe
2726a7a09a
refs #116 added CVariant, a wrapper for QVariant with more natural/transparent DBus integration
2014-06-05 21:04:26 +01:00