TestClass Class | OverloadedEmptyTargets 1.0
Description: Test class for empty link target configuration.

- OverloadedEmptyTargets
- TestClass

# TestClass Class

Test class for empty link target configuration. More...

Header: | `#include <TestClass>`

- List of all members, including inherited members

## Public Functions

| TestClass(QObject *parent = nullptr)

## Public Slots

void | setValue(double value)
void | setValue(int value)

## Signals

void | valueChanged(double value)
void | valueChanged(int value)

## Detailed Description

This class tests that QDoc handles empty overloadedsignalstarget and overloadedslotstarget configuration values without crashing.

## Member Function Documentation

### `[explicit]` TestClass::TestClass(QObject *parent = nullptr)

Constructs a TestClass with the given parent.

### `[slot]` void TestClass::setValue(double value)

Sets the double value.

Note: This slot is overloaded. To connect to this slot:

    // Connect using qOverload:
    connect(sender, &SenderClass::signal,
            testClass, qOverload(&TestClass::setValue));

    // Or using a lambda as wrapper:
    connect(sender, &SenderClass::signal,
            testClass, [receiver = testClass](double value) { receiver->setValue(value); });

### `[slot]` void TestClass::setValue(int value)

Sets the integer value.

Note: This slot is overloaded. To connect to this slot:

    // Connect using qOverload:
    connect(sender, &SenderClass::signal,
            testClass, qOverload(&TestClass::setValue));

    // Or using a lambda as wrapper:
    connect(sender, &SenderClass::signal,
            testClass, [receiver = testClass](int value) { receiver->setValue(value); });

### `[signal]` void TestClass::valueChanged(double value)

Signal emitted when a double value changes.

Note: This signal is overloaded. To connect to this signal:

    // Connect using qOverload:
    connect(testClass, qOverload(&TestClass::valueChanged),
            receiver, &ReceiverClass::slot);

    // Or using a lambda:
    connect(testClass, qOverload(&TestClass::valueChanged),
            this, [](double value) { /* handle valueChanged */ });

### `[signal]` void TestClass::valueChanged(int value)

Signal emitted when an integer value changes.

Note: This signal is overloaded. To connect to this signal:

    // Connect using qOverload:
    connect(testClass, qOverload(&TestClass::valueChanged),
            receiver, &ReceiverClass::slot);

    // Or using a lambda:
    connect(testClass, qOverload(&TestClass::valueChanged),
            this, [](int value) { /* handle valueChanged */ });