#![cfg_attr(feature = "ritual_rustdoc_nightly", feature(doc_cfg))]
//! C++ namespace: <span style='color: green;'>```QtQml```</span>
/// Calls C++ function: <span style='color: green;'>```QObject * (*FN_PTR)(QObject *) QtQml::qmlAttachedPropertiesFunction(QObject* arg1, const QMetaObject* arg2)```</span>.
#[inline(always)]
#[cfg_attr(
feature = "ritual_rustdoc_nightly",
doc(cfg(any(cpp_lib_version = "5.13.0", cpp_lib_version = "5.14.0")))
)]
#[cfg(any(
any(cpp_lib_version = "5.13.0", cpp_lib_version = "5.14.0"),
feature = "ritual_rustdoc"
))]
pub unsafe fn qml_attached_properties_function(
arg1: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
arg2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QMetaObject>>,
) -> ::std::option::Option<extern "C" fn(*mut ::qt_core::QObject) -> *mut ::qt_core::QObject> {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlAttachedPropertiesFunction(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg1).as_raw_ptr()
as *mut ::qt_core::QObject,
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QMetaObject>>::cast_into(arg2)
.as_raw_ptr(),
)
}
/// Calls C++ function: <span style='color: green;'>```QObject* QtQml::qmlAttachedPropertiesObject(int* arg1, const QObject* arg2, const QMetaObject* arg3, bool create)```</span>.
#[inline(always)]
pub unsafe fn qml_attached_properties_object_4a(
arg1: *mut ::std::os::raw::c_int,
arg2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
arg3: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QMetaObject>>,
create: bool,
) -> ::qt_core::QPtr<::qt_core::QObject> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlAttachedPropertiesObject(
arg1,
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg2)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QMetaObject>>::cast_into(arg3)
.as_raw_ptr(),
create,
)
};
::qt_core::QPtr::from_raw(ffi_result)
}
/// Calls C++ function: <span style='color: green;'>```QObject* QtQml::qmlAttachedPropertiesObject(QObject* arg1, QObject * (*FN_PTR)(QObject *) func, bool create = …)```</span>.
#[inline(always)]
#[cfg_attr(
feature = "ritual_rustdoc_nightly",
doc(cfg(any(cpp_lib_version = "5.13.0", cpp_lib_version = "5.14.0")))
)]
#[cfg(any(
any(cpp_lib_version = "5.13.0", cpp_lib_version = "5.14.0"),
feature = "ritual_rustdoc"
))]
pub unsafe fn qml_attached_properties_object_3a(
arg1: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
func: ::std::option::Option<extern "C" fn(*mut ::qt_core::QObject) -> *mut ::qt_core::QObject>,
create: bool,
) -> ::qt_core::QPtr<::qt_core::QObject> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlAttachedPropertiesObject1(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg1)
.as_raw_ptr() as *mut ::qt_core::QObject,
func,
create,
)
};
::qt_core::QPtr::from_raw(ffi_result)
}
/// Calls C++ function: <span style='color: green;'>```QObject* QtQml::qmlAttachedPropertiesObject(QObject* arg1, QObject * (*FN_PTR)(QObject *) func)```</span>.
#[inline(always)]
#[cfg_attr(
feature = "ritual_rustdoc_nightly",
doc(cfg(any(cpp_lib_version = "5.13.0", cpp_lib_version = "5.14.0")))
)]
#[cfg(any(
any(cpp_lib_version = "5.13.0", cpp_lib_version = "5.14.0"),
feature = "ritual_rustdoc"
))]
pub unsafe fn qml_attached_properties_object_2a(
arg1: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
func: ::std::option::Option<extern "C" fn(*mut ::qt_core::QObject) -> *mut ::qt_core::QObject>,
) -> ::qt_core::QPtr<::qt_core::QObject> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlAttachedPropertiesObject2(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg1)
.as_raw_ptr() as *mut ::qt_core::QObject,
func,
)
};
::qt_core::QPtr::from_raw(ffi_result)
}
/// Calls C++ function: <span style='color: green;'>```QObject* QtQml::qmlAttachedPropertiesObjectById(int arg1, const QObject* arg2, bool create = …)```</span>.
#[inline(always)]
pub unsafe fn qml_attached_properties_object_by_id_3a(
arg1: ::std::os::raw::c_int,
arg2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
create: bool,
) -> ::qt_core::QPtr<::qt_core::QObject> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlAttachedPropertiesObjectById(
arg1,
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg2)
.as_raw_ptr(),
create,
)
};
::qt_core::QPtr::from_raw(ffi_result)
}
/// Calls C++ function: <span style='color: green;'>```QObject* QtQml::qmlAttachedPropertiesObjectById(int arg1, const QObject* arg2)```</span>.
#[inline(always)]
pub unsafe fn qml_attached_properties_object_by_id_2a(
arg1: ::std::os::raw::c_int,
arg2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
) -> ::qt_core::QPtr<::qt_core::QObject> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlAttachedPropertiesObjectById1(
arg1,
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg2)
.as_raw_ptr(),
)
};
::qt_core::QPtr::from_raw(ffi_result)
}
/// Calls C++ function: <span style='color: green;'>```QQmlContext* QtQml::qmlContext(const QObject* arg1)```</span>.
#[inline(always)]
pub unsafe fn qml_context(
arg1: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
) -> ::qt_core::QPtr<crate::QQmlContext> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlContext(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg1)
.as_raw_ptr(),
)
};
::qt_core::QPtr::from_raw(ffi_result)
}
/// <p>Prints debug messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlDebug(const QObject* me)```</span>.
///
/// <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">C++ documentation</a>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints debug messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead. For example,</p>
/// <pre class="cpp">
///
/// qmlDebug(object) <span class="operator"><</span><span class="operator"><</span> <span class="string">"Internal state: 42"</span>;
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): Internal state: 42
///
/// </pre>
/// <p>This function was introduced in Qt 5.9.</p>
/// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">QtQml::qmlInfo</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">QtQml::qmlWarning</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_debug_q_object(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlDebug(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// <p>Prints debug messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlDebug(const QObject* me, const QQmlError& error)```</span>.
///
/// Warning: no exact match found in C++ documentation. Below is the <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">C++ documentation</a> for <span style='color: green;'>```QQmlInfo QtQml::qmlDebug(const QObject *object)```</span>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints debug messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead. For example,</p>
/// <pre class="cpp">
///
/// qmlDebug(object) <span class="operator"><</span><span class="operator"><</span> <span class="string">"Internal state: 42"</span>;
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): Internal state: 42
///
/// </pre>
/// <p>This function was introduced in Qt 5.9.</p>
/// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">QtQml::qmlInfo</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">QtQml::qmlWarning</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_debug_q_object_q_qml_error(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
error: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::QQmlError>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlDebug1(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::QQmlError>>::cast_into(error)
.as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// <p>Prints debug messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlDebug(const QObject* me, const QList<QQmlError>& errors)```</span>.
///
/// Warning: no exact match found in C++ documentation. Below is the <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">C++ documentation</a> for <span style='color: green;'>```QQmlInfo QtQml::qmlDebug(const QObject *object)```</span>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints debug messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead. For example,</p>
/// <pre class="cpp">
///
/// qmlDebug(object) <span class="operator"><</span><span class="operator"><</span> <span class="string">"Internal state: 42"</span>;
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): Internal state: 42
///
/// </pre>
/// <p>This function was introduced in Qt 5.9.</p>
/// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">QtQml::qmlInfo</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">QtQml::qmlWarning</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_debug_q_object_q_list_of_q_qml_error(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
errors: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::QListOfQQmlError>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlDebug2(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::QListOfQQmlError>>::cast_into(errors)
.as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// Calls C++ function: <span style='color: green;'>```QQmlEngine* QtQml::qmlEngine(const QObject* arg1)```</span>.
#[inline(always)]
pub unsafe fn qml_engine(
arg1: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
) -> ::qt_core::QPtr<crate::QQmlEngine> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlEngine(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg1)
.as_raw_ptr(),
)
};
::qt_core::QPtr::from_raw(ffi_result)
}
/// Calls C++ function: <span style='color: green;'>```void QtQml::qmlExecuteDeferred(QObject* arg1)```</span>.
#[inline(always)]
pub unsafe fn qml_execute_deferred(
arg1: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
) {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlExecuteDeferred(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(arg1).as_raw_ptr()
as *mut ::qt_core::QObject,
)
}
/// <p>Prints informational messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlInfo(const QObject* me)```</span>.
///
/// <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">C++ documentation</a>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints informational messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead.</p>
/// <p>For example,</p>
/// <pre class="cpp">
///
/// qmlInfo(object) <span class="operator"><</span><span class="operator"><</span> tr(<span class="string">"component property is a write-once property"</span>);
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): component property is a write-once property
///
/// </pre>
/// <p><b>Note: </b>In versions prior to Qt 5.9, qmlInfo reported messages using a warning <a href="http://doc.qt.io/qt-5/qtglobal.html#QtMsgType-enum">QtMsgType</a>. For Qt 5.9 and above, qmlInfo uses an info <a href="http://doc.qt.io/qt-5/qtglobal.html#QtMsgType-enum">QtMsgType</a>. To send warnings, use <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">qmlWarning</a>.</p><p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">QtQml::qmlDebug</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">QtQml::qmlWarning</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_info_q_object(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlInfo(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// <p>Prints informational messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlInfo(const QObject* me, const QQmlError& error)```</span>.
///
/// Warning: no exact match found in C++ documentation. Below is the <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">C++ documentation</a> for <span style='color: green;'>```QQmlInfo QtQml::qmlInfo(const QObject *object)```</span>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints informational messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead.</p>
/// <p>For example,</p>
/// <pre class="cpp">
///
/// qmlInfo(object) <span class="operator"><</span><span class="operator"><</span> tr(<span class="string">"component property is a write-once property"</span>);
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): component property is a write-once property
///
/// </pre>
/// <p><b>Note: </b>In versions prior to Qt 5.9, qmlInfo reported messages using a warning <a href="http://doc.qt.io/qt-5/qtglobal.html#QtMsgType-enum">QtMsgType</a>. For Qt 5.9 and above, qmlInfo uses an info <a href="http://doc.qt.io/qt-5/qtglobal.html#QtMsgType-enum">QtMsgType</a>. To send warnings, use <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">qmlWarning</a>.</p><p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">QtQml::qmlDebug</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">QtQml::qmlWarning</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_info_q_object_q_qml_error(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
error: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::QQmlError>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlInfo1(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::QQmlError>>::cast_into(error)
.as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// <p>Prints informational messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlInfo(const QObject* me, const QList<QQmlError>& errors)```</span>.
///
/// Warning: no exact match found in C++ documentation. Below is the <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">C++ documentation</a> for <span style='color: green;'>```QQmlInfo QtQml::qmlInfo(const QObject *object)```</span>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints informational messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead.</p>
/// <p>For example,</p>
/// <pre class="cpp">
///
/// qmlInfo(object) <span class="operator"><</span><span class="operator"><</span> tr(<span class="string">"component property is a write-once property"</span>);
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): component property is a write-once property
///
/// </pre>
/// <p><b>Note: </b>In versions prior to Qt 5.9, qmlInfo reported messages using a warning <a href="http://doc.qt.io/qt-5/qtglobal.html#QtMsgType-enum">QtMsgType</a>. For Qt 5.9 and above, qmlInfo uses an info <a href="http://doc.qt.io/qt-5/qtglobal.html#QtMsgType-enum">QtMsgType</a>. To send warnings, use <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">qmlWarning</a>.</p><p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">QtQml::qmlDebug</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">QtQml::qmlWarning</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_info_q_object_q_list_of_q_qml_error(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
errors: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::QListOfQQmlError>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlInfo2(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::QListOfQQmlError>>::cast_into(errors)
.as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// <p>Prints warning messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlWarning(const QObject* me)```</span>.
///
/// <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">C++ documentation</a>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints warning messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead.</p>
/// <p>For example,</p>
/// <pre class="cpp">
///
/// qmlInfo(object) <span class="operator"><</span><span class="operator"><</span> tr(<span class="string">"property cannot be set to 0"</span>);
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): property cannot be set to 0
///
/// </pre>
/// <p>This function was introduced in Qt 5.9.</p>
/// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">QtQml::qmlDebug</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">QtQml::qmlInfo</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_warning_q_object(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlWarning(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// <p>Prints warning messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlWarning(const QObject* me, const QQmlError& error)```</span>.
///
/// Warning: no exact match found in C++ documentation. Below is the <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">C++ documentation</a> for <span style='color: green;'>```QQmlInfo QtQml::qmlWarning(const QObject *object)```</span>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints warning messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead.</p>
/// <p>For example,</p>
/// <pre class="cpp">
///
/// qmlInfo(object) <span class="operator"><</span><span class="operator"><</span> tr(<span class="string">"property cannot be set to 0"</span>);
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): property cannot be set to 0
///
/// </pre>
/// <p>This function was introduced in Qt 5.9.</p>
/// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">QtQml::qmlDebug</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">QtQml::qmlInfo</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_warning_q_object_q_qml_error(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
error: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::QQmlError>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlWarning1(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::QQmlError>>::cast_into(error)
.as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
/// <p>Prints warning messages that include the file and line number for the specified QML <i>object</i>.</p>
///
/// Calls C++ function: <span style='color: green;'>```QQmlInfo QtQml::qmlWarning(const QObject* me, const QList<QQmlError>& errors)```</span>.
///
/// Warning: no exact match found in C++ documentation. Below is the <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlWarning">C++ documentation</a> for <span style='color: green;'>```QQmlInfo QtQml::qmlWarning(const QObject *object)```</span>:<div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Prints warning messages that include the file and line number for the specified QML <i>object</i>.</p>
/// <p>When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.</p>
/// <p>To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead.</p>
/// <p>For example,</p>
/// <pre class="cpp">
///
/// qmlInfo(object) <span class="operator"><</span><span class="operator"><</span> tr(<span class="string">"property cannot be set to 0"</span>);
///
/// </pre>
/// <p>prints</p>
/// <pre class="cpp plain">
///
/// QML MyCustomType (unknown location): property cannot be set to 0
///
/// </pre>
/// <p>This function was introduced in Qt 5.9.</p>
/// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlDebug">QtQml::qmlDebug</a> and <a href="http://doc.qt.io/qt-5/qqmlengine.html#qmlInfo">QtQml::qmlInfo</a>.</p></div>
#[inline(always)]
pub unsafe fn qml_warning_q_object_q_list_of_q_qml_error(
me: impl ::cpp_core::CastInto<::cpp_core::Ptr<::qt_core::QObject>>,
errors: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::QListOfQQmlError>>,
) -> ::cpp_core::CppBox<crate::QQmlInfo> {
let ffi_result = {
crate::__ffi::ctr_qt_qml_ffi_QtQml_qmlWarning2(
::cpp_core::CastInto::<::cpp_core::Ptr<::qt_core::QObject>>::cast_into(me).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::QListOfQQmlError>>::cast_into(errors)
.as_raw_ptr(),
)
};
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}