Qt 3 Support Members for QTextStreamThe 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. Public Types
Public Functions
Static Public Members
Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QTextStream::Latin1 | 1 | Use setCodec(QTextCodec::codecForName("ISO-8859-1")) instead. |
QTextStream::Locale | 0 | Use setCodec(QTextCodec::codecForLocale()) instead. |
QTextStream::RawUnicode | 5 | Use setCodec(QTextCodec::codecForName("UTF-16")) instead. |
QTextStream::Unicode | 2 | Use setCodec(QTextCodec::codecForName("UTF-16")) instead. |
QTextStream::UnicodeNetworkOrder | 3 | Use setCodec(QTextCodec::codecForName("UTF-16BE")) instead. |
QTextStream::UnicodeReverse | 4 | Use setCodec(QTextCodec::codecForName("UTF-16LE")) instead. |
QTextStream::UnicodeUTF8 | 6 | Use setCodec(QTextCodec::codecForName("UTF-8")) instead. |
Also, for all encodings except QTextStream::Latin1 and QTextStream::UTF8, you need to call setAutoDetectUnicode(false) to obtain the Qt 3 behavior in addition to the setCodec() call.
See also setCodec() and setAutoDetectUnicode().
Use setPadChar() instead.
Use fieldAlignment(), padChar(), fieldWidth(), numberFlags(), integerBase(), realNumberNotation(), and realNumberNotation instead.
This is an overloaded member function, provided for convenience.
Use setFieldAlignment(), setPadChar(), setFieldWidth(), setNumberFlags(), setIntegerBase(), setRealNumberNotation(), and setRealNumberNotation instead.
Use setRealNumberPrecision() instead.
This is an overloaded member function, provided for convenience.
Use readAll() or readLine() instead.
Use setCodec() and setAutoDetectUnicode() instead.
Use setFieldAlignment(), setPadChar(), setFieldWidth(), setNumberFlags(), setIntegerBase(), setRealNumberNotation(), and setRealNumberNotation instead.
This is an overloaded member function, provided for convenience.
Use setFieldAlignment(), setPadChar(), setFieldWidth(), setNumberFlags(), setIntegerBase(), setRealNumberNotation(), and setRealNumberNotation instead.
Use setDevice(0) instead.
Use setFieldAlignment(), setPadChar(), setFieldWidth(), setNumberFlags(), setIntegerBase(), setRealNumberNotation(), and setRealNumberNotation instead.
Use setFieldWidth() instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Use the new QTextStream manipulators instead.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.3 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com