KLayout Manual: Main Index » Class Index » API reference - Class QMetaProperty

API reference - Class QMetaProperty

Notation used in Ruby API documentation

Description: Binding of QMetaProperty

Public constructors

new QMetaPropertynewConstructor QMetaProperty::QMetaProperty()

Public methods

[const]voidassign(const QMetaProperty other)Assign the contents of another object to self
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QMetaPropertydupCreates a copy of self
[const]const QMetaObject ptrenclosingMetaObjectMethod const QMetaObject * QMetaProperty::enclosingMetaObject()
[const]QMetaEnumenumeratorMethod QMetaEnum QMetaProperty::enumerator()
[const]boolhasNotifySignalMethod bool QMetaProperty::hasNotifySignal()
[const]boolhasStdCppSetMethod bool QMetaProperty::hasStdCppSet()
[const]boolisConstantMethod bool QMetaProperty::isConstant()
[const]boolisConstant?Method bool QMetaProperty::isConstant()
[const]boolisDesignableMethod bool QMetaProperty::isDesignable(const QObject *obj)
[const]boolisDesignable(const QObject ptr obj)Method bool QMetaProperty::isDesignable(const QObject *obj)
[const]boolisDesignable?Method bool QMetaProperty::isDesignable(const QObject *obj)
[const]boolisDesignable?(const QObject ptr obj)Method bool QMetaProperty::isDesignable(const QObject *obj)
[const]boolisEditableMethod bool QMetaProperty::isEditable(const QObject *obj)
[const]boolisEditable(const QObject ptr obj)Method bool QMetaProperty::isEditable(const QObject *obj)
[const]boolisEditable?Method bool QMetaProperty::isEditable(const QObject *obj)
[const]boolisEditable?(const QObject ptr obj)Method bool QMetaProperty::isEditable(const QObject *obj)
[const]boolisEnumTypeMethod bool QMetaProperty::isEnumType()
[const]boolisEnumType?Method bool QMetaProperty::isEnumType()
[const]boolisFinalMethod bool QMetaProperty::isFinal()
[const]boolisFinal?Method bool QMetaProperty::isFinal()
[const]boolisFlagTypeMethod bool QMetaProperty::isFlagType()
[const]boolisFlagType?Method bool QMetaProperty::isFlagType()
[const]boolisReadableMethod bool QMetaProperty::isReadable()
[const]boolisReadable?Method bool QMetaProperty::isReadable()
[const]boolisResettableMethod bool QMetaProperty::isResettable()
[const]boolisResettable?Method bool QMetaProperty::isResettable()
[const]boolisScriptableMethod bool QMetaProperty::isScriptable(const QObject *obj)
[const]boolisScriptable(const QObject ptr obj)Method bool QMetaProperty::isScriptable(const QObject *obj)
[const]boolisScriptable?Method bool QMetaProperty::isScriptable(const QObject *obj)
[const]boolisScriptable?(const QObject ptr obj)Method bool QMetaProperty::isScriptable(const QObject *obj)
[const]boolisStoredMethod bool QMetaProperty::isStored(const QObject *obj)
[const]boolisStored(const QObject ptr obj)Method bool QMetaProperty::isStored(const QObject *obj)
[const]boolisStored?Method bool QMetaProperty::isStored(const QObject *obj)
[const]boolisStored?(const QObject ptr obj)Method bool QMetaProperty::isStored(const QObject *obj)
[const]boolisUserMethod bool QMetaProperty::isUser(const QObject *obj)
[const]boolisUser(const QObject ptr obj)Method bool QMetaProperty::isUser(const QObject *obj)
[const]boolisUser?Method bool QMetaProperty::isUser(const QObject *obj)
[const]boolisUser?(const QObject ptr obj)Method bool QMetaProperty::isUser(const QObject *obj)
[const]boolisValidMethod bool QMetaProperty::isValid()
[const]boolisValid?Method bool QMetaProperty::isValid()
[const]boolisWritableMethod bool QMetaProperty::isWritable()
[const]boolisWritable?Method bool QMetaProperty::isWritable()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]stringnameMethod const char * QMetaProperty::name()
[const]QMetaMethodnotifySignalMethod QMetaMethod QMetaProperty::notifySignal()
[const]intnotifySignalIndexMethod int QMetaProperty::notifySignalIndex()
[const]intpropertyIndexMethod int QMetaProperty::propertyIndex()
[const]QVariantread(const QObject ptr obj)Method QVariant QMetaProperty::read(const QObject *obj)
[const]boolreset(QObject ptr obj)Method bool QMetaProperty::reset(QObject *obj)
[const]QVariant_TypetypeMethod QVariant::Type QMetaProperty::type()
[const]stringtypeNameMethod const char * QMetaProperty::typeName()
[const]intuserTypeMethod int QMetaProperty::userType()
[const]boolwrite(QObject ptr obj,
const QVariant value)
Method bool QMetaProperty::write(QObject *obj, const QVariant &value)

Detailed description

[const] void assign(const QMetaProperty other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] QMetaProperty dup

Description: Creates a copy of self

[const] const QMetaObject ptr enclosingMetaObject

Description: Method const QMetaObject * QMetaProperty::enclosingMetaObject()

[const] QMetaEnum enumerator

Description: Method QMetaEnum QMetaProperty::enumerator()

[const] bool hasNotifySignal

Description: Method bool QMetaProperty::hasNotifySignal()

[const] bool hasStdCppSet

Description: Method bool QMetaProperty::hasStdCppSet()

[const] bool isConstant

Description: Method bool QMetaProperty::isConstant()

[const] bool isConstant?

Description: Method bool QMetaProperty::isConstant()

[const] bool isDesignable

Description: Method bool QMetaProperty::isDesignable(const QObject *obj)

[const] bool isDesignable(const QObject ptr obj)

Description: Method bool QMetaProperty::isDesignable(const QObject *obj)

[const] bool isDesignable?

Description: Method bool QMetaProperty::isDesignable(const QObject *obj)

[const] bool isDesignable?(const QObject ptr obj)

Description: Method bool QMetaProperty::isDesignable(const QObject *obj)

[const] bool isEditable

Description: Method bool QMetaProperty::isEditable(const QObject *obj)

[const] bool isEditable(const QObject ptr obj)

Description: Method bool QMetaProperty::isEditable(const QObject *obj)

[const] bool isEditable?

Description: Method bool QMetaProperty::isEditable(const QObject *obj)

[const] bool isEditable?(const QObject ptr obj)

Description: Method bool QMetaProperty::isEditable(const QObject *obj)

[const] bool isEnumType

Description: Method bool QMetaProperty::isEnumType()

[const] bool isEnumType?

Description: Method bool QMetaProperty::isEnumType()

[const] bool isFinal

Description: Method bool QMetaProperty::isFinal()

[const] bool isFinal?

Description: Method bool QMetaProperty::isFinal()

[const] bool isFlagType

Description: Method bool QMetaProperty::isFlagType()

[const] bool isFlagType?

Description: Method bool QMetaProperty::isFlagType()

[const] bool isReadable

Description: Method bool QMetaProperty::isReadable()

[const] bool isReadable?

Description: Method bool QMetaProperty::isReadable()

[const] bool isResettable

Description: Method bool QMetaProperty::isResettable()

[const] bool isResettable?

Description: Method bool QMetaProperty::isResettable()

[const] bool isScriptable

Description: Method bool QMetaProperty::isScriptable(const QObject *obj)

[const] bool isScriptable(const QObject ptr obj)

Description: Method bool QMetaProperty::isScriptable(const QObject *obj)

[const] bool isScriptable?

Description: Method bool QMetaProperty::isScriptable(const QObject *obj)

[const] bool isScriptable?(const QObject ptr obj)

Description: Method bool QMetaProperty::isScriptable(const QObject *obj)

[const] bool isStored

Description: Method bool QMetaProperty::isStored(const QObject *obj)

[const] bool isStored(const QObject ptr obj)

Description: Method bool QMetaProperty::isStored(const QObject *obj)

[const] bool isStored?

Description: Method bool QMetaProperty::isStored(const QObject *obj)

[const] bool isStored?(const QObject ptr obj)

Description: Method bool QMetaProperty::isStored(const QObject *obj)

[const] bool isUser

Description: Method bool QMetaProperty::isUser(const QObject *obj)

[const] bool isUser(const QObject ptr obj)

Description: Method bool QMetaProperty::isUser(const QObject *obj)

[const] bool isUser?

Description: Method bool QMetaProperty::isUser(const QObject *obj)

[const] bool isUser?(const QObject ptr obj)

Description: Method bool QMetaProperty::isUser(const QObject *obj)

[const] bool isValid

Description: Method bool QMetaProperty::isValid()

[const] bool isValid?

Description: Method bool QMetaProperty::isValid()

[const] bool isWritable

Description: Method bool QMetaProperty::isWritable()

[const] bool isWritable?

Description: Method bool QMetaProperty::isWritable()

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] string name

Description: Method const char * QMetaProperty::name()

[static] new QMetaProperty new

Description: Constructor QMetaProperty::QMetaProperty()

This method creates an object of class QMetaProperty.

[const] QMetaMethod notifySignal

Description: Method QMetaMethod QMetaProperty::notifySignal()

[const] int notifySignalIndex

Description: Method int QMetaProperty::notifySignalIndex()

[const] int propertyIndex

Description: Method int QMetaProperty::propertyIndex()

[const] QVariant read(const QObject ptr obj)

Description: Method QVariant QMetaProperty::read(const QObject *obj)

[const] bool reset(QObject ptr obj)

Description: Method bool QMetaProperty::reset(QObject *obj)

[const] QVariant_Type type

Description: Method QVariant::Type QMetaProperty::type()

[const] string typeName

Description: Method const char * QMetaProperty::typeName()

[const] int userType

Description: Method int QMetaProperty::userType()

[const] bool write(QObject ptr obj,const QVariant value)

Description: Method bool QMetaProperty::write(QObject *obj, const QVariant &value)