Salome HOME
6a7b8e0e61519a1164053d129d9cc9f3e777aeaa
[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 class SALOMEAPP_EXPORT SalomeApp_Tools : public SUIT_Tools
17 {
18 public:
19   static Quantity_Color  color( const QColor& );
20   static QColor          color( const Quantity_Color& );
21
22   static QString         ExceptionToString( const SALOME::SALOME_Exception& );
23   static void            QtCatchCorbaException( const SALOME::SALOME_Exception& );
24 };
25
26 #endif