summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Schwarzer <frederik.schwarzer@basyskom.com>2016-10-18 17:38:17 +0200
committerFrederik Schwarzer <frederik.schwarzer@basyskom.com>2016-10-21 09:06:13 +0000
commitef88bf02efdfb1bde447ed924b30b656356a2f59 (patch)
tree14b75b81955f7165a8664ac665dd116659469c30
parent49d3bb005889b9fb5a06d6aadac23ebd5b2f9f2d (diff)
Fix some typos in docs and apidocs
While "commonest" is still correct English, it's rather old-fashioned and "most common" predominates Qt's wording style. Change-Id: I20d72c098ee40b2a89f91e42f7208fe5b87286a2 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
-rw-r--r--src/corelib/doc/src/eventsandfilters.qdoc2
-rw-r--r--src/corelib/io/qurl.cpp2
-rw-r--r--src/corelib/kernel/qcoreapplication.cpp2
-rw-r--r--src/corelib/tools/qregularexpression.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/doc/src/eventsandfilters.qdoc b/src/corelib/doc/src/eventsandfilters.qdoc
index 99a40bb1b8..64f015b9cc 100644
--- a/src/corelib/doc/src/eventsandfilters.qdoc
+++ b/src/corelib/doc/src/eventsandfilters.qdoc
@@ -80,7 +80,7 @@
\section1 Event Types
- Most events types have special classes, notably QResizeEvent,
+ Most event types have special classes, notably QResizeEvent,
QPaintEvent, QMouseEvent, QKeyEvent, and QCloseEvent. Each class
subclasses QEvent and adds event-specific functions. For example,
QResizeEvent adds \l{QResizeEvent::}{size()} and
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index a5643d123d..7512bcd83f 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -149,7 +149,7 @@
dealing with URLs and strings:
\list
- \li When creating an QString to contain a URL from a QByteArray or a
+ \li When creating a QString to contain a URL from a QByteArray or a
char*, always use QString::fromUtf8().
\endlist
*/
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index f5b15207cc..bd3c12ce97 100644
--- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -1031,7 +1031,7 @@ bool QCoreApplication::notifyInternal2(QObject *receiver, QEvent *event)
approaches are listed below:
\list 1
\li Reimplementing \l {QWidget::}{paintEvent()}, \l {QWidget::}{mousePressEvent()} and so
- on. This is the commonest, easiest, and least powerful way.
+ on. This is the most common, easiest, and least powerful way.
\li Reimplementing this function. This is very powerful, providing
complete control; but only one subclass can be active at a time.
diff --git a/src/corelib/tools/qregularexpression.cpp b/src/corelib/tools/qregularexpression.cpp
index 81b108059b..9781733abb 100644
--- a/src/corelib/tools/qregularexpression.cpp
+++ b/src/corelib/tools/qregularexpression.cpp
@@ -542,7 +542,7 @@ QT_BEGIN_NAMESPACE
\inmodule QtCore
\reentrant
- \brief The QRegularExpressionMatch class provides the results of a matching
+ \brief The QRegularExpressionMatch class provides the results of matching
a QRegularExpression against a string.
\since 5.0