/*!
\brief Set actions to be visible in the menu.
-
- Actions, which IDs are set in \a flags parameter, will be shown in the
+
+ Actions, which IDs are set in \a flags parameter, will be shown in the
menu bar. Other actions will not be shown.
\param flags ORed together actions flags
return txt;
}
-/*!
- \brief Set keyboard accelerator for the specified action.
- \param id menu action ID
- \param a new keyboard accelerator
-*/
-void QtxWorkspaceAction::setAccel( const int id, const int a )
-{
- if ( action( id ) )
- action( id )->setShortcut( a );
-}
-
/*!
\brief Set menu item icon for the specified action.
\param id menu action ID
/*!
\brief Called when menu item is activated by the user.
-
+
Perform the corresponding action.
\param id menu item identifier