This class is a simple wrapper around QApplication so that we can reimplement QApplication::notify. More...
#include "octave-qobject.h"
Signals | |
void | interpreter_event (const fcn_callback &fcn) |
void | interpreter_event (const meth_callback &meth) |
Public Member Functions | |
octave_qapplication (int &argc, char **argv) | |
~octave_qapplication (void) | |
virtual bool | notify (QObject *receiver, QEvent *e) override |
Reimplement QApplication::notify. More... | |
This class is a simple wrapper around QApplication so that we can reimplement QApplication::notify.
The octave_qapplication object should behave identically to a QApplication object except that it overrides the notify method so we can handle forward Octave octave::execution_exception exceptions from the GUI thread to the interpreter thread.
Definition at line 54 of file octave-qobject.h.
|
inline |
Definition at line 60 of file octave-qobject.h.
|
inline |
Definition at line 66 of file octave-qobject.h.
|
signal |
Referenced by notify().
|
signal |
|
overridevirtual |
Reimplement QApplication::notify.
Octave's own exceptions are caught and rethrown in the interpreter thread.
Definition at line 132 of file octave-qobject.cc.
References interpreter_event().