diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-04-10 14:56:08 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-10 15:03:16 +0200 |
commit | 933a1d227486a7a25361b0011905cc2dd1a48a00 (patch) | |
tree | 85da885ab89e3db9dc2424440a10688ddc1fd69c /src/corelib/tools/qchar.cpp | |
parent | 2dca19b44ebb3b3e94bb08be1e347cafe107a7be (diff) |
remove CODEC_FOR_C_STRINGS leftovers
Change-Id: Iaafb945882e3f6ad6d39f7eefb62b83ff50a9ba8
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/corelib/tools/qchar.cpp')
-rw-r--r-- | src/corelib/tools/qchar.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/corelib/tools/qchar.cpp b/src/corelib/tools/qchar.cpp index 0261843a3a..6efd9f20af 100644 --- a/src/corelib/tools/qchar.cpp +++ b/src/corelib/tools/qchar.cpp @@ -50,19 +50,12 @@ #include "qchar.h" #include "qdatastream.h" -#include "qtextcodec.h" #include "qunicodetables_p.h" #include "qunicodetables.cpp" QT_BEGIN_NAMESPACE -#ifndef QT_NO_CODEC_FOR_C_STRINGS -# ifdef QT_NO_TEXTCODEC -# define QT_NO_CODEC_FOR_C_STRINGS -# endif -#endif - #define FLAG(x) (1 << (x)) /*! @@ -71,8 +64,7 @@ QT_BEGIN_NAMESPACE \ingroup string-processing - 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). + This class is only useful to construct a QChar with 8-bit character. \sa QChar, QLatin1String, QString */ |