Qt Reference Documentation

QConstString Class Reference

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

 #include <QConstString>

This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.

Inherits QString.

Additional Inherited Members

  • 206 public functions inherited from QString
  • 24 static public members inherited from QString

Detailed Description

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.

Because 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.

See also QString::fromRawData().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.