diff options
author | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-09 17:19:14 +0200 |
---|---|---|
committer | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-12 12:52:02 +0200 |
commit | 13b5c269d6f4ce7936e01b11441aaa3045125d94 (patch) | |
tree | e70131111dc36564a808750ce209ee97f6b38211 /src/gui/kernel | |
parent | 30613163ba74642b66a90458b094d066162b7772 (diff) |
gui: Fix typos in documentation
Pick-to: 5.15 6.2
Change-Id: I533f5a55cd0cd60a76990b552d7dab51a301ac1c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qaction.cpp | 2 | ||||
-rw-r--r-- | src/gui/kernel/qevent.cpp | 2 | ||||
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 4 | ||||
-rw-r--r-- | src/gui/kernel/qoffscreensurface.cpp | 2 | ||||
-rw-r--r-- | src/gui/kernel/qpixelformat.cpp | 2 | ||||
-rw-r--r-- | src/gui/kernel/qshortcutmap.cpp | 2 | ||||
-rw-r--r-- | src/gui/kernel/qwindow.cpp | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/kernel/qaction.cpp b/src/gui/kernel/qaction.cpp index 9c16123545..9c0b1613dc 100644 --- a/src/gui/kernel/qaction.cpp +++ b/src/gui/kernel/qaction.cpp @@ -1262,7 +1262,7 @@ void QAction::setMenuObject(QObject *object) The default is to follow whether the Qt::AA_DontShowIconsInMenus attribute is set for the application. Explicitly settings this property overrides - the presence (or abscence) of the attribute. + the presence (or absence) of the attribute. For example: \snippet code/src_gui_kernel_qaction.cpp 0 diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index e7726d40c5..3c33731279 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -4441,7 +4441,7 @@ QWindowStateChangeEvent::~QWindowStateChangeEvent() describes the different states that a touch point may have. \note The list of points() will never be partial: A touch event will always contain a touch - point for each existing physical touch contacts targetting the window or widget to which the + point for each existing physical touch contacts targeting the window or widget to which the event is sent. For instance, assuming that all touches target the same window or widget, an event with a condition of points().count()==2 is guaranteed to imply that the number of fingers touching the touchscreen or touchpad is exactly two. diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 99cf9ef7a6..7e29d707ee 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -1746,7 +1746,7 @@ static QClipboard *clipboard(); /*! Returns the current state of the modifier keys on the keyboard. The current - state is updated sychronously as the event queue is emptied of events that + state is updated synchronously as the event queue is emptied of events that will spontaneously change the keyboard state (QEvent::KeyPress and QEvent::KeyRelease events). @@ -4015,7 +4015,7 @@ static inline void applyWindowCursor(const QList<QWindow *> &l) Application cursors are stored on an internal stack. setOverrideCursor() pushes the cursor onto the stack, and restoreOverrideCursor() pops the - active cursor off the stack. changeOverrideCursor() changes the curently + active cursor off the stack. changeOverrideCursor() changes the currently active application override cursor. Every setOverrideCursor() must eventually be followed by a corresponding diff --git a/src/gui/kernel/qoffscreensurface.cpp b/src/gui/kernel/qoffscreensurface.cpp index 8fbb188bd1..b403cf65d1 100644 --- a/src/gui/kernel/qoffscreensurface.cpp +++ b/src/gui/kernel/qoffscreensurface.cpp @@ -203,7 +203,7 @@ void QOffscreenSurface::destroy() /*! Returns \c true if this offscreen surface is valid; otherwise returns \c false. - The offscreen surface is valid if the platform resources have been successfuly allocated. + The offscreen surface is valid if the platform resources have been successfully allocated. \sa create() */ diff --git a/src/gui/kernel/qpixelformat.cpp b/src/gui/kernel/qpixelformat.cpp index 7a47dd472c..130ef15b00 100644 --- a/src/gui/kernel/qpixelformat.cpp +++ b/src/gui/kernel/qpixelformat.cpp @@ -186,7 +186,7 @@ QT_BEGIN_NAMESPACE \enum QPixelFormat::YUVLayout YUV is not represented by describing the size of the color channels. This is - because YUV often use macro pixels, making the concept of sperate color channels + because YUV often use macro pixels, making the concept of separate color channels invalid. Instead the different YUV layouts are described with this enum. \value YUV444 diff --git a/src/gui/kernel/qshortcutmap.cpp b/src/gui/kernel/qshortcutmap.cpp index cf729d28c4..61bde9a999 100644 --- a/src/gui/kernel/qshortcutmap.cpp +++ b/src/gui/kernel/qshortcutmap.cpp @@ -396,7 +396,7 @@ QKeySequence::SequenceMatch QShortcutMap::nextState(QKeyEvent *e) /*! \internal - Determines if an enabled shortcut has a matcing key sequence. + Determines if an enabled shortcut has a matching key sequence. */ bool QShortcutMap::hasShortcutForKeySequence(const QKeySequence &seq) const { diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 355bc28d18..590c56eab8 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -2873,7 +2873,7 @@ QWindow *QWindow::fromWinId(WId id) } /*! - Causes an alert to be shown for \a msec miliseconds. If \a msec is \c 0 (the + Causes an alert to be shown for \a msec milliseconds. If \a msec is \c 0 (the default), then the alert is shown indefinitely until the window becomes active again. This function has no effect on an active window. |