1 // SUIT_Accel.h: interface for the SUIT_Accel class.
3 //////////////////////////////////////////////////////////////////////
17 class SUIT_EXPORT SUIT_Accel: public QObject
38 SUIT_Accel( SUIT_Desktop* theDesktop );
39 virtual ~SUIT_Accel();
41 void setActionKey( const int action, const int key, const QString& type );
44 void onActivated( int );
48 SUIT_Desktop* myDesktop;
50 typedef QMap<int, int> IdActionMap; // internal_id - to - action map
51 typedef QMap<QString, IdActionMap> ViewerTypeIdActionMap; // viewer_type - to - IdActionMap
52 ViewerTypeIdActionMap myMap;