LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BEE_RedirectedQEvent Class Referencefinal

The BEE_RedirectedQEvent class. More...

#include <boardeditorevent.h>

+ Inheritance diagram for BEE_RedirectedQEvent:
+ Collaboration diagram for BEE_RedirectedQEvent:

Public Member Functions

 BEE_RedirectedQEvent (EventType_t type, QEvent *event)
 
virtual ~BEE_RedirectedQEvent ()
 
QEvent * getQEvent () const noexcept
 
void setAccepted (bool accepted) noexcept
 
- Public Member Functions inherited from BEE_Base
 BEE_Base (EventType_t type)
 
virtual ~BEE_Base ()
 
EventType_t getType () const noexcept
 
bool isAccepted () const noexcept
 

Static Public Member Functions

static QEvent * getQEventFromBEE (const BEE_Base *bee) noexcept
 Helper method to get the QEvent from a pointer to BEE_Base. More...
 

Private Attributes

QEvent * mQEvent
 

Additional Inherited Members

- Public Types inherited from BEE_Base
enum  EventType_t
 FSM event types. More...
 
- Protected Attributes inherited from BEE_Base
EventType_t mType
 
bool mAccepted
 

Detailed Description

Constructor & Destructor Documentation

BEE_RedirectedQEvent ( EventType_t  type,
QEvent *  event 
)
inline
virtual ~BEE_RedirectedQEvent ( )
inlinevirtual

Member Function Documentation

QEvent* getQEvent ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

void setAccepted ( bool  accepted)
inlinevirtualnoexcept

Reimplemented from BEE_Base.

+ Here is the call graph for this function:

static QEvent* getQEventFromBEE ( const BEE_Base bee)
inlinestaticnoexcept

Helper method to get the QEvent from a pointer to BEE_Base.

Parameters
beeA BEE_Base pointer to a BEE_RedirectedQEvent object
Returns
  • the pointer to the QEvent (if "see" was a pointer to a BEE_RedirectedQEvent object)
  • nullptr otherwise

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QEvent* mQEvent
private

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