Obsolete Members for QImageWriter

以下成员源于类 QImageWriter 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(obsolete) QString description () const
(obsolete) void setDescription (const QString & description )

成员函数文档编制

QString QImageWriter:: description () const

使用 QImageReader::text () 代替。

Returns the description of the image.

另请参阅 setDescription ().

void QImageWriter:: setDescription (const QString & description )

使用 setText () 代替。

This is an image format specific function that sets the description of the image to description . For image formats that do not support setting the description, this value is ignored.

The contents of description depends on the image format.

另请参阅 description ().