Review of documentation.
authorMichele Caini <michele.caini@gmail.com>
Thu, 20 Sep 2012 20:36:05 +0000 (22:36 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 12 Oct 2012 06:15:17 +0000 (08:15 +0200)
Documentation has been updated to reflect changes in Qt5.

Change-Id: I3d54d1875962bd27c43bb360ae7b3fda0b7702ba
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qbitarray.cpp
src/corelib/tools/qbitarray.h

index d5538e0..116e60d 100644 (file)
@@ -390,7 +390,7 @@ void QBitArray::fill(bool value, int begin, int end)
     \overload
 */
 
-/*! \fn bool QBitArray::operator[](uint i)
+/*! \fn QBitRef QBitArray::operator[](uint i)
 
     \overload
 */
@@ -418,6 +418,12 @@ void QBitArray::fill(bool value, int begin, int end)
     this bit array.
 */
 
+/*! \fn QBitArray &QBitArray::operator=(QBitArray &&other)
+
+    Moves \a other to this bit array and returns a reference to
+    this bit array.
+*/
+
 /*! \fn void QBitArray::swap(QBitArray &other)
     \since 4.8
 
index aa9c962..133f829 100644 (file)
@@ -99,8 +99,8 @@ public:
     QBitArray& operator^=(const QBitArray &);
     QBitArray  operator~() const;
 
-    inline bool operator==(const QBitArray& a) const { return d == a.d; }
-    inline bool operator!=(const QBitArray& a) const { return d != a.d; }
+    inline bool operator==(const QBitArray& other) const { return d == other.d; }
+    inline bool operator!=(const QBitArray& other) const { return d != other.d; }
 
     inline bool fill(bool val, int size = -1);
     void fill(bool val, int first, int last);