///
/// This signal is emitted when the final receiver of events tied to focus
/// is changed to *object.*
///
/// **See also:** [`focus_object()`]
///
/// Returns the QObject that will be the final receiver of events tied focus, such
/// as key events.
This signal is emitted when the final receiver of events tied to focus
is changed to *object.



Returns the QObject that will be the final receiver of events tied focus, such
as key events.
This signal is emitted when the final receiver of events tied to focus is changed to * object . Returns the QObject that will be the final receiver of events tied focus such as key events .
pub fn focus_object(&self) -> Option<Object> {
        let (obj_data, funcs) = self.get_window_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).focus_object)(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 focus_object ( & self ) -> Option < Object > { let ( obj_data , funcs ) = self . get_window_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . focus_object ) ( 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 ) } }
This signal is emitted when the final receiver of events tied to focus
is changed to *object.
This signal is emitted when the final receiver of events tied to focus is changed to * object .
&self