TestDerived Class | TestCPP

- TestDerived

# TestDerived Class

class TestQDoc::TestDerived

A derived class in a namespace. More...

Header: | #include <TestDerived>
CMake: | find_package(Qt6 COMPONENTS QDocTest REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::QDocTest)
qmake: | QT += testcpp
Inherits: | TestQDoc::Test

- List of all members, including inherited members
- Obsolete members

## Public Types

| DerivedType
| NotTypedef

## Properties

bindableProp : QString boolProp : bool intProp : int* const | name : const QString* someProp : QString

## Public Functions

QBindable<QString> | bindableProp()
bool | boolProp()
int * | getInt()
void | invokeMe() const
const QString * | name() const
const QString & | someProp()

## Reimplemented Public Functions

virtual void | virtualFun() override

## Public Slots

void | resetBoolProp()
void | setBindableProp(const QString &s)
void | setBoolProp(bool b)

## Signals

void | bindablePropChanged()
void | boolPropChanged()
void | emitSomething()

## Detailed Description

## Member Type Documentation

### `[alias]` TestDerived::DerivedType

An aliased typedef.

### `[alias]` TestDerived::NotTypedef

I'm an alias, not a typedef.

## Property Documentation

### `[bindable]` bindableProp : QString

Note: This property supports QProperty bindings.

Some property.

### boolProp : bool

A boolean property.

Access functions:

bool | boolProp()
void | setBoolProp(bool b)
void | resetBoolProp()

Notifier signal:

void | boolPropChanged()

### `[read-only]` intProp : int* const

An integer property.

Access functions:

int * | getInt()

### `[read-only]` name : const QString*

This property holds a name.

Access functions:

const QString * | name() const

### `[bindable read-only]` someProp : QString

Note: This property supports QProperty bindings.

Another property.

## Member Function Documentation

### `[private signal]` void TestDerived::emitSomething()

Emitted when things happen.

Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.

### `[invokable]` void TestDerived::invokeMe() const

Something invokable.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

### `[override virtual]` void TestDerived::virtualFun()

Reimplements: Test::virtualFun().