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

#include "GenericEventNotify.h"

Inheritance diagram for QtHandles::GenericEventNotifySender:
Collaboration diagram for QtHandles::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 40 of file GenericEventNotify.h.

Constructor & Destructor Documentation

◆ GenericEventNotifySender()

QtHandles::GenericEventNotifySender::GenericEventNotifySender ( void  )
inline

Definition at line 43 of file GenericEventNotify.h.

◆ ~GenericEventNotifySender()

virtual QtHandles::GenericEventNotifySender::~GenericEventNotifySender ( void  )
virtualdefault

Member Function Documentation

◆ addReceiver()

void QtHandles::GenericEventNotifySender::addReceiver ( GenericEventNotifyReceiver r)
inline

Definition at line 46 of file GenericEventNotify.h.

References m_receivers, and r.

Referenced by QtHandles::Figure::Figure().

◆ notifyReceiversAfter()

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

Definition at line 82 of file GenericEventNotify.h.

References m_receivers, and r.

◆ notifyReceiversBefore()

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

Definition at line 71 of file GenericEventNotify.h.

References m_receivers, and r.

◆ removeReceiver()

void QtHandles::GenericEventNotifySender::removeReceiver ( GenericEventNotifyReceiver r)
inline

Definition at line 49 of file GenericEventNotify.h.

References m_receivers, and r.

Referenced by QtHandles::Figure::beingDeleted().

Member Data Documentation

◆ m_receivers

QSet<GenericEventNotifyReceiver*> QtHandles::GenericEventNotifySender::m_receivers
private

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