1 #include "SUIT_ExceptionHandler.h"
3 #include "SUIT_MessageBox.h"
5 #include <qapplication.h>
7 bool SUIT_ExceptionHandler::handle( QObject* o, QEvent* e )
9 return internalHandle( o, e );
12 bool SUIT_ExceptionHandler::internalHandle( QObject* o, QEvent* e )
14 return qApp ? qApp->QApplication::notify( o, e ) : false;
17 void SUIT_ExceptionHandler::showMessage( const QString& title, const QString& msg )
22 SUIT_MessageBox::error1( qApp->mainWidget(), title, msg, "OK" );