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.