14 #include <QtWidgets/QApplication>
16 #include <QtGui/QApplication>
39 std::cout <<
"*** this=" <<
this <<
" entering " << __func__ << std::endl;
43 std::cout <<
"*** this=" <<
this <<
" leaving " << __func__ << std::endl;
50 std::cout <<
"*** this=" <<
this <<
" entering " << __func__ << std::endl;
54 std::cout <<
"*** this=" <<
this <<
" leaving " << __func__ << std::endl;
63 bool notify(QObject *_receiver, QEvent *_event)
66 std::cout <<
"*** SimpleApplication notify event type=" << _event->type()
67 <<
" receiver=" << _receiver << std::endl;
72 return QApplication::notify(_receiver, _event);
74 catch(std::exception &e)
77 std::cerr <<
"std::exception was caught: " << e.what() << std::endl;