Fix 'the the' typo in comments
Change-Id: I00fcb1c2374e7ca168b6240f9d41c0323fb0867c Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
d52ed0a8ea
commit
aadf21b25c
@ -714,7 +714,7 @@ void QIODevicePrivate::setReadChannelCount(int count)
|
|||||||
/*!
|
/*!
|
||||||
\since 5.7
|
\since 5.7
|
||||||
|
|
||||||
Returns the the index of the current write channel.
|
Returns the index of the current write channel.
|
||||||
|
|
||||||
\sa setCurrentWriteChannel(), writeChannelCount()
|
\sa setCurrentWriteChannel(), writeChannelCount()
|
||||||
*/
|
*/
|
||||||
|
@ -247,7 +247,7 @@ AppleApplication *qt_apple_sharedApplication()
|
|||||||
qWarning() << "accessing the shared" << [AppleApplication class]
|
qWarning() << "accessing the shared" << [AppleApplication class]
|
||||||
<< "is not allowed in application extensions";
|
<< "is not allowed in application extensions";
|
||||||
|
|
||||||
// In practice the application is actually available, but the the App
|
// In practice the application is actually available, but the App
|
||||||
// review process will likely catch uses of it, so we return nil just
|
// review process will likely catch uses of it, so we return nil just
|
||||||
// in case, unless we don't care about being App Store compliant.
|
// in case, unless we don't care about being App Store compliant.
|
||||||
#if QT_CONFIG(appstore_compliant)
|
#if QT_CONFIG(appstore_compliant)
|
||||||
|
@ -305,7 +305,7 @@ void QBitArray::fill(bool value, int begin, int end)
|
|||||||
\since 5.11
|
\since 5.11
|
||||||
|
|
||||||
Returns a pointer to a dense bit array for this QBitArray. Bits are counted
|
Returns a pointer to a dense bit array for this QBitArray. Bits are counted
|
||||||
upwards from the least significant bit in each byte. The the number of bits
|
upwards from the least significant bit in each byte. The number of bits
|
||||||
relevant in the last byte is given by \c{size() % 8}.
|
relevant in the last byte is given by \c{size() % 8}.
|
||||||
|
|
||||||
\sa fromBits(), size()
|
\sa fromBits(), size()
|
||||||
|
@ -1527,7 +1527,7 @@ QDebug operator<<(QDebug dbg, const QIcon &i)
|
|||||||
\internal
|
\internal
|
||||||
\since 5.6
|
\since 5.6
|
||||||
Attempts to find a suitable @Nx file for the given \a targetDevicePixelRatio
|
Attempts to find a suitable @Nx file for the given \a targetDevicePixelRatio
|
||||||
Returns the the \a baseFileName if no such file was found.
|
Returns the \a baseFileName if no such file was found.
|
||||||
|
|
||||||
Given base foo.png and a target dpr of 2.5, this function will look for
|
Given base foo.png and a target dpr of 2.5, this function will look for
|
||||||
foo@3x.png, then foo@2x, then fall back to foo.png if not found.
|
foo@3x.png, then foo@2x, then fall back to foo.png if not found.
|
||||||
|
@ -485,7 +485,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
/*!
|
/*!
|
||||||
\fn ByteOrder QPixelFormat::byteOrder() const
|
\fn ByteOrder QPixelFormat::byteOrder() const
|
||||||
|
|
||||||
The byte order is almost always set the the byte order of the current
|
The byte order is almost always set the byte order of the current
|
||||||
system. However, it can be useful to describe some YUV formats. This
|
system. However, it can be useful to describe some YUV formats. This
|
||||||
function should never return QPixelFormat::CurrentSystemEndian as this
|
function should never return QPixelFormat::CurrentSystemEndian as this
|
||||||
value is translated to a endian value in the constructor.
|
value is translated to a endian value in the constructor.
|
||||||
|
@ -747,7 +747,7 @@ QRect QPlatformWindow::initialGeometry(const QWindow *w, const QRect &initialGeo
|
|||||||
QPlatformWindow subclasses can re-implement this function to
|
QPlatformWindow subclasses can re-implement this function to
|
||||||
provide display refresh synchronized updates. The event
|
provide display refresh synchronized updates. The event
|
||||||
should be delivered using QPlatformWindow::deliverUpdateRequest()
|
should be delivered using QPlatformWindow::deliverUpdateRequest()
|
||||||
to not get out of sync with the the internal state of QWindow.
|
to not get out of sync with the internal state of QWindow.
|
||||||
|
|
||||||
The default implementation posts an UpdateRequest event to the
|
The default implementation posts an UpdateRequest event to the
|
||||||
window after 5 ms. The additional time is there to give the event
|
window after 5 ms. The additional time is there to give the event
|
||||||
|
@ -281,7 +281,7 @@ QSize QBackingStore::size() const
|
|||||||
bool QBackingStore::scroll(const QRegion &area, int dx, int dy)
|
bool QBackingStore::scroll(const QRegion &area, int dx, int dy)
|
||||||
{
|
{
|
||||||
// Disable scrolling for non-integer scroll deltas. For this case
|
// Disable scrolling for non-integer scroll deltas. For this case
|
||||||
// the the existing rendered pixels can't be re-used, and we return
|
// the existing rendered pixels can't be re-used, and we return
|
||||||
// false to signal that a repaint is needed.
|
// false to signal that a repaint is needed.
|
||||||
const qreal nativeDx = QHighDpi::toNativePixels(qreal(dx), d_ptr->window);
|
const qreal nativeDx = QHighDpi::toNativePixels(qreal(dx), d_ptr->window);
|
||||||
const qreal nativeDy = QHighDpi::toNativePixels(qreal(dy), d_ptr->window);
|
const qreal nativeDy = QHighDpi::toNativePixels(qreal(dy), d_ptr->window);
|
||||||
|
@ -1653,7 +1653,7 @@ QRhiTextureUploadDescription::QRhiTextureUploadDescription(const QRhiTextureUplo
|
|||||||
Constructs a texture upload description with the specified \a list of entries.
|
Constructs a texture upload description with the specified \a list of entries.
|
||||||
|
|
||||||
\note \a list can also contain multiple QRhiTextureUploadEntry elements
|
\note \a list can also contain multiple QRhiTextureUploadEntry elements
|
||||||
with the the same layer and level. This makes sense when those uploads are
|
with the same layer and level. This makes sense when those uploads are
|
||||||
partial, meaning their subresource description has a source size or image
|
partial, meaning their subresource description has a source size or image
|
||||||
smaller than the subresource dimensions, and can be more efficient than
|
smaller than the subresource dimensions, and can be more efficient than
|
||||||
issuing separate uploadTexture()'s.
|
issuing separate uploadTexture()'s.
|
||||||
@ -3468,7 +3468,7 @@ QRhiResource::Type QRhiGraphicsPipeline::resourceType() const
|
|||||||
\l{QSurfaceFormat::sRGBColorSpace}{sRGBColorSpace} on the QSurfaceFormat of
|
\l{QSurfaceFormat::sRGBColorSpace}{sRGBColorSpace} on the QSurfaceFormat of
|
||||||
the QWindow in addition.
|
the QWindow in addition.
|
||||||
|
|
||||||
\value UsedAsTransferSource Indicates the the swapchain will be used as the
|
\value UsedAsTransferSource Indicates the swapchain will be used as the
|
||||||
source of a readback in QRhiResourceUpdateBatch::readBackTexture().
|
source of a readback in QRhiResourceUpdateBatch::readBackTexture().
|
||||||
|
|
||||||
\value NoVSync Requests disabling waiting for vertical sync, also avoiding
|
\value NoVSync Requests disabling waiting for vertical sync, also avoiding
|
||||||
@ -3585,7 +3585,7 @@ QRhiResource::Type QRhiSwapChain::resourceType() const
|
|||||||
\fn QRhiRenderTarget *QRhiSwapChain::currentFrameRenderTarget()
|
\fn QRhiRenderTarget *QRhiSwapChain::currentFrameRenderTarget()
|
||||||
|
|
||||||
\return a render target that can used with beginPass() in order to render
|
\return a render target that can used with beginPass() in order to render
|
||||||
the the swapchain's current backbuffer. Only valid within a
|
the swapchain's current backbuffer. Only valid within a
|
||||||
QRhi::beginFrame() - QRhi::endFrame() block where beginFrame() was called
|
QRhi::beginFrame() - QRhi::endFrame() block where beginFrame() was called
|
||||||
with this swapchain.
|
with this swapchain.
|
||||||
|
|
||||||
@ -4406,7 +4406,7 @@ void QRhiResourceUpdateBatch::generateMips(QRhiTexture *tex, int layer)
|
|||||||
recorded.
|
recorded.
|
||||||
|
|
||||||
\note the return value is not owned by the caller and must never be
|
\note the return value is not owned by the caller and must never be
|
||||||
destroyed. Instead, the batch is returned the the pool for reuse by passing
|
destroyed. Instead, the batch is returned the pool for reuse by passing
|
||||||
it to QRhiCommandBuffer::beginPass(), QRhiCommandBuffer::endPass(), or
|
it to QRhiCommandBuffer::beginPass(), QRhiCommandBuffer::endPass(), or
|
||||||
QRhiCommandBuffer::resourceUpdate(), or by calling
|
QRhiCommandBuffer::resourceUpdate(), or by calling
|
||||||
QRhiResourceUpdateBatch::release() on it.
|
QRhiResourceUpdateBatch::release() on it.
|
||||||
|
@ -141,7 +141,7 @@ QSslPreSharedKeyAuthenticator &QSslPreSharedKeyAuthenticator::operator=(const QS
|
|||||||
/*!
|
/*!
|
||||||
\fn QSslPreSharedKeyAuthenticator &QSslPreSharedKeyAuthenticator::operator=(QSslPreSharedKeyAuthenticator &&authenticator)
|
\fn QSslPreSharedKeyAuthenticator &QSslPreSharedKeyAuthenticator::operator=(QSslPreSharedKeyAuthenticator &&authenticator)
|
||||||
|
|
||||||
Move-assigns the the QSslPreSharedKeyAuthenticator object \a authenticator to this
|
Move-assigns the QSslPreSharedKeyAuthenticator object \a authenticator to this
|
||||||
object, and returns a reference to the moved instance.
|
object, and returns a reference to the moved instance.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -511,7 +511,7 @@ static void executeBlockWithoutAnimation(Block block)
|
|||||||
|
|
||||||
- (void)createLoupe
|
- (void)createLoupe
|
||||||
{
|
{
|
||||||
// We magnify the the desktop view. But the loupe itself will be added as a child
|
// We magnify the desktop view. But the loupe itself will be added as a child
|
||||||
// of the desktop view's parent, so it doesn't become a part of what we magnify.
|
// of the desktop view's parent, so it doesn't become a part of what we magnify.
|
||||||
_loupeLayer = [[self createLoupeLayer] retain];
|
_loupeLayer = [[self createLoupeLayer] retain];
|
||||||
_loupeLayer.targetView = _desktopView;
|
_loupeLayer.targetView = _desktopView;
|
||||||
|
@ -452,7 +452,7 @@
|
|||||||
if (!focusWindow->screen() || focusWindow->screen()->handle() != self.platformScreen)
|
if (!focusWindow->screen() || focusWindow->screen()->handle() != self.platformScreen)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// All decisions are based on the the top level window
|
// All decisions are based on the top level window
|
||||||
focusWindow = qt_window_private(focusWindow)->topLevelWindow();
|
focusWindow = qt_window_private(focusWindow)->topLevelWindow();
|
||||||
|
|
||||||
#ifndef Q_OS_TVOS
|
#ifndef Q_OS_TVOS
|
||||||
|
@ -133,7 +133,7 @@ QWasmIntegration::QWasmIntegration()
|
|||||||
Q_UNUSED(userData);
|
Q_UNUSED(userData);
|
||||||
|
|
||||||
// This resize event is called when the HTML window is resized. Depending
|
// This resize event is called when the HTML window is resized. Depending
|
||||||
// on the page layout the the canvas(es) might also have been resized, so we
|
// on the page layout the canvas(es) might also have been resized, so we
|
||||||
// update the Qt screen sizes (and canvas render sizes).
|
// update the Qt screen sizes (and canvas render sizes).
|
||||||
if (QWasmIntegration *integration = QWasmIntegration::get())
|
if (QWasmIntegration *integration = QWasmIntegration::get())
|
||||||
integration->resizeAllScreens();
|
integration->resizeAllScreens();
|
||||||
|
@ -1301,7 +1301,7 @@ char *toPrettyCString(const char *p, int length)
|
|||||||
// 3 bytes: "" and a character
|
// 3 bytes: "" and a character
|
||||||
// 4 bytes: an hex escape sequence (\xHH)
|
// 4 bytes: an hex escape sequence (\xHH)
|
||||||
if (dst - buffer.data() > 246) {
|
if (dst - buffer.data() > 246) {
|
||||||
// plus the the quote, the three dots and NUL, it's 255 in the worst case
|
// plus the quote, the three dots and NUL, it's 255 in the worst case
|
||||||
trimmed = true;
|
trimmed = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1394,7 +1394,7 @@ char *toPrettyUnicode(QStringView string)
|
|||||||
*dst++ = '"';
|
*dst++ = '"';
|
||||||
for ( ; p != end; ++p) {
|
for ( ; p != end; ++p) {
|
||||||
if (dst - buffer.data() > 245) {
|
if (dst - buffer.data() > 245) {
|
||||||
// plus the the quote, the three dots and NUL, it's 250, 251 or 255
|
// plus the quote, the three dots and NUL, it's 250, 251 or 255
|
||||||
trimmed = true;
|
trimmed = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -379,7 +379,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
This is naturally not the only possible solution. One alternative is to use
|
This is naturally not the only possible solution. One alternative is to use
|
||||||
the \l{QOpenGLContext::aboutToBeDestroyed()}{aboutToBeDestroyed()} signal of
|
the \l{QOpenGLContext::aboutToBeDestroyed()}{aboutToBeDestroyed()} signal of
|
||||||
QOpenGLContext. By connecting a slot, using direct connection, to this signal,
|
QOpenGLContext. By connecting a slot, using direct connection, to this signal,
|
||||||
it is possible to perform cleanup whenever the the underlying native context
|
it is possible to perform cleanup whenever the underlying native context
|
||||||
handle, or the entire QOpenGLContext instance, is going to be released. The
|
handle, or the entire QOpenGLContext instance, is going to be released. The
|
||||||
following snippet is in principle equivalent to the previous one:
|
following snippet is in principle equivalent to the previous one:
|
||||||
|
|
||||||
|
@ -2414,7 +2414,7 @@ void QFusionStyle::drawComplexControl(ComplexControl control, const QStyleOption
|
|||||||
QStyle::State oldState = static_cast<QStyle::State>(styleObject->property("_q_stylestate").value<QStyle::State::Int>());
|
QStyle::State oldState = static_cast<QStyle::State>(styleObject->property("_q_stylestate").value<QStyle::State::Int>());
|
||||||
uint oldActiveControls = styleObject->property("_q_stylecontrols").toUInt();
|
uint oldActiveControls = styleObject->property("_q_stylecontrols").toUInt();
|
||||||
|
|
||||||
// a scrollbar is transient when the the scrollbar itself and
|
// a scrollbar is transient when the scrollbar itself and
|
||||||
// its sibling are both inactive (ie. not pressed/hovered/moved)
|
// its sibling are both inactive (ie. not pressed/hovered/moved)
|
||||||
bool transient = !option->activeSubControls && !(option->state & State_On);
|
bool transient = !option->activeSubControls && !(option->state & State_On);
|
||||||
|
|
||||||
|
@ -1630,7 +1630,7 @@ QStyleOptionProgressBar::QStyleOptionProgressBar(int version)
|
|||||||
the default orentation is Qt::Horizontal
|
the default orentation is Qt::Horizontal
|
||||||
|
|
||||||
\deprecated
|
\deprecated
|
||||||
Use the QStyle::State_Horizontal flag instead (in the the QStyleOption::state member).
|
Use the QStyle::State_Horizontal flag instead (in the QStyleOption::state member).
|
||||||
|
|
||||||
\sa QProgressBar::orientation
|
\sa QProgressBar::orientation
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user