Fix some typos and minor sentence structure issues in docs
Change-Id: Ibede1aeb046e2df6723e3041152bfae22a9fde32 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d44925507b
commit
c3605980d9
@ -3395,7 +3395,7 @@ Q_GLOBAL_STATIC(AndroidRandomStorage, randomTLS)
|
|||||||
pseudo random integers to be returned by qrand().
|
pseudo random integers to be returned by qrand().
|
||||||
|
|
||||||
The sequence of random numbers generated is deterministic per thread. For example,
|
The sequence of random numbers generated is deterministic per thread. For example,
|
||||||
if two threads call qsrand(1) and subsequently calls qrand(), the threads will get
|
if two threads call qsrand(1) and subsequently call qrand(), the threads will get
|
||||||
the same random number sequence.
|
the same random number sequence.
|
||||||
|
|
||||||
\sa qrand()
|
\sa qrand()
|
||||||
|
@ -2258,7 +2258,7 @@
|
|||||||
\enum Qt::ItemSelectionMode
|
\enum Qt::ItemSelectionMode
|
||||||
|
|
||||||
This enum is used in QGraphicsItem, QGraphicsScene and QGraphicsView to
|
This enum is used in QGraphicsItem, QGraphicsScene and QGraphicsView to
|
||||||
specify how items are selected, or how to determine if a shapes and items
|
specify how items are selected, or how to determine if shapes and items
|
||||||
collide.
|
collide.
|
||||||
|
|
||||||
\value ContainsItemShape The output list contains only items whose
|
\value ContainsItemShape The output list contains only items whose
|
||||||
|
@ -373,7 +373,7 @@ void **QListData::erase(void **xi)
|
|||||||
application must interface with a C API.
|
application must interface with a C API.
|
||||||
|
|
||||||
\note Iterators into a QLinkedList and references into
|
\note Iterators into a QLinkedList and references into
|
||||||
heap-allocating QLists remain valid long as the referenced items
|
heap-allocating QLists remain valid as long as the referenced items
|
||||||
remain in the container. This is not true for iterators and
|
remain in the container. This is not true for iterators and
|
||||||
references into a QVector and non-heap-allocating QLists.
|
references into a QVector and non-heap-allocating QLists.
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
application must interface with a C API.
|
application must interface with a C API.
|
||||||
|
|
||||||
\note Iterators into a QLinkedList and references into
|
\note Iterators into a QLinkedList and references into
|
||||||
heap-allocating QLists remain valid long as the referenced items
|
heap-allocating QLists remain valid as long as the referenced items
|
||||||
remain in the container. This is not true for iterators and
|
remain in the container. This is not true for iterators and
|
||||||
references into a QVector and non-heap-allocating QLists.
|
references into a QVector and non-heap-allocating QLists.
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ QString QSqlRecordPrivate::createField(int index, const QString &prefix) const
|
|||||||
view within the database). QSqlRecord supports adding and
|
view within the database). QSqlRecord supports adding and
|
||||||
removing fields as well as setting and retrieving field values.
|
removing fields as well as setting and retrieving field values.
|
||||||
|
|
||||||
The values of a record's fields' can be set by name or position
|
The values of a record's fields can be set by name or position
|
||||||
with setValue(); if you want to set a field to null use
|
with setValue(); if you want to set a field to null use
|
||||||
setNull(). To find the position of a field by name use indexOf(),
|
setNull(). To find the position of a field by name use indexOf(),
|
||||||
and to find the name of a field at a particular position use
|
and to find the name of a field at a particular position use
|
||||||
|
@ -253,7 +253,7 @@
|
|||||||
\snippet shareddirmodel/main.cpp 0
|
\snippet shareddirmodel/main.cpp 0
|
||||||
|
|
||||||
The model is set up to use data from a certain file system. The call to
|
The model is set up to use data from a certain file system. The call to
|
||||||
\l{QFileSystemModel::}{setRootPath()} tell the model which drive on the
|
\l{QFileSystemModel::}{setRootPath()} tells the model which drive on the
|
||||||
file system to expose to the views.
|
file system to expose to the views.
|
||||||
|
|
||||||
We create two views so that we can examine the items held in the model in two
|
We create two views so that we can examine the items held in the model in two
|
||||||
@ -304,7 +304,7 @@
|
|||||||
signals and slots mechanism.
|
signals and slots mechanism.
|
||||||
|
|
||||||
This section describes some basic concepts that are central to the way
|
This section describes some basic concepts that are central to the way
|
||||||
item of data are accessed by other components via a model class. More
|
items of data are accessed by other components via a model class. More
|
||||||
advanced concepts are discussed in later sections.
|
advanced concepts are discussed in later sections.
|
||||||
|
|
||||||
\section3 Model indexes
|
\section3 Model indexes
|
||||||
@ -1869,7 +1869,7 @@
|
|||||||
\codeline
|
\codeline
|
||||||
\snippet qsortfilterproxymodel/main.cpp 1
|
\snippet qsortfilterproxymodel/main.cpp 1
|
||||||
|
|
||||||
Since proxy models are inherit from QAbstractItemModel, they can be connected to
|
Since proxy models inherit from QAbstractItemModel, they can be connected to
|
||||||
any kind of view, and can be shared between views. They can also be used to
|
any kind of view, and can be shared between views. They can also be used to
|
||||||
process the information obtained from other proxy models in a pipeline arrangement.
|
process the information obtained from other proxy models in a pipeline arrangement.
|
||||||
|
|
||||||
|
@ -4943,7 +4943,7 @@ void tst_QNetworkReply::ioGetFromBuiltinHttp()
|
|||||||
const int maxRate = rate * 1024 * (100+allowedDeviation) / 100;
|
const int maxRate = rate * 1024 * (100+allowedDeviation) / 100;
|
||||||
qDebug() << minRate << "<="<< server.transferRate << "<=" << maxRate << "?";
|
qDebug() << minRate << "<="<< server.transferRate << "<=" << maxRate << "?";
|
||||||
// The test takes too long to run if sending enough data to overwhelm the
|
// The test takes too long to run if sending enough data to overwhelm the
|
||||||
// reciever's kernel buffers.
|
// receiver's kernel buffers.
|
||||||
//QEXPECT_FAIL("http+limited", "Limiting is broken right now, check QTBUG-15065", Continue);
|
//QEXPECT_FAIL("http+limited", "Limiting is broken right now, check QTBUG-15065", Continue);
|
||||||
//QEXPECT_FAIL("https+limited", "Limiting is broken right now, check QTBUG-15065", Continue);
|
//QEXPECT_FAIL("https+limited", "Limiting is broken right now, check QTBUG-15065", Continue);
|
||||||
//QVERIFY(server.transferRate >= minRate && server.transferRate <= maxRate);
|
//QVERIFY(server.transferRate >= minRate && server.transferRate <= maxRate);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user