diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2012-05-07 18:49:48 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-09 08:36:46 +0200 |
commit | 97b5b8009254004608feefb903cbf44abaa099f6 (patch) | |
tree | cf3a79caa34085de1308eb86cac6ea0d9663aa9c /src/widgets/widgets/qabstractbutton.cpp | |
parent | cfdc5628b1fc2cbafa2aebca38995e5718fcb0de (diff) |
Doc: Modularize QtWidgets documentation.
This change moves the snippets and images to the modularized
directories.
Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qabstractbutton.cpp')
-rw-r--r-- | src/widgets/widgets/qabstractbutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/widgets/qabstractbutton.cpp b/src/widgets/widgets/qabstractbutton.cpp index 4e85eae3ff..0c22576f7f 100644 --- a/src/widgets/widgets/qabstractbutton.cpp +++ b/src/widgets/widgets/qabstractbutton.cpp @@ -86,7 +86,7 @@ Q_WIDGETS_EXPORT extern bool qt_tab_all_widgets; ampersand ('&'), QAbstractButton automatically creates a shortcut key. For example: - \snippet doc/src/snippets/code/src_gui_widgets_qabstractbutton.cpp 0 + \snippet code/src_gui_widgets_qabstractbutton.cpp 0 The \key Alt+C shortcut is assigned to the button, i.e., when the user presses \key Alt+C the button will call animateClick(). See @@ -97,7 +97,7 @@ Q_WIDGETS_EXPORT extern bool qt_tab_all_widgets; function. This is useful mostly for buttons that do not have any text, because they have no automatic shortcut. - \snippet doc/src/snippets/code/src_gui_widgets_qabstractbutton.cpp 1 + \snippet code/src_gui_widgets_qabstractbutton.cpp 1 All of the buttons provided by Qt (QPushButton, QToolButton, QCheckBox, and QRadioButton) can display both \l text and \l{icon}{icons}. @@ -1361,7 +1361,7 @@ For example, a slot that reacts to signals emitted by newly checked buttons but which ignores signals from buttons that have been unchecked can be implemented using the following pattern: -\snippet doc/src/snippets/code/src_gui_widgets_qabstractbutton.cpp 2 +\snippet code/src_gui_widgets_qabstractbutton.cpp 2 Button groups can be created using the QButtonGroup class, and updates to the button states monitored with the |