Type QML Type

A QML type documented in a .cpp file. More...

Import Statement: import QDoc.Test 1.1
Since: Qt 1.1
In C++: Test
Status: <Work In Progress>

Properties

Attached Properties

Signals

Attached Signals

Methods

Detailed Description

Test links to a property and a attached property with the same name.

Property Documentation

duplicate : int

A read-only property with a corresponding attached property.

This is shadowed by the attached duplicate property.

fifth : int

fourth : int

A group of properties sharing a documentation comment.

group group

group.first : int

group.second : int

group.third : int

A property group.

id : int [read-only]

A read-only property.

name : string [required]

Name of the Test.

Attached Property Documentation

Type.duplicate : int

A read-only, attached property with a corresponding property.

This shadows the regular duplicate property.

Type.type : enumeration [default: Type.NoType]

ConstantDescription
Type.NoTypeNothing
Type.SomeTypeSomething

Signal Documentation

completed(int status)

This signal is emitted when the operation completed with status.

Note: The corresponding handler is onCompleted.

group.created()

This signal is prefixed with group.

Note: The corresponding handler is group.onCreated.

Attached Signal Documentation

configured()

This attached signal is emitted when the type was configured.

Note: The corresponding handler is onConfigured.

Method Documentation

void configureWithType(Type::SomeType typeParam)

Configures the type using typeParam. This tests enum parameter linking using C++ namespace notation.

See also type.

Type copy(a)

Returns another Type based on a.

enable()

disable()

Enables or disables this type.

[until 6.3] futureDeprecated()

This method is scheduled for deprecation in version 6.3.

Use something else instead.

This is a method that's marked for deprecation in a future version.

void setType(Type.SomeType newType)

Sets the type to newType. This tests enum parameter linking using dot notation.

See also type.