GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
GenericEventNotifySender Class Reference

#include "GenericEventNotify.h"

Inheritance diagram for GenericEventNotifySender:
Collaboration diagram for GenericEventNotifySender:

Public Member Functions

 GenericEventNotifySender (void)
 
virtual ~GenericEventNotifySender (void)=default
 
void addReceiver (GenericEventNotifyReceiver *r)
 
void removeReceiver (GenericEventNotifyReceiver *r)
 

Protected Member Functions

void notifyReceiversAfter (QObject *obj, QEvent *evt)
 
bool notifyReceiversBefore (QObject *obj, QEvent *evt)
 

Private Attributes

QSet< GenericEventNotifyReceiver * > m_receivers
 

Detailed Description

Definition at line 39 of file GenericEventNotify.h.

Constructor & Destructor Documentation

◆ GenericEventNotifySender()

GenericEventNotifySender::GenericEventNotifySender ( void  )
inline

Definition at line 42 of file GenericEventNotify.h.

◆ ~GenericEventNotifySender()

virtual GenericEventNotifySender::~GenericEventNotifySender ( void  )
virtualdefault

Member Function Documentation

◆ addReceiver()

void GenericEventNotifySender::addReceiver ( GenericEventNotifyReceiver r)
inline

Definition at line 45 of file GenericEventNotify.h.

References m_receivers, and r.

Referenced by Figure::Figure().

◆ notifyReceiversAfter()

void GenericEventNotifySender::notifyReceiversAfter ( QObject obj,
QEvent *  evt 
)
inlineprotected

Definition at line 81 of file GenericEventNotify.h.

References m_receivers, and r.

◆ notifyReceiversBefore()

bool GenericEventNotifySender::notifyReceiversBefore ( QObject obj,
QEvent *  evt 
)
inlineprotected

Definition at line 70 of file GenericEventNotify.h.

References m_receivers, and r.

◆ removeReceiver()

void GenericEventNotifySender::removeReceiver ( GenericEventNotifyReceiver r)
inline

Definition at line 48 of file GenericEventNotify.h.

References m_receivers, and r.

Referenced by Figure::beingDeleted().

Member Data Documentation

◆ m_receivers

QSet<GenericEventNotifyReceiver *> GenericEventNotifySender::m_receivers
private

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