The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
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 () |
This functionality is no longer provided by Qt. This compatibility function always returns a null pointer.
Use availableCodecs() or availableMibs() instead and iterate through the resulting list.
Use the codecForName(const QByteArray &) overload instead.
This is an overloaded function.
Returns a string representing the current language and sublanguage, e.g. "pt" for Portuguese, or "pt_br" for Portuguese/Brazil.
See also QLocale.
Use name() instead.
This is an overloaded function.
a contains the source characters; len contains the number of characters in a to use.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.