[][src]Struct qt_gui::QWhatsThisClickedEvent

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

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.

C++ class: QWhatsThisClickedEvent.

C++ documentation:

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.

Methods

impl QWhatsThisClickedEvent[src]

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QWhatsThisClickedEvent>>
) -> Ref<QWhatsThisClickedEvent>
[src]

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.

Calls C++ function: QWhatsThisClickedEvent& QWhatsThisClickedEvent::operator=(const QWhatsThisClickedEvent& other).

C++ documentation:

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.

pub unsafe fn href(&self) -> CppBox<QString>[src]

Returns the URL that was clicked by the user in the "What's This?" text.

Calls C++ function: QString QWhatsThisClickedEvent::href() const.

C++ documentation:

Returns the URL that was clicked by the user in the "What's This?" text.

pub unsafe fn new(
    href: impl CastInto<Ref<QString>>
) -> CppBox<QWhatsThisClickedEvent>
[src]

Constructs an event containing a URL specified by href when a link is clicked in a "What's This?" message.

Calls C++ function: [constructor] void QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString& href).

C++ documentation:

Constructs an event containing a URL specified by href when a link is clicked in a "What's This?" message.

See also href().

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QWhatsThisClickedEvent>>
) -> CppBox<QWhatsThisClickedEvent>
[src]

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.

Calls C++ function: [constructor] void QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QWhatsThisClickedEvent& other).

C++ documentation:

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.

Trait Implementations

impl CppDeletable for QWhatsThisClickedEvent[src]

unsafe fn delete(&self)[src]

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

impl Deref for QWhatsThisClickedEvent[src]

type Target = QEvent

The resulting type after dereferencing.

fn deref(&self) -> &QEvent[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QWhatsThisClickedEvent* ptr).

impl DynamicCast<QWhatsThisClickedEvent> for QEvent[src]

unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QWhatsThisClickedEvent>[src]

Calls C++ function: QWhatsThisClickedEvent* dynamic_cast<QWhatsThisClickedEvent*>(QEvent* ptr).

impl StaticDowncast<QWhatsThisClickedEvent> for QEvent[src]

unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QWhatsThisClickedEvent>[src]

Calls C++ function: QWhatsThisClickedEvent* static_cast<QWhatsThisClickedEvent*>(QEvent* ptr).

impl StaticUpcast<QEvent> for QWhatsThisClickedEvent[src]

unsafe fn static_upcast(ptr: Ptr<QWhatsThisClickedEvent>) -> Ptr<QEvent>[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QWhatsThisClickedEvent* ptr).

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.