TestDerived Class
TestQDoc::TestDerived
TestCPP
TestCPP Reference Documentation
A derived class in a namespace.
This class was introduced in Qt 2.0.
Header
TestDerived
Since
Qt 2.0
CMake
find_package(Qt6 REQUIRED COMPONENTS QDocTest)
target_link_libraries(mytarget PRIVATE Qt6::QDocTest)
qmake
QT += testcpp
Inherited By
Instantiated By
qml-thetype.xml
Inherits
TestQDoc::Test
Detailed Description
Member Type Documentation
[alias] TestDerived::DerivedType
DerivedType
public
active
unspecified
An aliased typedef.
[alias] TestDerived::NotTypedef
NotTypedef
public
active
unspecified
I'm an alias, not a typedef.
Property Documentation
[bindable] bindableProp : QString
(Qt property)
QString
bindableProp
public
active
unspecified
bindableProp
setBindableProp
bindablePropChanged
This property supports QProperty bindings.
Some property.
boolProp : bool
(Qt property)
bool
boolProp
public
active
unspecified
boolProp
setBoolProp
resetBoolProp
boolPropChanged
A boolean property.
Access functions:
bool boolProp()
void setBoolProp(bool b)
void resetBoolProp()
Notifier signal:
void boolPropChanged()
[read-only] intProp : int* const
(Qt property)
int*
intProp
public
active
unspecified
getInt
An integer property.
Access functions:
int *getInt()
[read-only] name : const QString*
(Qt property)
const QString*
name
public
active
unspecified
name
This property holds a name.
Access functions:
const QString *name() const
[bindable read-only] someProp : QString
(Qt property)
QString
someProp
public
active
unspecified
someProp
This property supports QProperty bindings.
Another property.
Member Function Documentation
[private signal] void TestDerived::emitSomething()
emitSomething
signal
void emitSomething()
public
active
unspecified
Emitted when things happen.
This is a private signal. It can be used in signal connections but cannot be emitted by the user.
[override virtual] int TestDerived::id()
virtual
int
id
override
plain
int id() override
public
active
unspecified
Reimplements an access function for property: Test::id.
[invokable] void TestDerived::invokeMe() const
const
invokeMe
plain
void invokeMe() const
public
active
unspecified
Something invokable.
This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[override virtual] void TestDerived::virtualFun()
virtual
virtualFun
override
plain
void virtualFun() override
public
active
unspecified
Reimplements: Test::virtualFun().
Obsolete Members for TestDerived
The following members of class TestDerived are deprecated. We strongly advise against using them in new code.
Obsolete Member Function Documentation
[static] void TestDerived::staticObsoleteMember()
static
staticObsoleteMember
plain
void staticObsoleteMember()
public
deprecated
unspecified
This function is deprecated. We strongly advise against using it in new code.
Static obsolete method.