summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qdatetime.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-05-12 16:10:54 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-06-10 17:56:57 +0000
commit3eb5b15d800f575b08eb1fc97b365d3e33e4bc7e (patch)
treec3713aa6b3f555bdf15b114e0f61e16ec1103bd9 /src/corelib/tools/qdatetime.h
parent97eae54083d5a0a29b9ea6f0d3c3c02802986958 (diff)
QDateTimePrivate refactor: static'fy the date/time manipulators
This commit moves QDateTimePrivate functions setTimeSpec, setDateTime, getDateTime, checkValidDateTime and refreshDateTime outside the class. Like the previous commit, this is done in preparation for the "Short QDateTime Optimization" as the "msecs" field will be placed in the short data, if possible. By making them file-level static, this also improves code generation, as the compiler doesn't know whether it has to emit the class members for out-of-line use or not. Change-Id: I06bae9392f534e45b3f1ffff144df4d73cbc9184 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qdatetime.h')
0 files changed, 0 insertions, 0 deletions