QConstString Class

The QConstString class is a wrapper for constant Unicode string data. 更多...

头: #include <QConstString>
继承: QString

额外继承成员

详细描述

The QConstString class is a wrapper for constant Unicode string data.

In Qt 4, QConstString is replaced by QString::fromRawData (), a static function that constructs a QString object based on Unicode string data.

因为 QString::fromRawData () has slightly more stringent constraints than QConstString had in Qt 3, the new QConstString class takes a deep copy of the string data.

另请参阅 QString::fromRawData ().