Qt:Документация 4.3.2/qconststring

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

[править] QConstString Class Reference
[модуль QtCore ]

The QConstString class is a wrapper for constant Unicode string data. Далее...

 #include <QConstString>

This class is part of the Qt 3 support library. It is provided to keep old source code working. Мы настоятельно не рекомендуем использовать этот класс в новом коде. See Porting to Qt 4 for more information.

Inherits QString.

[править] Дополнительные унаследованные члены

  • 180 public functions inherited from QString
  • 22 static public members inherited from 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.

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

See also QString::fromRawData().



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2