qt5base-lts/src/corelib/global
João Abecasis fe778b94bd Enable endianness conversions on q(u)int8
Lack of support for these types is not a real issue as endian
conversions on byte-sized types are no-ops. Still, the conversions are
useful as they facilitate writing of generic code. They can also be used
explicitly as a way to document in code an endian-specific binary
format:

     uchar *data;
     quint8 tag = qFromLittleEndian<quint8>(data++);
     quint32 size = qFromLittleEndian<quint32>(data);

This commit also adds a test for functions documented in the QtEndian
header.

Change-Id: I2f6c876ce89d2adb8c03a1c8a25921d225bf6f92
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-03-25 13:12:24 +02:00
..
global.pri Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags() 2012-03-11 23:58:39 +01:00
qcompilerdetection.h Require compiler support for deprecated constructors. 2012-02-23 15:07:58 +01:00
qconfig-dist.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qconfig-large.h Remove QWorkspace. 2012-03-23 13:22:10 +01:00
qconfig-medium.h Remove QWorkspace. 2012-03-23 13:22:10 +01:00
qconfig-minimal.h Remove QWorkspace. 2012-03-23 13:22:10 +01:00
qconfig-nacl.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qconfig-small.h Remove QWorkspace. 2012-03-23 13:22:10 +01:00
qendian.h Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00
qendian.qdoc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfeatures.h Merge "Merge master into api_changes" into refs/staging/api_changes 2012-03-23 14:31:28 +01:00
qfeatures.txt Merge "Merge master into api_changes" into refs/staging/api_changes 2012-03-23 14:31:28 +01:00
qglobal.cpp Remove codecForTr(). 2012-03-06 06:34:52 +01:00
qglobal.h Fallback implementation of Q_ALIGNOF 2012-03-23 19:43:00 +01:00
qisenum.h Use clang's builtin is_enum, if available 2012-03-21 01:18:22 +01:00
qlibraryinfo.cpp support relative Sysroot specification in qt.conf 2012-03-22 18:59:45 +01:00
qlibraryinfo.h revamp -sysroot and -hostprefix handling 2012-03-01 23:18:23 +01:00
qlogging.cpp Show correct origin of Q_ASSERT in Windows dialog 2012-03-22 08:51:48 +01:00
qlogging.h Reshuffle code between qglobal, qlogging 2012-02-13 12:02:11 +01:00
qmalloc.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qnamespace.h Cleanup Q3* items 2012-03-23 13:21:57 +01:00
qnamespace.qdoc Cleanup Q3* items 2012-03-23 13:21:57 +01:00
qnumeric_p.h Remove ARMFPA support and Q_DOUBLE_FORMAT detection 2012-03-01 16:26:55 +01:00
qnumeric.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qnumeric.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprocessordetection.h Remove -arch argument and #define QT_ARCH from configures 2012-03-13 12:27:44 +01:00
qsysinfo.h byteorder: Improve the implementation comments for auto-detect 2012-03-09 18:50:52 +01:00
qsystemdetection.h Make syncqt ignore qsystemdetection.h and qcompilerdetection.h 2012-02-07 03:40:40 +01:00
qt_pch.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qt_windows.h Use Q_OS_WINCE instead of Q_WS_WINCE 2012-02-07 20:04:44 +01:00
qtypeinfo.h QtGlobal: remove qIsDetached() 2012-03-01 17:03:29 +01:00
qtypetraits.h Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags() 2012-03-11 23:58:39 +01:00