summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qbytearray.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-06-18 14:36:46 (GMT)
committerhjk <qtc-committer@nokia.com>2009-06-19 06:39:38 (GMT)
commitcce29e63108827f551c74221d0aafbbba891dd51 (patch)
tree0060d9cb361cab7d64fed0f79e7673f1f620ce6a /src/corelib/tools/qbytearray.h
parentf9f08de9d41fd55d9c7d01578191ef5d4099c9e6 (diff)
downloadQt-cce29e63108827f551c74221d0aafbbba891dd51.zip
Qt-cce29e63108827f551c74221d0aafbbba891dd51.tar.gz
Qt-cce29e63108827f551c74221d0aafbbba891dd51.tar.bz2
New constructor QByteArray::QByteArray(int size, enum Qt::Uninitialized)
Contrary to the QByteArray::QByteArray(int size, enum Qt::Uninitialized) constructor this does not initialize its data. Reviewed-by: mariusSO
Diffstat (limited to 'src/corelib/tools/qbytearray.h')
-rw-r--r--src/corelib/tools/qbytearray.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/tools/qbytearray.h b/src/corelib/tools/qbytearray.h
index 5cd4d63..3cb10d7 100644
--- a/src/corelib/tools/qbytearray.h
+++ b/src/corelib/tools/qbytearray.h
@@ -42,8 +42,8 @@
#ifndef QBYTEARRAY_H
#define QBYTEARRAY_H
-#include <QtCore/qglobal.h>
#include <QtCore/qatomic.h>
+#include <QtCore/qnamespace.h>
#include <string.h>
#include <stdarg.h>
@@ -127,6 +127,7 @@ public:
QByteArray(const char *);
QByteArray(const char *, int size);
QByteArray(int size, char c);
+ QByteArray(int size, enum Qt::Uninitialized);
inline QByteArray(const QByteArray &);
inline ~QByteArray();