[−][src]Struct qt_qml::QQmlFile
C++ class: QQmlFile
.
Methods
impl QQmlFile
[src]
pub unsafe fn clear_0a(&self)
[src]
Calls C++ function: void QQmlFile::clear()
.
pub unsafe fn clear_1a(&self, arg1: impl CastInto<Ptr<QObject>>)
[src]
Calls C++ function: void QQmlFile::clear(QObject* arg1)
.
pub unsafe fn connect_download_progress_q_object_char(
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: *const c_char
) -> bool
[src]
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: *const c_char
) -> bool
Calls C++ function: bool QQmlFile::connectDownloadProgress(QObject* arg1, const char* arg2)
.
pub unsafe fn connect_download_progress_q_object_int(
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: c_int
) -> bool
[src]
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: c_int
) -> bool
Calls C++ function: bool QQmlFile::connectDownloadProgress(QObject* arg1, int arg2)
.
pub unsafe fn connect_finished_q_object_char(
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: *const c_char
) -> bool
[src]
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: *const c_char
) -> bool
Calls C++ function: bool QQmlFile::connectFinished(QObject* arg1, const char* arg2)
.
pub unsafe fn connect_finished_q_object_int(
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: c_int
) -> bool
[src]
&self,
arg1: impl CastInto<Ptr<QObject>>,
arg2: c_int
) -> bool
Calls C++ function: bool QQmlFile::connectFinished(QObject* arg1, int arg2)
.
pub unsafe fn data(&self) -> *const c_char
[src]
Calls C++ function: const char* QQmlFile::data() const
.
pub unsafe fn data_byte_array(&self) -> CppBox<QByteArray>
[src]
Calls C++ function: QByteArray QQmlFile::dataByteArray() const
.
pub unsafe fn error(&self) -> CppBox<QString>
[src]
Calls C++ function: QString QQmlFile::error() const
.
pub unsafe fn is_error(&self) -> bool
[src]
Calls C++ function: bool QQmlFile::isError() const
.
pub unsafe fn is_loading(&self) -> bool
[src]
Calls C++ function: bool QQmlFile::isLoading() const
.
pub unsafe fn is_local_file_q_string(url: impl CastInto<Ref<QString>>) -> bool
[src]
Calls C++ function: static bool QQmlFile::isLocalFile(const QString& url)
.
pub unsafe fn is_local_file_q_url(url: impl CastInto<Ref<QUrl>>) -> bool
[src]
Calls C++ function: static bool QQmlFile::isLocalFile(const QUrl& url)
.
pub unsafe fn is_null(&self) -> bool
[src]
Calls C++ function: bool QQmlFile::isNull() const
.
pub unsafe fn is_ready(&self) -> bool
[src]
Calls C++ function: bool QQmlFile::isReady() const
.
pub unsafe fn is_synchronous_q_string(url: impl CastInto<Ref<QString>>) -> bool
[src]
Calls C++ function: static bool QQmlFile::isSynchronous(const QString& url)
.
pub unsafe fn is_synchronous_q_url(url: impl CastInto<Ref<QUrl>>) -> bool
[src]
Calls C++ function: static bool QQmlFile::isSynchronous(const QUrl& url)
.
pub unsafe fn load_q_qml_engine_q_url(
&self,
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QUrl>>
)
[src]
&self,
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QUrl>>
)
Calls C++ function: void QQmlFile::load(QQmlEngine* arg1, const QUrl& arg2)
.
pub unsafe fn load_q_qml_engine_q_string(
&self,
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QString>>
)
[src]
&self,
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QString>>
)
Calls C++ function: void QQmlFile::load(QQmlEngine* arg1, const QString& arg2)
.
pub unsafe fn new() -> CppBox<QQmlFile>
[src]
Calls C++ function: [constructor] void QQmlFile::QQmlFile()
.
pub unsafe fn from_q_qml_engine_q_url(
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QUrl>>
) -> CppBox<QQmlFile>
[src]
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QUrl>>
) -> CppBox<QQmlFile>
Calls C++ function: [constructor] void QQmlFile::QQmlFile(QQmlEngine* arg1, const QUrl& arg2)
.
pub unsafe fn from_q_qml_engine_q_string(
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QString>>
) -> CppBox<QQmlFile>
[src]
arg1: impl CastInto<Ptr<QQmlEngine>>,
arg2: impl CastInto<Ref<QString>>
) -> CppBox<QQmlFile>
Calls C++ function: [constructor] void QQmlFile::QQmlFile(QQmlEngine* arg1, const QString& arg2)
.
pub unsafe fn size(&self) -> i64
[src]
Calls C++ function: qint64 QQmlFile::size() const
.
pub unsafe fn status(&self) -> Status
[src]
Calls C++ function: QQmlFile::Status QQmlFile::status() const
.
pub unsafe fn url(&self) -> CppBox<QUrl>
[src]
Calls C++ function: QUrl QQmlFile::url() const
.
pub unsafe fn url_to_local_file_or_qrc_q_string(
arg1: impl CastInto<Ref<QString>>
) -> CppBox<QString>
[src]
arg1: impl CastInto<Ref<QString>>
) -> CppBox<QString>
Calls C++ function: static QString QQmlFile::urlToLocalFileOrQrc(const QString& arg1)
.
pub unsafe fn url_to_local_file_or_qrc_q_url(
arg1: impl CastInto<Ref<QUrl>>
) -> CppBox<QString>
[src]
arg1: impl CastInto<Ref<QUrl>>
) -> CppBox<QString>
Calls C++ function: static QString QQmlFile::urlToLocalFileOrQrc(const QUrl& arg1)
.
Trait Implementations
impl CppDeletable for QQmlFile
[src]
impl Data for QQmlFile
[src]
type Output = *const c_char
Return type of data()
function.
unsafe fn data(&self) -> *const c_char
[src]
Calls C++ function: const char* QQmlFile::data() const
.
impl Size for QQmlFile
[src]
Auto Trait Implementations
impl RefUnwindSafe for QQmlFile
impl Send for QQmlFile
impl Sync for QQmlFile
impl Unpin for QQmlFile
impl UnwindSafe for QQmlFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,