Remove some spurious prefixes in declarations

The parameter-list of a method is already in its class's context, so
doesn't need it made explicit on the other class members involved.

Change-Id: I253b098ad1f2d2db80d49d8f484b7f95d14acec1
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
bb10
Edward Welbourne 2021-11-12 11:52:34 +01:00
parent 8dea25d501
commit 2bf5a60bfa
2 changed files with 4 additions and 4 deletions

View File

@ -2848,7 +2848,7 @@ static int systemTimeYearMatching(int year)
// Convert an MSecs Since Epoch into Local Time
bool QDateTimePrivate::epochMSecsToLocalTime(qint64 msecs, QDate *localDate, QTime *localTime,
QDateTimePrivate::DaylightStatus *daylightStatus)
DaylightStatus *daylightStatus)
{
if (!millisInSystemRange(msecs)) {
// Docs state any LocalTime after 2038-01-18 *will* have any DST applied.
@ -2891,7 +2891,7 @@ bool QDateTimePrivate::epochMSecsToLocalTime(qint64 msecs, QDate *localDate, QTi
// DST status into a UTC epoch msecs. Optionally populate the returned
// values from mktime for the adjusted local date and time.
qint64 QDateTimePrivate::localMSecsToEpochMSecs(qint64 localMsecs,
QDateTimePrivate::DaylightStatus *daylightStatus,
DaylightStatus *daylightStatus,
QDate *localDate, QTime *localTime,
QString *abbreviation)
{

View File

@ -124,9 +124,9 @@ public:
#endif // timezone
static bool epochMSecsToLocalTime(qint64 msecs, QDate *localDate, QTime *localTime,
QDateTimePrivate::DaylightStatus *daylightStatus = nullptr);
DaylightStatus *daylightStatus = nullptr);
static qint64 localMSecsToEpochMSecs(qint64 localMsecs,
QDateTimePrivate::DaylightStatus *daylightStatus,
DaylightStatus *daylightStatus,
QDate *localDate = nullptr, QTime *localTime = nullptr,
QString *abbreviation = nullptr);