GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
GenericEventNotify.h File Reference
#include <QSet>
Include dependency graph for GenericEventNotify.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GenericEventNotifyReceiver
 
class  GenericEventNotifySender
 

Macros

#define DECLARE_GENERICEVENTNOTIFY_SENDER(T, B)
 

Macro Definition Documentation

◆ DECLARE_GENERICEVENTNOTIFY_SENDER

#define DECLARE_GENERICEVENTNOTIFY_SENDER (   T,
  B 
)
Value:
class T : public B, public GenericEventNotifySender \
{ \
public: \
T (QWidget *xparent) : B (xparent), GenericEventNotifySender () { } \
~ T (void) = default; \
\
bool event (QEvent *evt) \
{ \
bool result = true; \
if (! notifyReceiversBefore (this, evt)) \
result = B::event (evt); \
notifyReceiversAfter (this, evt); \
return result; \
} \
}
F77_RET_T const F77_INT F77_CMPLX const F77_INT F77_CMPLX * B

Definition at line 90 of file GenericEventNotify.h.