pub struct QFileOpenEvent { /* private fields */ }Expand description
C++ class: QFileOpenEvent.
Implementations§
Source§impl QFileOpenEvent
impl QFileOpenEvent
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QFileOpenEvent>>,
) -> Ref<QFileOpenEvent>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QFileOpenEvent>>, ) -> Ref<QFileOpenEvent>
Calls C++ function: QFileOpenEvent& QFileOpenEvent::operator=(const QFileOpenEvent& other).
Sourcepub unsafe fn file(&self) -> CppBox<QString>
pub unsafe fn file(&self) -> CppBox<QString>
Calls C++ function: QString QFileOpenEvent::file() const.
Sourcepub unsafe fn from_q_string(
file: impl CastInto<Ref<QString>>,
) -> CppBox<QFileOpenEvent>
pub unsafe fn from_q_string( file: impl CastInto<Ref<QString>>, ) -> CppBox<QFileOpenEvent>
Calls C++ function: [constructor] void QFileOpenEvent::QFileOpenEvent(const QString& file).
Sourcepub unsafe fn from_q_url(
url: impl CastInto<Ref<QUrl>>,
) -> CppBox<QFileOpenEvent>
pub unsafe fn from_q_url( url: impl CastInto<Ref<QUrl>>, ) -> CppBox<QFileOpenEvent>
Calls C++ function: [constructor] void QFileOpenEvent::QFileOpenEvent(const QUrl& url).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QFileOpenEvent>>,
) -> CppBox<QFileOpenEvent>
pub unsafe fn new_copy( other: impl CastInto<Ref<QFileOpenEvent>>, ) -> CppBox<QFileOpenEvent>
Calls C++ function: [constructor] void QFileOpenEvent::QFileOpenEvent(const QFileOpenEvent& other).
Methods from Deref<Target = QEvent>§
Sourcepub unsafe fn copy_from(&self, other: impl CastInto<Ref<QEvent>>) -> Ref<QEvent>
pub unsafe fn copy_from(&self, other: impl CastInto<Ref<QEvent>>) -> Ref<QEvent>
Calls C++ function: QEvent& QEvent::operator=(const QEvent& other).
Sourcepub unsafe fn is_accepted(&self) -> bool
pub unsafe fn is_accepted(&self) -> bool
Calls C++ function: bool QEvent::isAccepted() const.
Sourcepub unsafe fn set_accepted(&self, accepted: bool)
pub unsafe fn set_accepted(&self, accepted: bool)
Calls C++ function: void QEvent::setAccepted(bool accepted).
Sourcepub unsafe fn spontaneous(&self) -> bool
pub unsafe fn spontaneous(&self) -> bool
Calls C++ function: bool QEvent::spontaneous() const.
Trait Implementations§
Source§impl CppDeletable for QFileOpenEvent
impl CppDeletable for QFileOpenEvent
Source§impl Deref for QFileOpenEvent
impl Deref for QFileOpenEvent
Source§impl DynamicCast<QFileOpenEvent> for QEvent
impl DynamicCast<QFileOpenEvent> for QEvent
Source§unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QFileOpenEvent>
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QFileOpenEvent>
Calls C++ function: QFileOpenEvent* dynamic_cast<QFileOpenEvent*>(QEvent* ptr).
Source§impl StaticDowncast<QFileOpenEvent> for QEvent
impl StaticDowncast<QFileOpenEvent> for QEvent
Source§unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QFileOpenEvent>
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QFileOpenEvent>
Calls C++ function: QFileOpenEvent* static_cast<QFileOpenEvent*>(QEvent* ptr).
Source§impl StaticUpcast<QEvent> for QFileOpenEvent
impl StaticUpcast<QEvent> for QFileOpenEvent
Source§unsafe fn static_upcast(ptr: Ptr<QFileOpenEvent>) -> Ptr<QEvent>
unsafe fn static_upcast(ptr: Ptr<QFileOpenEvent>) -> Ptr<QEvent>
Calls C++ function: QEvent* static_cast<QEvent*>(QFileOpenEvent* ptr).