-/**
- * Sets the snap mode for all currently active actions.
- */
-void EventHandler::setSnapMode(RS2::SnapMode sm)
-{
-#if 0
- for(int c=0; c<RS_MAXACTIONS; ++c)
- if (currentActions[c])
- currentActions[c]->setSnapMode(sm);
-
- if (defaultAction)
- defaultAction->setSnapMode(sm);
-#else
-#warning "!!! Not sure if this is going to work correctly..."
-//seems to
- graphicView->snapper.setSnapMode(sm);
-#endif
-}
-
-/**
- * Sets the snap restriction for all currently active actions.
- */
-void EventHandler::setSnapRestriction(RS2::SnapRestriction sr)
-{
-#if 0
- for(int c=0; c<RS_MAXACTIONS; ++c)
- if (currentActions[c])
- currentActions[c]->setSnapRestriction(sr);
-
- if (defaultAction)
- defaultAction->setSnapRestriction(sr);
-#else
-#warning "!!! Not sure if this is going to work correctly..."
-//seems to
- graphicView->snapper.setSnapRestriction(sr);
-#endif
-}
-
-void EventHandler::debugActions()