diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-08-07 14:27:05 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-08-20 09:38:23 +0000 |
commit | 916ba07f1d43bc77f3881114dc18f02f5ce7c5be (patch) | |
tree | b885932bdc4e0652736e4b24d50c75dd8d0f433a /src/corelib/time | |
parent | f382d58d08f36215803997778640e17e170eb1b0 (diff) |
Document QCalendarBackend::name()
Neglected previously.
Change-Id: I0acd9f77d1623a1fcd8766f734c350316401b3a9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 4c2fbe90eff567f141f2393cccd0de660bccbdbc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/time')
-rw-r--r-- | src/corelib/time/qcalendar.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/corelib/time/qcalendar.cpp b/src/corelib/time/qcalendar.cpp index 3c717a4b2e..c82806bb7b 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(); |