summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-09-01 17:38:56 +0200
committerDavid Boddie <dboddie@trolltech.com>2009-09-01 17:38:56 +0200
commitfe501b51b03c8c48c3efada83e8ae278c93ae5ab (patch)
treeca452f90368ed0e59ddacb6880ba1cca99ac6ae5 /src/gui/widgets
parent8309d2254d7ee08dfcfd230c21d1e4e1009dc405 (diff)
Doc: Fixed broken links to renamed functions.
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/widgets')
-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 14efb9f7e3..9c8ca012fc 100644
--- a/src/gui/widgets/qcalendarwidget.cpp
+++ b/src/gui/widgets/qcalendarwidget.cpp
@@ -1968,9 +1968,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
@@ -1983,6 +1981,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
@@ -2292,7 +2293,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()