• C++ Classes
  • TestDerived
  • TestDerived Class

    class TestQDoc::TestDerived

    A derived class in a namespace. 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
    Instantiated By: TheType
    Inherits: TestQDoc::Test

    Public Types

    DerivedType
    NotTypedef

    Properties

    Public Functions

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

    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

    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.

    [override virtual] int TestDerived::id()

    Reimplements an access function for property: Test::id.

    [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().