[][src]Struct qt_qml::QQmlFile

#[repr(C)]pub struct QQmlFile { /* fields omitted */ }

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

Calls C++ function: static QString QQmlFile::urlToLocalFileOrQrc(const QUrl& arg1).

Trait Implementations

impl CppDeletable for QQmlFile[src]

unsafe fn delete(&self)[src]

Calls C++ function: [destructor] void QQmlFile::~QQmlFile().

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]

unsafe fn size(&self) -> usize[src]

Calls C++ function: qint64 QQmlFile::size() const.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.