diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-10-11 16:12:21 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-10-11 16:12:35 +0200 |
commit | d0eb444a49f6064ecb896f62276e060cd8a4b1e8 (patch) | |
tree | 34d8dd637baf665225ada73e76604531cd2c75e5 /src/gui/kernel/qevent.cpp | |
parent | da0cb32b8ee7cc4a991a59420a411898e63a660e (diff) | |
parent | 894f86709080fe8d20875b402adce679963c49c2 (diff) |
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: Ib8cfeee7d9ca15e8ad520e428b72c200827a8628
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r-- | src/gui/kernel/qevent.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index e5ce6f9daa..15ed79c981 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -1046,8 +1046,8 @@ Qt::KeyboardModifiers QKeyEvent::modifiers() const \fn bool QKeyEvent::matches(QKeySequence::StandardKey key) const \since 4.2 - Returns true if the key event matches the given standard \a key; - otherwise returns false. + Returns \c true if the key event matches the given standard \a key; + otherwise returns \c false. */ bool QKeyEvent::matches(QKeySequence::StandardKey matchKey) const { @@ -1063,8 +1063,8 @@ bool QKeyEvent::matches(QKeySequence::StandardKey matchKey) const /*! \fn bool QKeyEvent::isAutoRepeat() const - Returns true if this event comes from an auto-repeating key; - returns false if it comes from an initial key press. + Returns \c true if this event comes from an auto-repeating key; + returns \c false if it comes from an initial key press. Note that if the event is a multiple-key compressed event that is partly due to auto-repeat, this function could return either true @@ -1131,14 +1131,14 @@ Qt::FocusReason QFocusEvent::reason() const /*! \fn bool QFocusEvent::gotFocus() const - Returns true if type() is QEvent::FocusIn; otherwise returns + Returns \c true if type() is QEvent::FocusIn; otherwise returns false. */ /*! \fn bool QFocusEvent::lostFocus() const - Returns true if type() is QEvent::FocusOut; otherwise returns + Returns \c true if type() is QEvent::FocusOut; otherwise returns false. */ @@ -1377,7 +1377,7 @@ QResizeEvent::~QResizeEvent() If the last top-level window is closed, the QApplication::lastWindowClosed() signal is emitted. - The isAccepted() function returns true if the event's receiver has + The isAccepted() function returns \c true if the event's receiver has agreed to close the widget; call accept() to agree to close the widget and call ignore() if the receiver of this event does not want the widget to be closed. @@ -2893,7 +2893,7 @@ QActionEvent::~QActionEvent() window manager controls, either by iconifying the window or by switching to another virtual desktop where the window isn't visible. The window will become hidden but not withdrawn. If the - window was iconified, QWidget::isMinimized() returns true. + window was iconified, QWidget::isMinimized() returns \c true. \sa QShowEvent */ @@ -3006,7 +3006,7 @@ QFileOpenEvent::~QFileOpenEvent() \fn bool QFileOpenEvent::openFile(QFile &file, QIODevice::OpenMode flags) const Opens a QFile on the \a file referenced by this event in the mode specified - by \a flags. Returns true if successful; otherwise returns false. + by \a flags. Returns \c true if successful; otherwise returns \c false. This is necessary as some files cannot be opened by name, but require specific information stored in this event. @@ -3446,7 +3446,7 @@ QDebug operator<<(QDebug dbg, const QEvent *e) { /*! \fn bool QShortcutEvent::isAmbiguous() const - Returns true if the key sequence that triggered the event is + Returns \c true if the key sequence that triggered the event is ambiguous. \sa QShortcut::activatedAmbiguously() |