[Development] QTimeZone (was: Re: Qt 5.2 header diff: QtCore)

Marc Mutz marc.mutz at kdab.com
Tue Nov 5 12:03:35 CET 2013


On Tuesday, November 05, 2013 01:07:32 Thiago Macieira wrote:
> +    // ### Qt 6: Merge with above with default offsetSeconds = 0
> +    QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec spec, int
> offsetSeconds);
> +#ifndef QT_BOOTSTRAPPED
> +    QDateTime(const QDate &date, const QTime &time, const QTimeZone
> &timeZone);
> +#endif // QT_BOOTSTRAPPED

IMO, it would be more readable to use QT_NO_TIMEZONE, which is then set by 
QT_BOOTSTRAPPED.




More information about the Development mailing list