diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qevent.cpp | 8 | ||||
-rw-r--r-- | src/gui/util/qdesktopservices.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 0c2dc0aae1..a0ea261034 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -843,7 +843,7 @@ QKeyEvent::~QKeyEvent() after the event occurred. \warning This function cannot always be trusted. The user can - confuse it by pressing both \key{Shift} keys simultaneously and + confuse it by pressing both \uicontrol{Shift} keys simultaneously and releasing one of them, for example. \sa QApplication::keyboardModifiers() @@ -952,7 +952,7 @@ bool QKeyEvent::matches(QKeySequence::StandardKey matchKey) const Focus events are sent to widgets when the keyboard input focus changes. Focus events occur due to mouse actions, key presses - (such as \gui{Tab} or \gui{Backtab}), the window system, popup + (such as \uicontrol{Tab} or \uicontrol{Backtab}), the window system, popup menus, keyboard shortcuts, or other application-specific reasons. The reason for a particular focus event is returned by reason() in the appropriate event handler. @@ -1198,7 +1198,7 @@ QResizeEvent::~QResizeEvent() Close events are sent to widgets that the user wants to close, usually by choosing "Close" from the window menu, or by clicking - the \gui{X} title bar button. They are also sent when you call + the \uicontrol{X} title bar button. They are also sent when you call QWidget::close() to close a widget programmatically. Close events contain a flag that indicates whether the receiver @@ -1880,7 +1880,7 @@ QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const x and y axes respectively. \a keyState specifies which keyboard modifiers are pressed (e.g., - \key{Ctrl}). + \uicontrol{Ctrl}). The \a uniqueID parameter contains the unique ID for the current device. diff --git a/src/gui/util/qdesktopservices.cpp b/src/gui/util/qdesktopservices.cpp index 623cd893f9..b98337fa4d 100644 --- a/src/gui/util/qdesktopservices.cpp +++ b/src/gui/util/qdesktopservices.cpp @@ -132,7 +132,7 @@ void QOpenUrlHandlerRegistry::handlerDestroyed(QObject *handler) scheme to the default behavior. This system makes it easy to implement a help system, for example. Help could be - provided in labels and text browsers using \gui{help://myapplication/mytopic} + provided in labels and text browsers using \uicontrol{help://myapplication/mytopic} URLs, and by registering a handler it becomes possible to display the help text inside the application: |