summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-01-08 14:17:09 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-01-30 17:58:40 +0100
commitc0f041fcdf9573c0777fd19a0ce012fedf83fec4 (patch)
treeac276ea9c200edf1b21b0133844b785cb1af2968 /.gitattributes
parent4e84a8b29f13169a75c734920e953d3157768bca (diff)
Refactor QLocale's data access to be less verbose
Add QLocaleData::DataRange and methods returning it, to package each of the m_*_idx, m_*_size pairs of data members, to simplify access to these data. This extends the experiment started in QCalendarLocale, which is now adapted to use the new DataRange also. Two static functions of qlocale.cpp are replaced by methods of DataRange, saving considerable duplication of long member names in callers. Change-Id: Iad9899ba72f00522594b55a0402baec47491999c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions