Salome HOME
modified method getStudy
[modules/gui.git] / src / SalomeApp / SalomeApp_Tools.h
1 #ifndef SALOMEAPP_TOOLS_H
2 #define SALOMEAPP_TOOLS_H
3
4 #include "SalomeApp.h"
5
6 #include <SUIT_Tools.h>
7
8 #include <qcolor.h>
9 #include <qstring.h>
10
11 #include <Quantity_Color.hxx>
12
13 #include <SALOMEconfig.h>
14 #include CORBA_CLIENT_HEADER(SALOME_Exception)
15
16 /*! 
17   Class which provide color converter and exception message box.
18 */
19 class SALOMEAPP_EXPORT SalomeApp_Tools : public SUIT_Tools
20 {
21 public:
22   static Quantity_Color  color( const QColor& );
23   static QColor          color( const Quantity_Color& );
24
25   static QString         ExceptionToString( const SALOME::SALOME_Exception& );
26   static void            QtCatchCorbaException( const SALOME::SALOME_Exception& );
27 };
28
29 #endif