CuteHMI - CuteHMI (CuteHMI.2)
cutehmi::Worker::WorkEvent Class Reference

Work event. More...

#include <cutehmi/Worker.hpp>

Inheritance diagram for cutehmi::Worker::WorkEvent:
QEvent

Public Member Functions

 WorkEvent ()
 Default constructor. More...
 
- Public Member Functions inherited from QEvent
void qt_check_for_QGADGET_macro ()
 
 QEvent (QEvent::Type type)
 
virtual ~QEvent ()
 
QEvent::Type type () const const
 
bool spontaneous () const const
 
void setAccepted (bool accepted)
 
bool isAccepted () const const
 
void accept ()
 
void ignore ()
 

Static Public Member Functions

static Type RegisteredType () noexcept
 Registered event type. More...
 
- Static Public Member Functions inherited from QEvent
int registerEventType (int hint)
 

Additional Inherited Members

- Public Attributes inherited from QEvent
typedef QtGadgetHelper
 
- Properties inherited from QEvent
 accepted
 

Detailed Description

Work event.

This class is provided to interact with Worker through Qt event system.

Constructor & Destructor Documentation

◆ WorkEvent()

cutehmi::Worker::WorkEvent::WorkEvent ( )

Default constructor.

Member Function Documentation

◆ RegisteredType()

QEvent::Type cutehmi::Worker::WorkEvent::RegisteredType ( )
staticnoexcept

Registered event type.

Returns
value of a QEvent::Type registered for events of this class.