aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/calendar/qquickcalendarmodel.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-02 23:03:58 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-04 10:56:24 +0000
commit1862fc5a32fd0523a56d24f2f90df3d9f54ba967 (patch)
tree6b80f228ceef64cf5a42a3d9a016ed28172cc18c /src/imports/calendar/qquickcalendarmodel.cpp
parent0cb096251c4f5af79126e71cfa7a7f9e910dac95 (diff)
Rename CalendarView to MonthGrid
Let's reserve CalendarView for a bit higher level control that combines MonthGrid, DayOfWeekRow and WeekNumberColumn, and provides built-in navigation. CalendarView would use the not-so-extensible CalendarModel internally, so we could get that out of the public API as well... Change-Id: I43126ed4c87f54a5b24129b9d60c969f5bd58642 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/calendar/qquickcalendarmodel.cpp')
-rw-r--r--src/imports/calendar/qquickcalendarmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/calendar/qquickcalendarmodel.cpp b/src/imports/calendar/qquickcalendarmodel.cpp
index cfbfd25c..d4b9c9c8 100644
--- a/src/imports/calendar/qquickcalendarmodel.cpp
+++ b/src/imports/calendar/qquickcalendarmodel.cpp
@@ -47,9 +47,9 @@ QT_BEGIN_NAMESPACE
\inqmlmodule Qt.labs.calendar
\brief A calendar model.
- CalendarModel provides a way of creating a range of CalendarView
+ CalendarModel provides a way of creating a range of MonthGrid
instances. It is typically used as a model for a ListView that uses
- CalendarView as a delegate.
+ MonthGrid as a delegate.
\snippet calendarmodel/qtlabscalendar-calendarmodel.qml 1
@@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE
\row \li \b model.year : int \li The number of the year
\endtable
- \sa CalendarView
+ \sa MonthGrid
*/
class QQuickCalendarModelPrivate : public QAbstractItemModelPrivate