diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2012-05-11 01:53:30 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 11:35:21 +0200 |
commit | 3471e2de782304da963dbd4bee0dacd5a30b7bbd (patch) | |
tree | 5d0a81fe37216d52ee94308fc7ff63f7be884b0f /src/widgets/dialogs/qdialog.cpp | |
parent | 358f78f215faf9dab433a279d87007f52fbe3c71 (diff) |
QtWidgets: remove \link usages
Change-Id: I9887a24485233f29d07054b3110d4db9e499b9f4
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/widgets/dialogs/qdialog.cpp')
-rw-r--r-- | src/widgets/dialogs/qdialog.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/widgets/dialogs/qdialog.cpp b/src/widgets/dialogs/qdialog.cpp index 0955e00dd5..97a5b6d454 100644 --- a/src/widgets/dialogs/qdialog.cpp +++ b/src/widgets/dialogs/qdialog.cpp @@ -146,9 +146,7 @@ void QDialogPrivate::deletePlatformHelper() A dialog window is a top-level window mostly used for short-term tasks and brief communications with the user. QDialogs may be modal or modeless. QDialogs can - provide a \link #return return - value\endlink, and they can have \link #default default - buttons\endlink. QDialogs can also have a QSizeGrip in their + provide a \l{#return}{return value}, and they can have \l{#default}{default buttons}. QDialogs can also have a QSizeGrip in their lower-right corner, using setSizeGripEnabled(). Note that QDialog (an any other widget that has type Qt::Dialog) uses @@ -182,7 +180,7 @@ void QDialogPrivate::deletePlatformHelper() The most common way to display a modal dialog is to call its exec() function. When the user closes the dialog, exec() will - provide a useful \link #return return value\endlink. Typically, + provide a useful \l{#return}{return value}. Typically, to get the dialog to close and return the appropriate value, we connect a default button, e.g. \uicontrol OK, to the accept() slot and a \uicontrol Cancel button to the reject() slot. @@ -232,9 +230,7 @@ void QDialogPrivate::deletePlatformHelper() \section1 Escape Key If the user presses the Esc key in a dialog, QDialog::reject() - will be called. This will cause the window to close: The \link - QCloseEvent close event \endlink cannot be \link - QCloseEvent::ignore() ignored \endlink. + will be called. This will cause the window to close: The \l{QCloseEvent}{close event} cannot be \l{QCloseEvent::ignore()}{ignored}. \section1 Extensibility |