///
/// Creates and returns a CMYK QColor based on this color.
///
/// **See also:** [`from_cmyk()`]
/// [`convert_to()`]
/// [`is_valid()`]
/// {QColor#The CMYK Color Model}{The CMYK Color Model}
Creates and returns a CMYK QColor based on this color.
Creates and returns a CMYK QColor based on this color .
pub fn to_cmyk(&self) -> Color {
        let (obj_data, funcs) = self.get_color_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_cmyk)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Color::new_from_rc(t);
            } else {
                ret_val = Color::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn to_cmyk ( & self ) -> Color { let ( obj_data , funcs ) = self . get_color_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . to_cmyk ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Color :: new_from_rc ( t ) ; } else { ret_val = Color :: new_from_owned ( t ) ; } ret_val } }
Creates and returns a CMYK QColor based on this color.
Creates and returns a CMYK QColor based on this color .
&self