summaryrefslogtreecommitdiffstats
path: root/src/corelib/time
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-08-07 14:27:05 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-08-20 09:02:27 +0200
commit4c2fbe90eff567f141f2393cccd0de660bccbdbc (patch)
tree6855d389488a5cb64bd6608b11814653041fc2dc /src/corelib/time
parenta111dd26b1706d011a46ee3435ea025010eeab4e (diff)
Document QCalendarBackend::name()
Neglected previously. Pick-to: 5.15 Change-Id: I0acd9f77d1623a1fcd8766f734c350316401b3a9 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/time')
-rw-r--r--src/corelib/time/qcalendar.cpp9
1 files changed, 8 insertions, 1 deletions
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
@@ -203,8 +203,15 @@ QCalendar::System QCalendarBackend::calendarSystem() const
}
/*!
+ \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();