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 |
DerivedType | |
NotTypedef | |
enum { Val1, Val2, Val3, Val4 } |
|
|
QBindable<QString> | bindableProp() |
bool | boolProp() |
int * | getInt() |
void | invokeMe() const |
const QString * | name() const |
bool | secondBoolProp() |
const QString & | someProp() |
TestQDoc::TestDerived::NotTypedef | someValue() |
virtual int | id() override |
virtual void | virtualFun() override |
void | resetBoolProp() |
void | setBindableProp(const QString &s) |
void | setBoolProp(bool b) |
void | bindablePropChanged() |
void | boolPropChanged() |
void | emitSomething() |
[alias]
TestDerived::DerivedType(source)An aliased typedef.
[alias]
TestDerived::NotTypedef(source)I'm an alias, not a typedef.
[anonymous]
enum(source)Constant | Value |
---|---|
TestQDoc::TestDerived::Val1 | 0 |
TestQDoc::TestDerived::Val2 | 1 |
TestQDoc::TestDerived::Val3 | 0 |
TestQDoc::TestDerived::Val4 | 1 |
[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.
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 : const 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() |
[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.
Returns a value using an aliases type.
[override virtual]
void TestDerived::virtualFun()(source)Reimplements: Test::virtualFun().