From 97b5b8009254004608feefb903cbf44abaa099f6 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Mon, 7 May 2012 18:49:48 +0200 Subject: Doc: Modularize QtWidgets documentation. This change moves the snippets and images to the modularized directories. Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d Reviewed-by: Marius Storm-Olsen --- src/widgets/dialogs/qprogressdialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/dialogs/qprogressdialog.cpp') diff --git a/src/widgets/dialogs/qprogressdialog.cpp b/src/widgets/dialogs/qprogressdialog.cpp index 350fb57e20..97e628e96b 100644 --- a/src/widgets/dialogs/qprogressdialog.cpp +++ b/src/widgets/dialogs/qprogressdialog.cpp @@ -244,7 +244,7 @@ void QProgressDialogPrivate::_q_disconnectOnClose() to use for the programmer. Do the operation in a loop, call \l setValue() at intervals, and check for cancellation with wasCanceled(). For example: - \snippet doc/src/snippets/dialogs/dialogs.cpp 3 + \snippet dialogs/dialogs.cpp 3 A modeless progress dialog is suitable for operations that take place in the background, where the user is able to interact with the @@ -257,11 +257,11 @@ void QProgressDialogPrivate::_q_disconnectOnClose() canceled() signal to a slot that stops the operation, and call \l setValue() at intervals. For example: - \snippet doc/src/snippets/dialogs/dialogs.cpp 4 + \snippet dialogs/dialogs.cpp 4 \codeline - \snippet doc/src/snippets/dialogs/dialogs.cpp 5 + \snippet dialogs/dialogs.cpp 5 \codeline - \snippet doc/src/snippets/dialogs/dialogs.cpp 6 + \snippet dialogs/dialogs.cpp 6 In both modes the progress dialog may be customized by replacing the child widgets with custom widgets by using setLabel(), -- cgit v1.2.3