Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_corelib_kernel_qproperty.cpp File Reference
#include <QObject>
#include <QDebug>
#include <QProperty>
#include "main.moc"
+ Include dependency graph for src_corelib_kernel_qproperty.cpp:

Go to the source code of this file.

Classes

class  MyClass
 [4] More...
 
class  CustomType
 [1] More...
 
class  Foo
 [4] More...
 
class  Client
 [4] More...
 
class  MyClassPrivate
 

Functions

 Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS (MyClass, CustomType xProp, CustomType(5, 10), &MyClass::xChanged) void usage_QBindable()
 [2]
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 96 of file src_corelib_kernel_qproperty.cpp.

◆ Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS()

Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS ( MyClass  ,
CustomType  xProp,
CustomType(5, 10)  ,
&MyClass::xChanged   
)

[2]

[3]

[3]

Definition at line 61 of file src_corelib_kernel_qproperty.cpp.

References MyClass::bindableX(), QUntypedBindable::hasBinding(), myObject, qDebug, QBindable< T >::setBinding(), and MyClass::x.

+ Here is the call graph for this function: