Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
WebImageButton::Callbacks Class Reference

#include <qwasmwindownonclientarea.h>

+ Collaboration diagram for WebImageButton::Callbacks:

Public Member Functions

 Callbacks ()
 
 Callbacks (std::function< void()> onInteraction, std::function< void()> onClick)
 
 ~Callbacks ()
 
 Callbacks (const Callbacks &)=delete
 
 Callbacks (Callbacks &&)
 
Callbacksoperator= (const Callbacks &)=delete
 
Callbacksoperator= (Callbacks &&)
 
 operator bool () const
 
void onInteraction ()
 
void onClick ()
 

Detailed Description

Definition at line 51 of file qwasmwindownonclientarea.h.

Constructor & Destructor Documentation

◆ Callbacks() [1/4]

QT_BEGIN_NAMESPACE WebImageButton::Callbacks::Callbacks ( )
default

◆ Callbacks() [2/4]

WebImageButton::Callbacks::Callbacks ( std::function< void()> onInteraction,
std::function< void()> onClick )

Definition at line 18 of file qwasmwindownonclientarea.cpp.

References Q_ASSERT_X, and Q_FUNC_INFO.

◆ ~Callbacks()

WebImageButton::Callbacks::~Callbacks ( )
default

◆ Callbacks() [3/4]

WebImageButton::Callbacks::Callbacks ( const Callbacks & )
delete

◆ Callbacks() [4/4]

WebImageButton::Callbacks::Callbacks ( Callbacks && )
default

Member Function Documentation

◆ onClick()

void WebImageButton::Callbacks::onClick ( )

Definition at line 35 of file qwasmwindownonclientarea.cpp.

Referenced by WebImageButton::setCallbacks().

+ Here is the caller graph for this function:

◆ onInteraction()

void WebImageButton::Callbacks::onInteraction ( )

Definition at line 30 of file qwasmwindownonclientarea.cpp.

Referenced by WebImageButton::setCallbacks().

+ Here is the caller graph for this function:

◆ operator bool()

WebImageButton::Callbacks::operator bool ( ) const
inline

Definition at line 63 of file qwasmwindownonclientarea.h.

◆ operator=() [1/2]

WebImageButton::Callbacks & WebImageButton::Callbacks::operator= ( Callbacks && )
default

◆ operator=() [2/2]

Callbacks & WebImageButton::Callbacks::operator= ( const Callbacks & )
delete

The documentation for this class was generated from the following files: