• 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

    Public Types

    DerivedType
    NotTypedef

    Properties

    Public Functions

    QBindable<QString> bindableProp()
    bool boolProp()
    int *getInt()
    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()

    [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] void TestDerived::virtualFun()

    Reimplements: Test::virtualFun().