summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/digitalclock.qdoc
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2012-08-29 10:25:56 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-01 11:24:50 +0200
commit3ef3c662fecf60be1efcc315a1ae585658c1bec3 (patch)
tree9942df6af7420a6c2b4fb48cd44bddc9cd3e8a5e /examples/widgets/doc/digitalclock.qdoc
parenteede34aa6b8f60ec2627ebd8726d76e15478edc3 (diff)
Don't reference widgets/widgets in example doc.
Change-Id: Ie1fe516f75ca8c1b2233dc6bb2b887b55593e730 Reviewed-by: Martin Smith <martin.smith@nokia.com>
Diffstat (limited to 'examples/widgets/doc/digitalclock.qdoc')
-rw-r--r--examples/widgets/doc/digitalclock.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/widgets/doc/digitalclock.qdoc b/examples/widgets/doc/digitalclock.qdoc
index 0597f80670..92e8003205 100644
--- a/examples/widgets/doc/digitalclock.qdoc
+++ b/examples/widgets/doc/digitalclock.qdoc
@@ -26,7 +26,7 @@
****************************************************************************/
/*!
- \example widgets/widgets/digitalclock
+ \example widgets/digitalclock
\title Digital Clock Example
The Digital Clock example shows how to use QLCDNumber to display a
@@ -44,11 +44,11 @@
and implement a private slot called \c showTime() to update the clock
display:
- \snippet widgets/widgets/digitalclock/digitalclock.h 0
+ \snippet widgets/digitalclock/digitalclock.h 0
\section1 DigitalClock Class Implementation
- \snippet widgets/widgets/digitalclock/digitalclock.cpp 0
+ \snippet widgets/digitalclock/digitalclock.cpp 0
In the constructor, we first change the look of the LCD numbers. The
QLCDNumber::Filled style produces raised segments filled with the
@@ -59,8 +59,8 @@
call the \c showTime() slot; without this call, there would be a one-second
delay at startup before the time is shown.
- \snippet widgets/widgets/digitalclock/digitalclock.cpp 1
- \snippet widgets/widgets/digitalclock/digitalclock.cpp 2
+ \snippet widgets/digitalclock/digitalclock.cpp 1
+ \snippet widgets/digitalclock/digitalclock.cpp 2
The \c showTime() slot is called whenever the clock display needs
to be updated.