pub fn parent(&self) -> Option<Object> {
        let (obj_data, funcs) = self.get_object_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).parent)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Object::new_from_rc(t);
            } else {
                ret_val = Object::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
///
/// Sets the value of the object's *name* property to *value.*
///
/// If the property is defined in the class using Q_PROPERTY then
/// true is returned on success and false otherwise. If the property
/// is not defined using Q_PROPERTY, and therefore not listed in the
/// meta-object, it is added as a dynamic property and false is returned.
///
/// Information about all available properties is provided through the
/// metaObject() and dynamicPropertyNames().
///
/// Dynamic properties can be queried again using property() and can be
/// removed by setting the property value to an invalid QVariant.
/// Changing the value of a dynamic property causes a QDynamicPropertyChangeEvent
/// to be sent to the object.
///
/// **Note:** Dynamic properties starting with are reserved for internal
/// purposes.
///
/// **See also:** [`property()`]
/// [`meta_object()`]
/// [`dynamic_property_names()`]
/// [`MetaProperty::write`]
///
/// Returns the value of the object's *name* property.
///
/// If no such property exists, the returned variant is invalid.
///
/// Information about all available properties is provided through the
/// metaObject() and dynamicPropertyNames().
///
/// **See also:** [`set_property()`]
/// [`Variant::is_valid`]
/// [`meta_object()`]
/// [`dynamic_property_names()`]
///
/// This signal is emitted after the object's name has been changed. The new object name is passed as *objectName.*
///
/// **See also:** [`Object::object_name()`]
///
/// Returns a pointer to the parent object.
///
/// **See also:** [`children()`]
Sets the value of the object's *name* property to *value.
If the property is defined in the class using Q_PROPERTY then
true is returned on success and false otherwise. If the property
is not defined using Q_PROPERTY, and therefore not listed in the
meta-object, it is added as a dynamic property and false is returned.

Information about all available properties is provided through the
metaObject() and dynamicPropertyNames().

Dynamic properties can be queried again using property() and can be
removed by setting the property value to an invalid QVariant.
Changing the value of a dynamic property causes a QDynamicPropertyChangeEvent
to be sent to the object.

Dynamic properties starting with are reserved for internal
purposes.



Returns the value of the object's *name* property.

If no such property exists, the returned variant is invalid.

Information about all available properties is provided through the
metaObject() and dynamicPropertyNames().



This signal is emitted after the object's name has been changed. The new object name is passed as *objectName.



Returns a pointer to the parent object.


Sets the value of the object ' s * name * property to * value . If the property is defined in the class using Q_PROPERTY then true is returned on success and false otherwise . If the property is not defined using Q_PROPERTY and therefore not listed in the meta - object it is added as a dynamic property and false is returned . Information about all available properties is provided through the metaObject () and dynamicPropertyNames () . Dynamic properties can be queried again using property () and can be removed by setting the property value to an invalid QVariant . Changing the value of a dynamic property causes a QDynamicPropertyChangeEvent to be sent to the object . Dynamic properties starting with are reserved for internal purposes . Returns the value of the object ' s * name * property . If no such property exists the returned variant is invalid . Information about all available properties is provided through the metaObject () and dynamicPropertyNames () . This signal is emitted after the object ' s name has been changed . The new object name is passed as * objectName . Returns a pointer to the parent object .
pub fn parent(&self) -> Option<Object> {
        let (obj_data, funcs) = self.get_object_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).parent)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Object::new_from_rc(t);
            } else {
                ret_val = Object::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn parent ( & self ) -> Option < Object > { let ( obj_data , funcs ) = self . get_object_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . parent ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Object :: new_from_rc ( t ) ; } else { ret_val = Object :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Sets the value of the object's *name* property to *value.
Sets the value of the object ' s * name * property to * value .
&self
&self