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/qstatusbar.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/qstatusbar.cpp')
-rw-r--r-- | src/widgets/widgets/qstatusbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/widgets/qstatusbar.cpp b/src/widgets/widgets/qstatusbar.cpp index 4b9242499c..2b17d7fb83 100644 --- a/src/widgets/widgets/qstatusbar.cpp +++ b/src/widgets/widgets/qstatusbar.cpp @@ -186,12 +186,12 @@ QRect QStatusBarPrivate::messageRect() const Use the showMessage() slot to display a \e temporary message: - \snippet examples/mainwindows/dockwidgets/mainwindow.cpp 8 + \snippet mainwindows/dockwidgets/mainwindow.cpp 8 To remove a temporary message, use the clearMessage() slot, or set a time limit when calling showMessage(). For example: - \snippet examples/mainwindows/dockwidgets/mainwindow.cpp 3 + \snippet mainwindows/dockwidgets/mainwindow.cpp 3 Use the currentMessage() function to retrieve the temporary message currently shown. The QStatusBar class also provide the @@ -205,7 +205,7 @@ QRect QStatusBarPrivate::messageRect() const addPermanentWidget() function. Use the removeWidget() function to remove such messages from the status bar. - \snippet doc/src/snippets/code/src_gui_widgets_qstatusbar.cpp 0 + \snippet code/src_gui_widgets_qstatusbar.cpp 0 By default QStatusBar provides a QSizeGrip in the lower-right corner. You can disable it using the setSizeGripEnabled() |