TestQDoc::TestDerived Class

class TestQDoc::TestDerived

A class in a namespace, derived from Test. More...

Header: #include <TestDerived>
CMake: find_package(Qt6 REQUIRED COMPONENTS QDocTest)
target_link_libraries(mytarget PRIVATE Qt6::QDocTest)
qmake: QT += testcpp
Since: Qt 2.0
In QML: TheType
Inherits: TestQDoc::Test

Public Types

DerivedType
NotTypedef
enum { Val1, Val2, Val3, Val4 }

Properties

Public Functions

QBindable<QString> bindableProp()
bool boolProp()
int *getInt()
void invokeMe() const
const QString *name() const
bool secondBoolProp()
const QString &someProp()
TestQDoc::TestDerived::NotTypedef someValue()

Reimplemented Public Functions

virtual int id() override
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(source)

An aliased typedef.

[alias] TestDerived::NotTypedef(source)

I'm an alias, not a typedef.

[anonymous] enum(source)

ConstantValue
TestQDoc::TestDerived::Val10
TestQDoc::TestDerived::Val21
TestQDoc::TestDerived::Val30
TestQDoc::TestDerived::Val41

Property Documentation

[bindable] bindableProp : QString(source)

Note: This property supports QProperty bindings.

Some property.

Access functions:

QBindable<QString> bindableProp()
void setBindableProp(const QString &s)

Notifier signal:

void bindablePropChanged()

See also someProp.

boolProp : bool(source)

A boolean property.

Access functions:

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

Notifier signal:

void boolPropChanged()

[read-only] intProp : int* const(source)

An integer property.

Access functions:

int *getInt()

[read-only] name : const QString*(source)

This property holds a name.

Access functions:

const QString *name() const

[read-only] secondBoolProp : bool(source)

A property sharing a notifier signal with boolProp.

Access functions:

bool secondBoolProp()

Notifier signal:

void boolPropChanged()

[bindable read-only] someProp : QString(source)

Note: This property supports QProperty bindings.

Another property.

Access functions:

const QString &someProp()

Member Function Documentation

[private signal] void TestDerived::emitSomething()(source)

Emitted when things happen.

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

[override virtual] int TestDerived::id()(source)

[invokable] void TestDerived::invokeMe() const(source)

Something invokable.

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

TestQDoc::TestDerived::NotTypedef TestDerived::someValue()(source)

Returns a value using an aliases type.

[override virtual] void TestDerived::virtualFun()(source)

Reimplements: Test::virtualFun().