TestDate Class | Qt
Description: Test class simulating QDate.

# TestDate Class

Test class simulating QDate. More...

Header: | `#include <TestDate>`

- List of all members, including inherited members

## Public Functions

void | toString() const
void | toString(const char *formatString) const
void | toString(int format) const

## Detailed Description

This class tests whether QDoc incorrectly reports "Multiple primary overloads" when different classes have methods with the same name, using shared comment nodes.

## Member Function Documentation

### void TestDate::toString() const

### void TestDate::toString(int format) const

Returns the date as a string. The format parameter determines the format of the result string.

This uses shared comment nodes (multiple \fn commands) just like Eddy's qtbase change, which triggers the bug.

### void TestDate::toString(const char *formatString) const

Returns the date as a string using the specified formatString.

This function overloads TestDate::toString().