[Development] QDateTime addDays logic

Thiago Macieira thiago.macieira at intel.com
Thu Dec 13 21:20:36 CET 2018


On Thursday, 13 December 2018 11:57:48 PST Edward Welbourne wrote:
> Indeed, the name plusDays might have been better.  With any luck we can
> fix this in Qt6 by deprecating the old methods, supporting std::chrono
> and just allowing arithmetic with appropriate std::chrono quantities, in
> the obvious way.

Feel free to add them now to Qt 5. QDeadlineTimer has some <chrono> methods 
already.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list