diff options
Diffstat (limited to 'examples/widgets/doc/classwizard.qdoc')
-rw-r--r-- | examples/widgets/doc/classwizard.qdoc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/examples/widgets/doc/classwizard.qdoc b/examples/widgets/doc/classwizard.qdoc index 0c357b7286..b3b9dab669 100644 --- a/examples/widgets/doc/classwizard.qdoc +++ b/examples/widgets/doc/classwizard.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example dialogs/classwizard + \example widgets/dialogs/classwizard \title Class Wizard Example The License Wizard example shows how to implement linear @@ -82,14 +82,14 @@ Here's the \c ClassWizard definition: - \snippet dialogs/classwizard/classwizard.h 0 + \snippet widgets/dialogs/classwizard/classwizard.h 0 The class reimplements QDialog's \l{QDialog::}{accept()} slot. This slot is called when the user clicks \uicontrol{Finish}. Here's the constructor: - \snippet dialogs/classwizard/classwizard.cpp 1 + \snippet widgets/dialogs/classwizard/classwizard.cpp 1 We instantiate the five pages and insert them into the wizard using QWizard::addPage(). The order in which they are inserted @@ -102,11 +102,11 @@ dialog's background in \l{QWizard::}{MacStyle}. (See \l{Elements of a Wizard Page} for more information.) - \snippet dialogs/classwizard/classwizard.cpp 3 - \snippet dialogs/classwizard/classwizard.cpp 4 + \snippet widgets/dialogs/classwizard/classwizard.cpp 3 + \snippet widgets/dialogs/classwizard/classwizard.cpp 4 \dots - \snippet dialogs/classwizard/classwizard.cpp 5 - \snippet dialogs/classwizard/classwizard.cpp 6 + \snippet widgets/dialogs/classwizard/classwizard.cpp 5 + \snippet widgets/dialogs/classwizard/classwizard.cpp 6 If the user clicks \uicontrol Finish, we extract the information from the various pages using QWizard::field() and generate the files. @@ -121,9 +121,9 @@ classwizard.cpp, together with \c ClassWizard. We will start with the easiest page: - \snippet dialogs/classwizard/classwizard.h 1 + \snippet widgets/dialogs/classwizard/classwizard.h 1 \codeline - \snippet dialogs/classwizard/classwizard.cpp 7 + \snippet widgets/dialogs/classwizard/classwizard.cpp 7 A page inherits from QWizardPage. We set a \l{QWizardPage::}{title} and a @@ -139,13 +139,13 @@ The second page is defined and implemented as follows: - \snippet dialogs/classwizard/classwizard.h 2 + \snippet widgets/dialogs/classwizard/classwizard.h 2 \codeline - \snippet dialogs/classwizard/classwizard.cpp 9 + \snippet widgets/dialogs/classwizard/classwizard.cpp 9 \dots - \snippet dialogs/classwizard/classwizard.cpp 12 + \snippet widgets/dialogs/classwizard/classwizard.cpp 12 \dots - \snippet dialogs/classwizard/classwizard.cpp 13 + \snippet widgets/dialogs/classwizard/classwizard.cpp 13 First, we set the page's \l{QWizardPage::}{title}, \l{QWizardPage::}{subTitle}, and \l{QWizard::LogoPixmap}{logo @@ -165,13 +165,13 @@ The third page is defined and implemented as follows: - \snippet dialogs/classwizard/classwizard.h 3 + \snippet widgets/dialogs/classwizard/classwizard.h 3 \codeline - \snippet dialogs/classwizard/classwizard.cpp 14 + \snippet widgets/dialogs/classwizard/classwizard.cpp 14 \dots - \snippet dialogs/classwizard/classwizard.cpp 15 + \snippet widgets/dialogs/classwizard/classwizard.cpp 15 \codeline - \snippet dialogs/classwizard/classwizard.cpp 16 + \snippet widgets/dialogs/classwizard/classwizard.cpp 16 The code in the constructor is very similar to what we did for \c ClassInfoPage, so we skipped most of it. |