Compatibility Members for QDateTime

以下成員源於類 QDateTime are part of the Qt compatibility layer. We advise against using them in new code.

公共函數

void setTime_t (uint secsSince1Jan1970UTC , Qt::TimeSpec spec )

靜態公共成員

QDateTime currentDateTime (Qt::TimeSpec spec )

成員函數文檔編製

[static] QDateTime QDateTime:: currentDateTime ( Qt::TimeSpec spec )

使用 currentDateTime () overload that takes no parameters instead.

void QDateTime:: setTime_t ( uint secsSince1Jan1970UTC , Qt::TimeSpec spec )

Use the single-argument overload of setTime_t () 代替。