execWidget()->runCmd(cmd,Constants::StartFirewallJob_Name,i18n("Start Firewall on %1").tqarg(rulesetDoc()->target()->toFriendlyString()),true);
showOutput();
checktqStatus();
checkStatus();
}else{
if(KMessageBox::questionYesNo(0,i18n("<p><b>Are you sure you want to execute the generated firewall script on %1?</b>"
"<p><b>A wrongly configured firewall script may make your computer unusable! PLease make sure that you have left the SSH port open, otherwise you will no longer be able to remote control the comuter using KMyFirewall or any other SSH client!</b></p>"
execWidget()->runCmd(cmd,Constants::InstallFirewallJob_Name,i18n("Install Firewall on %1").tqarg(rulesetDoc()->target()->toFriendlyString()),true);
showOutput();
checktqStatus();
checkStatus();
}else{
setOutputWidget(execWidget());
execWidget()->setText(i18n("Please wait while the scripts are uploaded and executed..."),i18n("Install Firewall on %1").tqarg(rulesetDoc()->target()->toFriendlyString()));
execWidget()->runCmd(cmd,Constants::UninstallFirewallJob_Name,i18n("Uninstall Firewall on %1").tqarg(rulesetDoc()->target()->toFriendlyString()),true);
// if( KMessageBox::questionYesNo ( 0 , i18n( "<p><b>Are you sure you want to execute the generated firewall script on %1?</b>"
// "<p><b>A wrongly configured firewall script may make your computer unusable! PLease make sure that you have left the SSH port open, otherwise you will no longer be able to remote control the comuter using KMyFirewall or any other SSH client!</b></p>"
// execWidget()->setText( i18n("Please wait while the scripts are uploaded and executed..."), i18n("Install Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );