myWorkshop->startApplication();
LightApp_Application* anApp = dynamic_cast<LightApp_Application*>(theApp);
if (anApp)
+ {
connect(anApp, SIGNAL(preferenceResetToDefaults()), this, SLOT(onDefaultPreferences()));
+ connect(anApp, SIGNAL(abortAllOperations( bool& )), this, SLOT(onAbortAllOperations( bool& )));
+ }
}
//******************************************************
Config_ModuleReader::addDependencyModule(eachModule.toStdString());
}
}
+
+void NewGeom_Module::onAbortAllOperations( bool& isNextOperationAllowed )
+{
+ isNextOperationAllowed = workshop()->operationMgr()->abortAllOperations();
+}
/// Obtains the current application and updates its actions
void onUpdateCommandStatus();
+ void onAbortAllOperations( bool& );
+
protected:
/// Create data model
CAM_DataModel* createDataModel();