correct send vs sent grammar
Correct the tense of send vs sent in comments and documentation. Change-Id: I1c5ce9a7b1e49b8b0e8dcfde7d732e4c69acf73a Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>bb10
parent
961b24eed2
commit
e6cb06a835
|
|
@ -4361,13 +4361,13 @@ void QTouchEvent::TouchPoint::setFlags(InfoFlags flags)
|
|||
\ingroup events
|
||||
\inmodule QtGui
|
||||
|
||||
\brief The QScrollPrepareEvent class is send in preparation of a scrolling.
|
||||
\brief The QScrollPrepareEvent class is sent in preparation of scrolling.
|
||||
|
||||
The scroll prepare event is send before scrolling (usually by QScroller) is started.
|
||||
The scroll prepare event is sent before scrolling (usually by QScroller) is started.
|
||||
The object receiving this event should set viewportSize, maxContentPos and contentPos.
|
||||
It also should accept this event to indicate that scrolling should be started.
|
||||
|
||||
It is not guaranteed that a QScrollEvent will be send after an acceepted
|
||||
It is not guaranteed that a QScrollEvent will be sent after an acceepted
|
||||
QScrollPrepareEvent, e.g. in a case where the maximum content position is (0,0).
|
||||
|
||||
\sa QScrollEvent, QScroller
|
||||
|
|
@ -4462,9 +4462,9 @@ void QScrollPrepareEvent::setContentPos(const QPointF &pos)
|
|||
\ingroup events
|
||||
\inmodule QtGui
|
||||
|
||||
\brief The QScrollEvent class is send when scrolling.
|
||||
\brief The QScrollEvent class is sent when scrolling.
|
||||
|
||||
The scroll event is send to indicate that the receiver should be scrolled.
|
||||
The scroll event is sent to indicate that the receiver should be scrolled.
|
||||
Usually the receiver should be something visual like QWidget or QGraphicsObject.
|
||||
|
||||
Some care should be taken that no conflicting QScrollEvents are sent from two
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@ bool QHttpNetworkReplyPrivate::isCompressed()
|
|||
void QHttpNetworkReplyPrivate::removeAutoDecompressHeader()
|
||||
{
|
||||
// The header "Content-Encoding = gzip" is retained.
|
||||
// Content-Length is removed since the actual one send by the server is for compressed data
|
||||
// Content-Length is removed since the actual one sent by the server is for compressed data
|
||||
QByteArray name("content-length");
|
||||
QList<QPair<QByteArray, QByteArray> >::Iterator it = fields.begin(),
|
||||
end = fields.end();
|
||||
|
|
@ -921,7 +921,7 @@ qint64 QHttpNetworkReplyPrivate::getChunkSize(QAbstractSocket *socket, qint64 *c
|
|||
bool QHttpNetworkReplyPrivate::shouldEmitSignals()
|
||||
{
|
||||
// for 401 & 407 don't emit the data signals. Content along with these
|
||||
// responses are send only if the authentication fails.
|
||||
// responses are sent only if the authentication fails.
|
||||
return (statusCode != 401 && statusCode != 407);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ QByteArray QHttpNetworkRequest::uri(bool throughProxy) const
|
|||
{
|
||||
QUrl::FormattingOptions format(QUrl::RemoveFragment | QUrl::RemoveUserInfo | QUrl::FullyEncoded);
|
||||
|
||||
// for POST, query data is send as content
|
||||
// for POST, query data is sent as content
|
||||
if (d->operation == QHttpNetworkRequest::Post && !d->uploadByteDevice)
|
||||
format |= QUrl::RemoveQuery;
|
||||
// for requests through proxy, the Request-URI contains full url
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@
|
|||
notification).
|
||||
|
||||
\value ItemTransformChange The item's transformation matrix changes. This
|
||||
notification is send if the ItemSendsGeometryChanges flag is enabled, and
|
||||
notification is sent if the ItemSendsGeometryChanges flag is enabled, and
|
||||
when the item's local transformation matrix changes (i.e., as a result of
|
||||
calling setTransform(). The value argument is the new matrix (i.e., a
|
||||
QTransform); to get the old matrix, call transform(). Do not call
|
||||
|
|
@ -6604,7 +6604,7 @@ void QGraphicsItem::removeSceneEventFilter(QGraphicsItem *filterItem)
|
|||
|
||||
Reimplementing this function in a subclass makes it possible
|
||||
for the item to be used as an event filter for other items,
|
||||
intercepting all the events send to those items before they are
|
||||
intercepting all the events sent to those items before they are
|
||||
able to respond.
|
||||
|
||||
Reimplementations must return true to prevent further processing of
|
||||
|
|
|
|||
|
|
@ -1545,7 +1545,7 @@ void tst_Gestures::autoCancelGestures()
|
|||
QVERIFY(QTest::qWaitForWindowExposed(&parent));
|
||||
|
||||
/*
|
||||
An event is send to both the child and the parent, when the child gets it a gesture is triggered
|
||||
An event is sent to both the child and the parent, when the child gets it a gesture is triggered
|
||||
and send to the child.
|
||||
When the parent gets the event a new gesture is triggered and delivered to the parent. When the
|
||||
parent gets it he accepts it and that causes the cancel policy to activate.
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ void tst_MacNativeEvents::testDragWindow()
|
|||
void tst_MacNativeEvents::testMouseEnter()
|
||||
{
|
||||
// When a mouse enters a widget, both a mouse enter events and a
|
||||
// mouse move event should be sendt. Lets test this:
|
||||
// mouse move event should be sent. Let's test this:
|
||||
QWidget w;
|
||||
w.setMouseTracking(true);
|
||||
w.show();
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ void tst_QScroller::scroll()
|
|||
// now we should be scrolling
|
||||
QTRY_COMPARE( s1->state(), QScroller::Scrolling );
|
||||
|
||||
// wait until finished, check that no further first scroll is send
|
||||
// wait until finished, check that no further first scroll is sent
|
||||
sw->receivedFirst = false;
|
||||
sw->receivedScroll = false;
|
||||
while (s1->state() == QScroller::Scrolling)
|
||||
|
|
|
|||
Loading…
Reference in New Issue