summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qcalendarwidget.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-09-01 13:26:07 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-09-01 13:26:07 (GMT)
commit505458d4e2d094eba7cf34a71c6cd960c28a52e4 (patch)
treec62feb289d33a9e5e5055fc7b8ff4a91edbb0f73 /src/gui/widgets/qcalendarwidget.cpp
parent8b916347634f2dcbb7d3e7c26a72879bee711012 (diff)
downloadQt-505458d4e2d094eba7cf34a71c6cd960c28a52e4.zip
Qt-505458d4e2d094eba7cf34a71c6cd960c28a52e4.tar.gz
Qt-505458d4e2d094eba7cf34a71c6cd960c28a52e4.tar.bz2
Doc: Fixed broken links to renamed functions.
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/widgets/qcalendarwidget.cpp')
-rw-r--r--src/gui/widgets/qcalendarwidget.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/qcalendarwidget.cpp b/src/gui/widgets/qcalendarwidget.cpp
index dfd8639..8ed57cd 100644
--- a/src/gui/widgets/qcalendarwidget.cpp
+++ b/src/gui/widgets/qcalendarwidget.cpp
@@ -1967,9 +1967,7 @@ void QCalendarWidgetPrivate::_q_editingFinished()
The widget is initialized with the current month and year, but
QCalendarWidget provides several public slots to change the year
- and month that is shown. The currently displayed month and year
- can be retrieved using the currentPageMonth() and currentPageYear()
- functions, respectively.
+ and month that is shown.
By default, today's date is selected, and the user can select a
date using both mouse and keyboard. The currently selected date
@@ -1982,6 +1980,9 @@ void QCalendarWidgetPrivate::_q_editingFinished()
all. Note that a date also can be selected programmatically using
the setSelectedDate() slot.
+ The currently displayed month and year can be retrieved using the
+ monthShown() and yearShown() functions, respectively.
+
A newly created calendar widget uses abbreviated day names, and
both Saturdays and Sundays are marked in red. The calendar grid is
not visible. The week numbers are displayed, and the first column
@@ -2287,7 +2288,7 @@ int QCalendarWidget::monthShown() const
selected date.
The currently displayed month and year can be retrieved using the
- currentPageMonth() and currentPageYear() functions respectively.
+ monthShown() and yearShown() functions respectively.
\sa yearShown(), monthShown(), showPreviousMonth(), showNextMonth(),
showPreviousYear(), showNextYear()