Obsolete Members for QDate

以下成員源於類 QDate 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) bool setYMD (int y , int m , int d )

成員函數文檔編製

bool QDate:: setYMD ( int y , int m , int d )

Sets the date's year y , month m , and day d .

y is in the range 0 to 99, it is interpreted as 1900 to 1999. Returns false if the date is invalid.

使用 setDate () 代替。