Obsolete Members for QFileInfo

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

公共函數

(obsolete) QDateTime created () const
(obsolete) QString readLink () const

成員函數文檔編製

QDateTime QFileInfo:: created () const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Returns the date and time when the file was created, the time its metadata was last changed or the time of last modification, whichever one of the three is available (in that order).

This function is deprecated. Instead, use the birthTime () function to get the time the file was created, metadataChangeTime () to get the time its metadata was last changed, or lastModified () to get the time it was last modified.

If the file is a symlink, the time of the target file is returned (not the symlink).

另請參閱 birthTime (), metadataChangeTime (), lastModified (),和 lastRead ().

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

使用 symLinkTarget () 代替。