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 execution_exception exceptions from the GUI thread to the interpreter thread.
Definition at line 56 of file octave-qobject.h.
|
inline |
Definition at line 62 of file octave-qobject.h.
|
inline |
Definition at line 68 of file octave-qobject.h.
|
signal |
Referenced by base_qobject::base_qobject(), and notify().
|
signal |
|
overridevirtual |
Reimplement QApplication::notify.
Octave's own exceptions are caught and rethrown in the interpreter thread.
Definition at line 143 of file octave-qobject.cc.
References interpreter_event().