Qt:Документация 4.3.2/qtextcodec-qt3
Материал из Wiki.crossplatform.ru
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
[править] Qt 3 Support Members for QTextCodec
Описанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде.
[править] Открытые функции
- QByteArray fromUnicode ( const QString & uc, int & lenInOut ) const
- QByteArray mimeName () const
- QString toUnicode ( const QByteArray & a, int len ) const
[править] Статические открытые члены
- QTextCodec * codecForContent ( const char * str, int size )
- QTextCodec * codecForIndex ( int i )
- QTextCodec * codecForName ( const char * hint, int accuracy )
- const char * locale ()
[править] Описание функций-членов
[править] QTextCodec * QTextCodec::codecForContent ( const char * str, int size ) [static]
This functionality is no longer provided by Qt. This compatibility function always returns a null pointer.
[править] QTextCodec * QTextCodec::codecForIndex ( int i ) [static]
Use availableCodecs() or availableMibs() instead and iterate through the resulting list.
[править] QTextCodec * QTextCodec::codecForName ( const char * hint, int accuracy ) [static]
Эта перегруженная функция предоставлена для удобства.
Use the codecForName(const QByteArray &) overload instead.
[править] QByteArray QTextCodec::fromUnicode ( const QString & uc, int & lenInOut ) const
Эта перегруженная функция предоставлена для удобства.
[править] const char * QTextCodec::locale () [static]
Returns a string representing the current language and sublanguage, e.g. "pt" for Portuguese, or "pt_br" for Portuguese/Brazil.
See also QLocale.
[править] QByteArray QTextCodec::mimeName () const
Use name() instead.
[править] QString QTextCodec::toUnicode ( const QByteArray & a, int len ) const
Эта перегруженная функция предоставлена для удобства.
a contains the source characters; len contains the number of characters in a to use.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|