pub struct QDesktopServices { /* private fields */ }Expand description
C++ class: QDesktopServices.
Implementations§
Source§impl QDesktopServices
impl QDesktopServices
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QDesktopServices>>,
) -> Ref<QDesktopServices>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QDesktopServices>>, ) -> Ref<QDesktopServices>
Calls C++ function: QDesktopServices& QDesktopServices::operator=(const QDesktopServices& other).
Sourcepub unsafe fn new() -> CppBox<QDesktopServices>
pub unsafe fn new() -> CppBox<QDesktopServices>
Calls C++ function: [constructor] void QDesktopServices::QDesktopServices().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QDesktopServices>>,
) -> CppBox<QDesktopServices>
pub unsafe fn new_copy( other: impl CastInto<Ref<QDesktopServices>>, ) -> CppBox<QDesktopServices>
Calls C++ function: [constructor] void QDesktopServices::QDesktopServices(const QDesktopServices& other).
Sourcepub unsafe fn open_url(url: impl CastInto<Ref<QUrl>>) -> bool
pub unsafe fn open_url(url: impl CastInto<Ref<QUrl>>) -> bool
Calls C++ function: static bool QDesktopServices::openUrl(const QUrl& url).
Sourcepub unsafe fn set_url_handler(
scheme: impl CastInto<Ref<QString>>,
receiver: impl CastInto<Ptr<QObject>>,
method: *const c_char,
)
pub unsafe fn set_url_handler( scheme: impl CastInto<Ref<QString>>, receiver: impl CastInto<Ptr<QObject>>, method: *const c_char, )
Calls C++ function: static void QDesktopServices::setUrlHandler(const QString& scheme, QObject* receiver, const char* method).
Sourcepub unsafe fn unset_url_handler(scheme: impl CastInto<Ref<QString>>)
pub unsafe fn unset_url_handler(scheme: impl CastInto<Ref<QString>>)
Calls C++ function: static void QDesktopServices::unsetUrlHandler(const QString& scheme).
Trait Implementations§
Source§impl CppDeletable for QDesktopServices
impl CppDeletable for QDesktopServices
Auto Trait Implementations§
impl Freeze for QDesktopServices
impl RefUnwindSafe for QDesktopServices
impl Send for QDesktopServices
impl Sync for QDesktopServices
impl Unpin for QDesktopServices
impl UnsafeUnpin for QDesktopServices
impl UnwindSafe for QDesktopServices
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more