From 50b995d114013226e9e3b59f98de2486c3a480b2 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 25 Sep 2018 11:28:30 +0200 Subject: Fix typos in the documentation Returnes -> returns Change-Id: I52372488a16d7c13e85fca0e11eaab738db9355d Reviewed-by: Jesus Fernandez --- src/gui/kernel/qplatformscreen.cpp | 2 +- src/gui/kernel/qplatformwindow.cpp | 2 +- src/network/access/qnetworkaccessmanager.cpp | 2 +- src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/gui/kernel/qplatformscreen.cpp b/src/gui/kernel/qplatformscreen.cpp index 358ff16930..9614be7f3e 100644 --- a/src/gui/kernel/qplatformscreen.cpp +++ b/src/gui/kernel/qplatformscreen.cpp @@ -72,7 +72,7 @@ QPlatformScreen::~QPlatformScreen() This function is called when Qt needs to be able to grab the content of a window. - Returnes the content of the window specified with the WId handle within the boundaries of + Returns the content of the window specified with the WId handle within the boundaries of QRect(x,y,width,height). */ QPixmap QPlatformScreen::grabWindow(WId window, int x, int y, int width, int height) const diff --git a/src/gui/kernel/qplatformwindow.cpp b/src/gui/kernel/qplatformwindow.cpp index e83f76fb06..50f05721f7 100644 --- a/src/gui/kernel/qplatformwindow.cpp +++ b/src/gui/kernel/qplatformwindow.cpp @@ -140,7 +140,7 @@ void QPlatformWindow::setGeometry(const QRect &rect) } /*! - Returnes the current geometry of a window + Returns the current geometry of a window */ QRect QPlatformWindow::geometry() const { diff --git a/src/network/access/qnetworkaccessmanager.cpp b/src/network/access/qnetworkaccessmanager.cpp index bec98a3f58..375b8763ee 100644 --- a/src/network/access/qnetworkaccessmanager.cpp +++ b/src/network/access/qnetworkaccessmanager.cpp @@ -930,7 +930,7 @@ QNetworkReply *QNetworkAccessManager::put(const QNetworkRequest &request, QHttpM /*! Uploads the contents of \a data to the destination \a request and - returnes a new QNetworkReply object that will be open for reply. + returns a new QNetworkReply object that will be open for reply. \a data must be opened for reading when this function is called and must remain valid until the finished() signal is emitted for diff --git a/src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc b/src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc index 876096e40f..e164a92e22 100644 --- a/src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc +++ b/src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc @@ -46,7 +46,7 @@ /*! \fn QByteArray QCocoaWindowFunctions::bottomLeftClippedByNSWindowOffsetIdentifier() - This function returnes the bytearray that can be used to query + This function returns the bytearray that can be used to query QGuiApplication::platformFunction to retrieve the BottomLeftClippedByNSWindowOffset function. */ -- cgit v1.2.3