From 4c2fbe90eff567f141f2393cccd0de660bccbdbc Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 7 Aug 2020 14:27:05 +0200 Subject: [PATCH] Document QCalendarBackend::name() Neglected previously. Pick-to: 5.15 Change-Id: I0acd9f77d1623a1fcd8766f734c350316401b3a9 Reviewed-by: Paul Wicking --- src/corelib/time/qcalendar.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/corelib/time/qcalendar.cpp b/src/corelib/time/qcalendar.cpp index 1f4eab3275..63f55f0a05 100644 --- a/src/corelib/time/qcalendar.cpp +++ b/src/corelib/time/qcalendar.cpp @@ -202,9 +202,16 @@ QCalendar::System QCalendarBackend::calendarSystem() const return QCalendar::System::User; } +/*! + \fn QString QCalendarBackend::name() const; + + This pure virtual method should be overloaded by each backend implementation + to return the name that the backend passes to the base-class as its name. +*/ + /*! The primary name of this calendar. - */ +*/ QString QCalendar::name() const { return d ? d->name() : QString();