Qt:Документация 4.3.2/qlatin1char
Материал из Wiki.crossplatform.ru
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
Содержание |
[править] QLatin1Char Class Reference
[модуль QtCore ]
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character. Далее...
#include <QLatin1Char>
[править] Открытые функции
- QLatin1Char ( char c )
- const char toLatin1 () const
- const ushort unicode () const
[править] Подробное описание
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to avoid the codec for C strings business in the QChar(ch) constructor. You can avoid it by writing QChar(ch, 0).
See also QChar, QLatin1String, and QString.
[править] Описание функций-членов
[править] QLatin1Char::QLatin1Char ( char c )
Constructs a Latin-1 character for c. This constructor should be used when the encoding of the input character is known to be Latin-1.
[править] const char QLatin1Char::toLatin1 () const
Converts a Latin-1 character to an 8-bit ASCII representation of the character.
[править] const ushort QLatin1Char::unicode () const
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|