src/corelib/tools/qbytearray.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    46 #include "qlist.h"
    46 #include "qlist.h"
    47 #include "qlocale.h"
    47 #include "qlocale.h"
    48 #include "qlocale_p.h"
    48 #include "qlocale_p.h"
    49 #include "qunicodetables_p.h"
    49 #include "qunicodetables_p.h"
    50 #include "qscopedpointer.h"
    50 #include "qscopedpointer.h"
    51 #ifndef QT_NO_DATASTREAM
       
    52 #include <qdatastream.h>
    51 #include <qdatastream.h>
    53 #endif
       
    54 
    52 
    55 #ifndef QT_NO_COMPRESS
    53 #ifndef QT_NO_COMPRESS
    56 #include <zlib.h>
    54 #include <zlib.h>
    57 #endif
    55 #endif
    58 #include <ctype.h>
    56 #include <ctype.h>
  2638         qFree(d);
  2636         qFree(d);
  2639     d = &shared_null;
  2637     d = &shared_null;
  2640     d->ref.ref();
  2638     d->ref.ref();
  2641 }
  2639 }
  2642 
  2640 
  2643 #ifndef QT_NO_DATASTREAM
  2641 #if !defined(QT_NO_DATASTREAM) || (defined(QT_BOOTSTRAPPED) && !defined(QT_BUILD_QMAKE))
  2644 
  2642 
  2645 /*! \relates QByteArray
  2643 /*! \relates QByteArray
  2646 
  2644 
  2647     Writes byte array \a ba to the stream \a out and returns a reference
  2645     Writes byte array \a ba to the stream \a out and returns a reference
  2648     to the stream.
  2646     to the stream.