Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QUntypedPropertyBinding Class Reference

#include <qproperty.h>

+ Inheritance diagram for QUntypedPropertyBinding:
+ Collaboration diagram for QUntypedPropertyBinding:

Public Types

using BindingFunctionVTable = QtPrivate::BindingFunctionVTable
 

Public Member Functions

 QUntypedPropertyBinding ()
 Constructs a null QUntypedPropertyBinding.
 
 QUntypedPropertyBinding (QMetaType metaType, const BindingFunctionVTable *vtable, void *function, const QPropertyBindingSourceLocation &location)
 
template<typename Functor >
 QUntypedPropertyBinding (QMetaType metaType, Functor &&f, const QPropertyBindingSourceLocation &location)
 
 QUntypedPropertyBinding (QUntypedPropertyBinding &&other)
 Move-constructs a QUntypedPropertyBinding from other.
 
 QUntypedPropertyBinding (const QUntypedPropertyBinding &other)
 Copy-constructs a QUntypedPropertyBinding from other.
 
QUntypedPropertyBindingoperator= (const QUntypedPropertyBinding &other)
 Copy-assigns other to this QUntypedPropertyBinding.
 
QUntypedPropertyBindingoperator= (QUntypedPropertyBinding &&other)
 Move-assigns other to this QUntypedPropertyBinding.
 
 ~QUntypedPropertyBinding ()
 Destroys the QUntypedPropertyBinding.
 
bool isNull () const
 Returns true if the QUntypedPropertyBinding is null.
 
QPropertyBindingError error () const
 Returns the error state of the binding.
 
QMetaType valueMetaType () const
 Returns the meta-type of the binding.
 
 QUntypedPropertyBinding (QPropertyBindingPrivate *priv)
 

Friends

class QtPrivate::QPropertyBindingData
 
class QPropertyBindingPrivate
 
template<typename >
class QPropertyBinding
 

Detailed Description

Definition at line 158 of file qproperty.h.

Member Typedef Documentation

◆ BindingFunctionVTable

Constructor & Destructor Documentation

◆ QUntypedPropertyBinding() [1/6]

QUntypedPropertyBinding::QUntypedPropertyBinding ( )
default

Constructs a null QUntypedPropertyBinding.

See also
isNull()

◆ QUntypedPropertyBinding() [2/6]

QUntypedPropertyBinding::QUntypedPropertyBinding ( QMetaType metaType,
const BindingFunctionVTable * vtable,
void * function,
const QPropertyBindingSourceLocation & location )

Constructs QUntypedPropertyBinding. Assumes that metaType, function and vtable match. Unless a specialization of BindingFunctionVTable is used, this function should never be called directly.

Definition at line 371 of file qproperty.cpp.

◆ QUntypedPropertyBinding() [3/6]

template<typename Functor >
QUntypedPropertyBinding::QUntypedPropertyBinding ( QMetaType metaType,
Functor && f,
const QPropertyBindingSourceLocation & location )
inline

Definition at line 168 of file qproperty.h.

◆ QUntypedPropertyBinding() [4/6]

QUntypedPropertyBinding::QUntypedPropertyBinding ( QUntypedPropertyBinding && other)

Move-constructs a QUntypedPropertyBinding from other.

other is left in a null state.

See also
isNull()

Definition at line 385 of file qproperty.cpp.

◆ QUntypedPropertyBinding() [5/6]

QUntypedPropertyBinding::QUntypedPropertyBinding ( const QUntypedPropertyBinding & other)

Copy-constructs a QUntypedPropertyBinding from other.

Definition at line 393 of file qproperty.cpp.

◆ ~QUntypedPropertyBinding()

QUntypedPropertyBinding::~QUntypedPropertyBinding ( )

Destroys the QUntypedPropertyBinding.

Definition at line 430 of file qproperty.cpp.

◆ QUntypedPropertyBinding() [6/6]

QUntypedPropertyBinding::QUntypedPropertyBinding ( QPropertyBindingPrivate * priv)
explicit

Definition at line 422 of file qproperty.cpp.

Member Function Documentation

◆ error()

QPropertyBindingError QUntypedPropertyBinding::error ( ) const

Returns the error state of the binding.

See also
QPropertyBindingError

Definition at line 450 of file qproperty.cpp.

◆ isNull()

bool QUntypedPropertyBinding::isNull ( ) const

Returns true if the QUntypedPropertyBinding is null.

This is only true for default-constructed and moved-from instances.

See also
isNull()

Definition at line 440 of file qproperty.cpp.

◆ operator=() [1/2]

QUntypedPropertyBinding & QUntypedPropertyBinding::operator= ( const QUntypedPropertyBinding & other)

Copy-assigns other to this QUntypedPropertyBinding.

Definition at line 401 of file qproperty.cpp.

◆ operator=() [2/2]

QUntypedPropertyBinding & QUntypedPropertyBinding::operator= ( QUntypedPropertyBinding && other)

Move-assigns other to this QUntypedPropertyBinding.

other is left in a null state.

See also
isNull

Definition at line 413 of file qproperty.cpp.

◆ valueMetaType()

QMetaType QUntypedPropertyBinding::valueMetaType ( ) const

Returns the meta-type of the binding.

If the QUntypedPropertyBinding is null, an invalid QMetaType is returned.

Definition at line 461 of file qproperty.cpp.

Friends And Related Symbol Documentation

◆ QPropertyBinding

template<typename >
friend class QPropertyBinding
friend

Definition at line 188 of file qproperty.h.

◆ QPropertyBindingPrivate

friend class QPropertyBindingPrivate
friend

Definition at line 187 of file qproperty.h.

◆ QtPrivate::QPropertyBindingData

friend class QtPrivate::QPropertyBindingData
friend

Definition at line 186 of file qproperty.h.


The documentation for this class was generated from the following files: