diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2012-05-11 01:38:45 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 11:35:21 +0200 |
commit | 2c49ea852f7893faae59bbdb59e2806002f0a017 (patch) | |
tree | 215abada3efeaf7a5d2137f87c5bc1ac5009bf34 /src/corelib/tools/qbitarray.cpp | |
parent | dd3e4f1dbe868a8524ac199af838bb5f48d8bb9d (diff) |
QtCore: remove \link usages
Change-Id: I0de764b51a972de0b6eb2bf3c04d2b190f581f52
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/corelib/tools/qbitarray.cpp')
-rw-r--r-- | src/corelib/tools/qbitarray.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/corelib/tools/qbitarray.cpp b/src/corelib/tools/qbitarray.cpp index 0e74e15a27..6d26d93508 100644 --- a/src/corelib/tools/qbitarray.cpp +++ b/src/corelib/tools/qbitarray.cpp @@ -55,11 +55,10 @@ QT_BEGIN_NAMESPACE \reentrant A QBitArray is an array that gives access to individual bits and - provides operators (\link operator&() AND\endlink, \link - operator|() OR\endlink, \link operator^() XOR\endlink, and \link - operator~() NOT\endlink) that work on entire arrays of bits. It - uses \l{implicit sharing} (copy-on-write) to reduce memory usage - and to avoid the needless copying of data. + provides operators (\l{operator&()}{AND}, \l{operator|()}{OR}, + \l{operator^()}{XOR}, and \l{operator~()}{NOT}) that work on + entire arrays of bits. It uses \l{implicit sharing} (copy-on-write) + to reduce memory usage and to avoid the needless copying of data. The following code constructs a QBitArray containing 200 bits initialized to false (0): @@ -83,9 +82,9 @@ QT_BEGIN_NAMESPACE \snippet code/src_corelib_tools_qbitarray.cpp 2 - QBitArray supports \c{&} (\link operator&() AND\endlink), \c{|} - (\link operator|() OR\endlink), \c{^} (\link operator^() - XOR\endlink), \c{~} (\link operator~() NOT\endlink), as well as + QBitArray supports \c{&} (\l{operator&()}{AND}), \c{|} + (\l{operator|()}{OR}), \c{^} (\l{operator^()}{XOR}), + \c{~} (\l{operator~()}{NOT}), as well as \c{&=}, \c{|=}, and \c{^=}. These operators work in the same way as the built-in C++ bitwise operators of the same name. For example: |