//return i18n(" captured text \"%1\" replaced with \"%2\" at line: %3, column: %4 ").tqarg(capturedText).tqarg(data).tqarg(TQString::number(x,10)).tqarg(TQString::number(y,10));
//return i18n(" captured text \"%1\" replaced with \"%2\" at line: %3, column: %4 ").arg(capturedText).arg(data).arg(TQString::number(x,10)).arg(TQString::number(y,10));
KMessageBox::error(0,i18n("<qt>Cannot open the file <b>%1</b> and load the string list. This file seems not to be a valid old kfr file or it is broken.</qt>").tqarg(fileName));
KMessageBox::error(0,i18n("<qt>Cannot open the file <b>%1</b> and load the string list. This file seems not to be a valid old kfr file or it is broken.</qt>").arg(fileName));
if(KMessageBox::warningContinueCancel(m_w,i18n("<qt>You have selected <b>%1</b> as the encoding of the files.<br>Selecting the correct encoding is very important as if you have files that have some other encoding than the selected one, after a replace you may damage those files.<br><br>In case you do not know the encoding of your files, select <i>utf8</i> and <b>enable</b> the creation of backup files. This setting will autodetect <i>utf8</i> and <i>utf16</i> files, but the changed files will be converted to <i>utf8</i>.</qt>").tqarg(m_option->m_encoding),i18n("File Encoding Warning"),KStdGuiItem::cont(),"ShowEncodingWarning")==KMessageBox::Cancel)
if(KMessageBox::warningContinueCancel(m_w,i18n("<qt>You have selected <b>%1</b> as the encoding of the files.<br>Selecting the correct encoding is very important as if you have files that have some other encoding than the selected one, after a replace you may damage those files.<br><br>In case you do not know the encoding of your files, select <i>utf8</i> and <b>enable</b> the creation of backup files. This setting will autodetect <i>utf8</i> and <i>utf16</i> files, but the changed files will be converted to <i>utf8</i>.</qt>").arg(m_option->m_encoding),i18n("File Encoding Warning"),KStdGuiItem::cont(),"ShowEncodingWarning")==KMessageBox::Cancel)
KMessageBox::information(m_w,i18n("<qt>File <b>%1</b> seems not to be written in new kfr format. Remember that the old kfr format will be soon abandoned. You can convert your old rules files by simply saving them with kfilereplace.</qt>").tqarg(fileName),i18n("Warning"));
KMessageBox::information(m_w,i18n("<qt>File <b>%1</b> seems not to be written in new kfr format. Remember that the old kfr format will be soon abandoned. You can convert your old rules files by simply saving them with kfilereplace.</qt>").arg(fileName),i18n("Warning"));
intanswer=KMessageBox::warningYesNo(m_w,i18n("<qt>The format of kfr files has been changed; attempting to load <b>%1</b>. Please see the KFilereplace manual for details. Do you want to load a search-and-replace list of strings?</qt>").tqarg(fileName),i18n("Warning"),i18n("Load"),i18n("Do Not Load"));
intanswer=KMessageBox::warningYesNo(m_w,i18n("<qt>The format of kfr files has been changed; attempting to load <b>%1</b>. Please see the KFilereplace manual for details. Do you want to load a search-and-replace list of strings?</qt>").arg(fileName),i18n("Warning"),i18n("Load"),i18n("Do Not Load"));
i18n("<qt>The file <i>%1</i> has been modified.<br>Do you want to save it?</qt>").tqarg(url().fileName()),TQString(),KStdGuiItem::save(),KStdGuiItem::discard())){
i18n("<qt>The file <i>%1</i> has been modified.<br>Do you want to save it?</qt>").arg(url().fileName()),TQString(),KStdGuiItem::save(),KStdGuiItem::discard())){
TQStringslotHelp=i18n("To learn more about the slot, look at the documentation of the base TQt/KDE class, most probably <i>%1</i>.").tqarg(o->metaObject()->superClassName()?TQString(o->metaObject()->superClassName()):TQString(o->className()));
TQStringslotHelp=i18n("To learn more about the slot, look at the documentation of the base TQt/KDE class, most probably <i>%1</i>.").arg(o->metaObject()->superClassName()?TQString(o->metaObject()->superClassName()):TQString(o->className()));
if(KMessageBox::warningContinueCancel(0,i18n("<qt>The Kommander file <i>%1</i> does not have the <b>executable attribute</b> set and could possibly contain dangerous exploits.<p>If you trust the scripting (viewable in kmdr-editor) in this program, make it executable to get rid of this warning.<p>Are you sure you want to continue?</qt>").tqarg(fname.pathOrURL()),TQString(),i18n("Run Nevertheless"))==KMessageBox::Cancel)
if(KMessageBox::warningContinueCancel(0,i18n("<qt>The Kommander file <i>%1</i> does not have the <b>executable attribute</b> set and could possibly contain dangerous exploits.<p>If you trust the scripting (viewable in kmdr-editor) in this program, make it executable to get rid of this warning.<p>Are you sure you want to continue?</qt>").arg(fname.pathOrURL()),TQString(),i18n("Run Nevertheless"))==KMessageBox::Cancel)
@setGlobal(DESC,"Returns 1 for checked boxes, 0 for unchecked.")
@case(DCOP::tqchildren(QString,bool))
@case(DCOP::children(QString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"recursive")
@setGlobal(PARM2,"")
@setGlobal(PARM3,"")
@setGlobal(PARM4,"")
@setGlobal(short,tqchildren)
@setGlobal(short,children)
@setGlobal(DESC,"Returns the list of child widgets contained in the parent widget. Set the <i>recursive</i> parameter to <i>true</i> to include widgets contained by child widgets.")
i18n("Returns the list of child widgets contained in the parent widget. Set the <i>recursive</i> parameter to <i>true</i> to include widgets contained by child widgets."),2);
setError(i18n("Expected '%1'<br><br>Possible cause of the error is having a variable with the same name as a widget").tqarg(m_data->keywordToString(k)));
setError(i18n("Expected '%1'<br><br>Possible cause of the error is having a variable with the same name as a widget").arg(m_data->keywordToString(k)));
xsldbgGenericErrorFunc(i18n("Breakpoint %1 %2 for template: \"%3\" mode: \"%4\" in file \"%5\" at line %6").tqarg(breakPtr->id).tqarg(i18n(breakStatus)).tqarg(xsldbgText(breakTemplate)).tqarg(xsldbgText(breakMode)).tqarg(xsldbgUrl(breakPtr->url)).tqarg(breakPtr->lineNo));
xsldbgGenericErrorFunc(i18n("Breakpoint %1 %2 for template: \"%3\" mode: \"%4\" in file \"%5\" at line %6").arg(breakPtr->id).arg(i18n(breakStatus)).arg(xsldbgText(breakTemplate)).arg(xsldbgText(breakMode)).arg(xsldbgUrl(breakPtr->url)).arg(breakPtr->lineNo));
else
xsldbgGenericErrorFunc(i18n("Breakpoint %1 %2 for template: \"%3\" mode: \"%4\"").tqarg(breakPtr->id).tqarg(i18n(breakStatus)).tqarg(xsldbgText(breakTemplate)).tqarg(xsldbgText(breakMode)));
xsldbgGenericErrorFunc(i18n("Breakpoint %1 %2 for template: \"%3\" mode: \"%4\"").arg(breakPtr->id).arg(i18n(breakStatus)).arg(xsldbgText(breakTemplate)).arg(xsldbgText(breakMode)));
@ -931,7 +931,7 @@ static int validateBreakPoint(breakPointPtr breakPtr, breakPointPtr copy)
breakPtr->flags|=BREAKPOINT_ORPHANED;
if(breakPtr->flags&BREAKPOINT_ORPHANED){
xsldbgGenericErrorFunc(TQString("Warning: Breakpoint %1 is orphaned. Result: %2. Old flags: %3. New flags: %4.\n").tqarg(breakPtr->id).tqarg(result).tqarg(copy->flags).tqarg(breakPtr->flags));
xsldbgGenericErrorFunc(TQString("Warning: Breakpoint %1 is orphaned. Result: %2. Old flags: %3. New flags: %4.\n").arg(breakPtr->id).arg(result).arg(copy->flags).arg(breakPtr->flags));
xsldbgGenericErrorFunc(i18n("Warning: XPath %1 is a Node Set with %n child.","Warning: XPath %1 is a Node Set with %n tqchildren.",list->nodesetval->nodeNr).tqarg(xsldbgText(arg))+TQString("\n"));
xsldbgGenericErrorFunc(i18n("Warning: XPath %1 is a Node Set with %n child.","Warning: XPath %1 is a Node Set with %n children.",list->nodesetval->nodeNr).arg(xsldbgText(arg))+TQString("\n"));
}else{
xsldbgGenericErrorFunc(i18n("Warning: XPath %1 is an empty Node Set.\n").tqarg(xsldbgText(arg)));
xsldbgGenericErrorFunc(i18n("Warning: XPath %1 is an empty Node Set.\n").arg(xsldbgText(arg)));
xsldbgGenericErrorFunc(i18n("Error: Unable to display help. Help files not found in %1 or xsldbg not found in path.\n").tqarg(docsDirPath));/* FIXME: Comments not correct - the command is that invoked */
xsldbgGenericErrorFunc(i18n("Error: Unable to display help. Help files not found in %1 or xsldbg not found in path.\n").arg(docsDirPath));/* FIXME: Comments not correct - the command is that invoked */
else
xsldbgGenericErrorFunc(i18n("Error: Unable to find xsldbg or help files.\n"));
xsldbgGenericErrorFunc(i18n("Error: Unable to add watch expression \"%1\". It already has been added or it cannot be watched.\n").tqarg(xsldbgText(arg)));
xsldbgGenericErrorFunc(i18n("Error: Unable to add watch expression \"%1\". It already has been added or it cannot be watched.\n").arg(xsldbgText(arg)));
}
returnresult;
}
@ -284,12 +284,12 @@ xslDbgShellOptions(void)
arrayListEmpty(optionsGetWatchList());
}elseif((xmlStrlen(arg)==0)||
!sscanf((char*)arg,"%ld",&watchID)){
xsldbgGenericErrorFunc(i18n("Error: Unable to parse %1 as a watchID.\n").tqarg(xsldbgText(arg)));
xsldbgGenericErrorFunc(i18n("Error: Unable to parse %1 as a watchID.\n").arg(xsldbgText(arg)));
returnresult;
}else{
result=optionsRemoveWatch(watchID);
if(!result)
xsldbgGenericErrorFunc(i18n("Error: Watch expression %1 does not exist.\n").tqarg(watchID));
xsldbgGenericErrorFunc(i18n("Error: Watch expression %1 does not exist.\n").arg(watchID));
xsldbgGenericErrorFunc(i18n("Error: Unable to write search Database to file %1. Try setting the \"searchresultspath\" option to a writable path.\n").tqarg(xsldbgText(searchInput)));
xsldbgGenericErrorFunc(i18n("Error: Unable to write search Database to file %1. Try setting the \"searchresultspath\" option to a writable path.\n").arg(xsldbgText(searchInput)));
xsldbgGenericErrorFunc(i18n("Information: Transformed %1 using %2 and saved to %3.\n").tqarg(xsldbgText(searchInput)).tqarg(xsldbgText(searchXSL)).tqarg(xsldbgText(searchOutput)));
xsldbgGenericErrorFunc(i18n("Information: Transformed %1 using %2 and saved to %3.\n").arg(xsldbgText(searchInput)).arg(xsldbgText(searchXSL)).arg(xsldbgText(searchOutput)));
}else{
xsldbgGenericErrorFunc(i18n("Error: Invalid arguments to command %1.\n").tqarg("search"));
xsldbgGenericErrorFunc(i18n("Error: Invalid arguments to command %1.\n").arg("search"));
xsldbgGenericErrorFunc(i18n("Error: Error in value of USE_DOCS_MACRO; look at Makefile.am.\n"));
#else
xsldbgGenericErrorFunc(i18n("Error: Required environment variable %1 not set to the directory of xsldbg documentation.\n").tqarg((constchar*)XSLDBG_DOCS_DIR_VARIABLE));
xsldbgGenericErrorFunc(i18n("Error: Required environment variable %1 not set to the directory of xsldbg documentation.\n").arg((constchar*)XSLDBG_DOCS_DIR_VARIABLE));
@ -132,9 +132,9 @@ printTemplateHelper(xsltTemplatePtr templ, int verbose,
}else{
modeTemp=fullTQName(templ->modeURI,templ->mode);
if(verbose)
xsldbgGenericErrorFunc(i18n(" template: \"%1\" mode: \"%2\" in file \"%3\" at line %4\n").tqarg(xsldbgText(name)).tqarg(xsldbgText(modeTemp)).tqarg(xsldbgUrl(url)).tqarg(xmlGetLineNo(templ->elem)));
xsldbgGenericErrorFunc(i18n(" template: \"%1\" mode: \"%2\" in file \"%3\" at line %4\n").arg(xsldbgText(name)).arg(xsldbgText(modeTemp)).arg(xsldbgUrl(url)).arg(xmlGetLineNo(templ->elem)));
xsldbgGenericErrorFunc(i18n("Error: Unable to save results of transformation to file %1.\n").tqarg(xsldbgText(optionsGetStringOption(OPTIONS_OUTPUT_FILE_NAME))));
xsldbgGenericErrorFunc(i18n("Error: Unable to save results of transformation to file %1.\n").arg(xsldbgText(optionsGetStringOption(OPTIONS_OUTPUT_FILE_NAME))));
@ -121,10 +121,10 @@ int main(int argc, char **argv)
{
KLocale::setMainCatalogue("kxsldbg");// Translations come from KXSLDbg's catalog
TQStringxsldbgRunTimeInfo(i18n("Using libxml %1, libxslt %2 and libexslt %3\n").tqarg(xmlParserVersion).tqarg(xsltEngineVersion).tqarg(exsltLibraryVersion));
TQStringlibxmlCompileTimeInfo(i18n("xsldbg was compiled against libxml %1, libxslt %2 and libexslt %3\n").tqarg(LIBXML_VERSION).tqarg(LIBXSLT_VERSION).tqarg(LIBEXSLT_VERSION));
TQStringlibxsltCompileTimeInfo(i18n("libxslt %1 was compiled against libxml %2\n").tqarg(xsltLibxsltVersion).tqarg(xsltLibxmlVersion));
TQStringlibexsltCompileTimeInfo(i18n("libexslt %1 was compiled against libxml %2\n").tqarg(exsltLibexsltVersion).tqarg(exsltLibxmlVersion));
TQStringxsldbgRunTimeInfo(i18n("Using libxml %1, libxslt %2 and libexslt %3\n").arg(xmlParserVersion).arg(xsltEngineVersion).arg(exsltLibraryVersion));
TQStringlibxmlCompileTimeInfo(i18n("xsldbg was compiled against libxml %1, libxslt %2 and libexslt %3\n").arg(LIBXML_VERSION).arg(LIBXSLT_VERSION).arg(LIBEXSLT_VERSION));
TQStringlibxsltCompileTimeInfo(i18n("libxslt %1 was compiled against libxml %2\n").arg(xsltLibxsltVersion).arg(xsltLibxmlVersion));
TQStringlibexsltCompileTimeInfo(i18n("libexslt %1 was compiled against libxml %2\n").arg(exsltLibexsltVersion).arg(exsltLibxmlVersion));
KAboutDataabout("xsldbg",I18N_NOOP("Xsldbg"),version,description,KAboutData::License_GPL,"(C) 2003 Keith Isdale",freeFormText,0,"k_isdale@tpg.com.au");
signatureStr=i18n("The resource was signed with key <i>0x%1</i>, belonging to <i>%2 <%3></i>.").tqarg(key.id.right(8)).tqarg(key.name).tqarg(key.mail);
signatureStr=i18n("The resource was signed with key <i>0x%1</i>, belonging to <i>%2 <%3></i>.").arg(key.id.right(8)).arg(key.name).arg(key.mail);
}
}
if(!valid)
{
signatureStr.prepend("<br>");
if(KMessageBox::warningContinueCancel(parentWidget(),i18n("<qt>There is a problem with the resource file you have downloaded. The errors are :<b>%1</b><br>%2<br><br>Installation of the resource is <b>not recommended</b>.<br><br>Do you want to proceed with the installation?</qt>").tqarg(errorString).tqarg(signatureStr),i18n("Problematic Resource File"))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(parentWidget(),i18n("<qt>There is a problem with the resource file you have downloaded. The errors are :<b>%1</b><br>%2<br><br>Installation of the resource is <b>not recommended</b>.<br><br>Do you want to proceed with the installation?</qt>").arg(errorString).arg(signatureStr),i18n("Problematic Resource File"))==KMessageBox::Continue)
valid=true;
}else
KMessageBox::information(parentWidget(),i18n("<qt>%1<br><br>Press OK to install it.</qt>").tqarg(signatureStr),i18n("Valid Resource"),"Show Valid Signature Information");
KMessageBox::information(parentWidget(),i18n("<qt>%1<br><br>Press OK to install it.</qt>").arg(signatureStr),i18n("Valid Resource"),"Show Valid Signature Information");
emitshowMessage(i18n("\"%1\" removed from the CVS ignore list.").tqarg(fInfo.fileName())+"\n",false);
emitshowMessage(i18n("\"%1\" removed from the CVS ignore list.").arg(fInfo.fileName())+"\n",false);
f.close();
}
@ -501,7 +501,7 @@ void CVSService::slotJobExited(bool normalExit, int exitStatus)
{
if(!normalExit)
{
KMessageBox::sorry(0,i18n("<qt>The CVS command <b>%1</b> has failed. The error code was <i>%2</i>.</qt>").tqarg(m_cvsCommand).tqarg(exitStatus),i18n("Command Failed"));
KMessageBox::sorry(0,i18n("<qt>The CVS command <b>%1</b> has failed. The error code was <i>%2</i>.</qt>").arg(m_cvsCommand).arg(exitStatus),i18n("Command Failed"));
@ -108,7 +108,7 @@ void DebuggerManager::slotNewProjectLoaded(const TQString &projectname, const KU
if(!m_client)
{
emithideSplash();
KMessageBox::error(NULL,i18n("<qt>Unable to load the debugger plugin, error code %1 was returned: <b>%2</b>.</qt>").tqarg(errCode).tqarg(KLibLoader::self()->lastErrorMessage()),i18n("Debugger Error"));
KMessageBox::error(NULL,i18n("<qt>Unable to load the debugger plugin, error code %1 was returned: <b>%2</b>.</qt>").arg(errCode).arg(KLibLoader::self()->lastErrorMessage()),i18n("Debugger Error"));
}
break;
}
@ -605,7 +605,7 @@ bool DebuggerManager::setActiveLine (const TQString& file, int line )
quantaApp->gotoFileAndLine(filename,line,0);
else
{
showStatus(i18n("Unable to open file %1, check your basedirs and mappings.").tqarg(filename),true);
showStatus(i18n("Unable to open file %1, check your basedirs and mappings.").arg(filename),true);
// Put the line number first so double clicking will jump to the corrrect line
debuggerInterface()->showStatus(i18n("Error occurred: Line %1, Code %2 (%3) in %4").tqarg(args["line"]).tqarg(args["errnum"]).tqarg(args["errmsg"]).tqarg(args["filename"]),true);
debuggerInterface()->showStatus(i18n("Error occurred: Line %1, Code %2 (%3) in %4").arg(args["line"]).arg(args["errnum"]).arg(args["errmsg"]).arg(args["filename"]),true);
// Filter to get error code only and match it with out mask
KMessageBox::error(NULL,i18n("The current debugger, %1, does not support the \"%2\" instruction.").tqarg(this->getName()).tqarg(action),i18n("Unsupported Debugger Function"));
KMessageBox::error(NULL,i18n("The current debugger, %1, does not support the \"%2\" instruction.").arg(this->getName()).arg(action),i18n("Unsupported Debugger Function"));
if(KMessageBox::warningContinueCancel(this,i18n("Do you really want to remove the \"%1\" toolbar?").tqarg(s),TQString(),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Do you really want to remove the \"%1\" toolbar?").arg(s),TQString(),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Removing the action removes all the references to it.\nAre you sure you want to remove the <b>%1</b> action?</qt>").tqarg(currentAction->text()),TQString(),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Removing the action removes all the references to it.\nAre you sure you want to remove the <b>%1</b> action?</qt>").arg(currentAction->text()),TQString(),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::questionYesNo(this,i18n("<qt>The file <b>%1</b> is not writable.<br>Do you want to save the configuration to a different file?</qt>").tqarg(f.filePath()),i18n("Save As"),i18n("Save to Different File"),i18n("Do Not Save"))==KMessageBox::Yes)
if(KMessageBox::questionYesNo(this,i18n("<qt>The file <b>%1</b> is not writable.<br>Do you want to save the configuration to a different file?</qt>").arg(f.filePath()),i18n("Save As"),i18n("Save to Different File"),i18n("Do Not Save"))==KMessageBox::Yes)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to delete the <b>%1</b> group?</qt>").tqarg(structuresList->currentText()),i18n("Delete Group"),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to delete the <b>%1</b> group?</qt>").arg(structuresList->currentText()),i18n("Delete Group"),KStdGuiItem::del())==KMessageBox::Continue)
KMessageBox::error(this,i18n("<qt>There is already an abbreviation group called <b>%1</b>. Choose an unique name for the new group.</qt>").tqarg(groupName),i18n("Group already exists"));
KMessageBox::error(this,i18n("<qt>There is already an abbreviation group called <b>%1</b>. Choose an unique name for the new group.</qt>").arg(groupName),i18n("Group already exists"));
KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to remove the <b>%1</b> template?</qt>").tqarg(item->text(1)),TQString(),KStdGuiItem::del())==KMessageBox::Continue)
KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to remove the <b>%1</b> template?</qt>").arg(item->text(1)),TQString(),KStdGuiItem::del())==KMessageBox::Continue)
KMessageBox::error(this,i18n("<qt>Cannot open the file <b>%1</b> for writing.\nModified abbreviations will be lost when you quit Quanta.</qt>").tqarg(s));
KMessageBox::error(this,i18n("<qt>Cannot open the file <b>%1</b> for writing.\nModified abbreviations will be lost when you quit Quanta.</qt>").arg(s));
KMessageBox::error(quantaApp,i18n("<qt>The <b>%1</b> plugin could not be loaded.<br>Possible reasons are:<br> - <b>%2</b> is not installed;<br> - the file <i>%3</i> is not installed or it is not reachable.").tqarg(m_name).tqarg(m_name).tqarg(m_fileName));
KMessageBox::error(quantaApp,i18n("<qt>The <b>%1</b> plugin could not be loaded.<br>Possible reasons are:<br> - <b>%2</b> is not installed;<br> - the file <i>%3</i> is not installed or it is not reachable.").arg(m_name).arg(m_name).arg(m_fileName));
KMessageBox::information(m_parent,i18n("<qt><b>%1</b> is a command line plugin. We have removed support for command-line plugins. However, the functionality has not been lost as script actions can still be used to run command-line tools. </qt>").tqarg(*it),i18n("Unsupported Plugin Type"),"CommandLinePluginWarning");
KMessageBox::information(m_parent,i18n("<qt><b>%1</b> is a command line plugin. We have removed support for command-line plugins. However, the functionality has not been lost as script actions can still be used to run command-line tools. </qt>").arg(*it),i18n("Unsupported Plugin Type"),"CommandLinePluginWarning");
intanswer=KMessageBox::questionYesNo(m_parent,i18n("<qt>The following plugins seems to be invalid:<b>%1</b>.<br><br>Do you want to edit the plugins?</qt>").tqarg(invalidNames),i18n("Invalid Plugins"),i18n("Edit Plugins"),i18n("Do Not Edit"));
intanswer=KMessageBox::questionYesNo(m_parent,i18n("<qt>The following plugins seems to be invalid:<b>%1</b>.<br><br>Do you want to edit the plugins?</qt>").arg(invalidNames),i18n("Invalid Plugins"),i18n("Edit Plugins"),i18n("Do Not Edit"));
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure that you want to remove the configuration of the <b>%1</b> event?</qt>").tqarg(item->text(0)),i18n("Delete Event Configuration"),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure that you want to remove the configuration of the <b>%1</b> event?</qt>").arg(item->text(0)),i18n("Delete Event Configuration"),KStdGuiItem::del())==KMessageBox::Continue)
KMessageBox::questionYesNo(d->m_mainWindow,i18n("<qt>Found a backup for project <b>%1</b>.<br> Do you want to open it?</qt>").tqarg(url.prettyURL()),i18n("Open Project Backup"),KStdGuiItem::open(),i18n("Do Not Open"))
KMessageBox::questionYesNo(d->m_mainWindow,i18n("<qt>Found a backup for project <b>%1</b>.<br> Do you want to open it?</qt>").arg(url.prettyURL()),i18n("Open Project Backup"),KStdGuiItem::open(),i18n("Do Not Open"))
i18n("<qt>The file <b>%1</b> does not exist.<br> Do you want to remove it from the list?</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),TQString(),KStdGuiItem::del(),i18n("Keep"))
i18n("<qt>The file <b>%1</b> does not exist.<br> Do you want to remove it from the list?</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)),TQString(),KStdGuiItem::del(),i18n("Keep"))
if(KMessageBox::warningContinueCancel(d->m_mainWindow,i18n("<qt>Do you want to remove <br><b>%1</b><br> from the server(s) as well?</qt>").tqarg(nice),i18n("Remove From Server"),KStdGuiItem::remove(),"RemoveFromServer")==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(d->m_mainWindow,i18n("<qt>Do you want to remove <br><b>%1</b><br> from the server(s) as well?</qt>").arg(nice),i18n("Remove From Server"),KStdGuiItem::remove(),"RemoveFromServer")==KMessageBox::Continue)
KMessageBox::sorry(this,i18n("<qt>The project templates must be stored under the main project folder: <br><br><b>%1</b></qt>").tqarg(baseUrl.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::sorry(this,i18n("<qt>The project templates must be stored under the main project folder: <br><br><b>%1</b></qt>").arg(baseUrl.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::sorry(this,i18n("<qt>The project templates must be stored under the main project folder: <br><br><b>%1</b></qt>").tqarg(baseUrl.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::sorry(this,i18n("<qt>The project templates must be stored under the main project folder: <br><br><b>%1</b></qt>").arg(baseUrl.prettyURL(0,KURL::StripFileProtocol)));
if(KMessageBox::warningContinueCancel(m_mainWindow,i18n("<qt>The project<br><b>%1</b><br> seems to be used by another Quanta instance.<br>You may end up with data loss if you open the same project in two instances, modify and save them in both.<br><br>Do you want to proceed with open?</qt>").tqarg(url.prettyURL()),TQString(),KStdGuiItem::open())==KMessageBox::Cancel)
if(KMessageBox::warningContinueCancel(m_mainWindow,i18n("<qt>The project<br><b>%1</b><br> seems to be used by another Quanta instance.<br>You may end up with data loss if you open the same project in two instances, modify and save them in both.<br><br>Do you want to proceed with open?</qt>").arg(url.prettyURL()),TQString(),KStdGuiItem::open())==KMessageBox::Cancel)
KMessageBox::error(NULL,i18n("<qt>Unable to load the debugger plugin, error code %1 was returned: <b>%2</b>.</qt>").tqarg(errCode).tqarg(KLibLoader::self()->lastErrorMessage()),i18n("Debugger Error"));
KMessageBox::error(NULL,i18n("<qt>Unable to load the debugger plugin, error code %1 was returned: <b>%2</b>.</qt>").arg(errCode).arg(KLibLoader::self()->lastErrorMessage()),i18n("Debugger Error"));
KMessageBox::information(this,i18n("<qt>You have removed your default profile.<br>The new default profile will be <b>%1</b>.</qt>").tqarg(currentProfile),i18n("Profile Removal"));
KMessageBox::information(this,i18n("<qt>You have removed your default profile.<br>The new default profile will be <b>%1</b>.</qt>").arg(currentProfile),i18n("Profile Removal"));
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure that you want to remove yourself (<b>%1</b>) from the project team?<br>If you do so, you should select another member as yourself.</qt>").tqarg(item->text(NAME_COL)),i18n("Delete Member"),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure that you want to remove yourself (<b>%1</b>) from the project team?<br>If you do so, you should select another member as yourself.</qt>").arg(item->text(NAME_COL)),i18n("Delete Member"),KStdGuiItem::del())==KMessageBox::Continue)
{
deleteitem;
setYourself("");
}
}else
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure that you want to remove <b>%1</b> from the project team?</qt>").tqarg(item->text(NAME_COL)),i18n("Delete Member"),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure that you want to remove <b>%1</b> from the project team?</qt>").arg(item->text(NAME_COL)),i18n("Delete Member"),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningYesNo(this,i18n("<qt>The <b>%1</b> role is already assigned to <b>%2</b>. Do you want to reassign it to the current member?</qt>").tqarg(role).tqarg(it.current()->text(NAME_COL)),TQString(),i18n("Reassign"),i18n("Do Not Reassign"))==KMessageBox::Yes)
if(KMessageBox::warningYesNo(this,i18n("<qt>The <b>%1</b> role is already assigned to <b>%2</b>. Do you want to reassign it to the current member?</qt>").arg(role).arg(it.current()->text(NAME_COL)),TQString(),i18n("Reassign"),i18n("Do Not Reassign"))==KMessageBox::Yes)
KMessageBox::error(this,i18n("<qt>The <b>%1</b> nickname is already assigned to <b>%2 <%3></b>.</qt>").tqarg(nickName).tqarg(it.current()->text(NAME_COL)).tqarg(it.current()->text(EMAIL_COL)));
KMessageBox::error(this,i18n("<qt>The <b>%1</b> nickname is already assigned to <b>%2 <%3></b>.</qt>").arg(nickName).arg(it.current()->text(NAME_COL)).arg(it.current()->text(EMAIL_COL)));
quantaApp->messageOutput()->showMessage(i18n("\"%1\" is used for \"%2\".\n").tqarg(DTDs::ref()->getDTDNickNameFromName(dtdName)).tqarg(url().prettyURL(0,KURL::StripFileProtocol)));
quantaApp->messageOutput()->showMessage(i18n("\"%1\" is used for \"%2\".\n").arg(DTDs::ref()->getDTDNickNameFromName(dtdName)).arg(url().prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(0L,i18n("<qt>The DTD tag file %1 is not valid.<br> The error message is: <i>%2 in line %3, column %4.</i></qt>").tqarg(fileName).tqarg(errorMsg).tqarg(errorLine).tqarg(errorCol),
KMessageBox::error(0L,i18n("<qt>The DTD tag file %1 is not valid.<br> The error message is: <i>%2 in line %3, column %4.</i></qt>").arg(fileName).arg(errorMsg).arg(errorLine).arg(errorCol),
KMessageBox::warningYesNo(0L,i18n("<qt>Do you want to replace the existing <b>%1</b> DTD?</qt>").tqarg(nickName),TQString(),i18n("Replace"),i18n("Do Not Replace"))==KMessageBox::No)
KMessageBox::warningYesNo(0L,i18n("<qt>Do you want to replace the existing <b>%1</b> DTD?</qt>").arg(nickName),TQString(),i18n("Replace"),i18n("Do Not Replace"))==KMessageBox::No)
{
return;
}
@ -924,7 +924,7 @@ void DTDs::slotLoadDTD()
TQStringfamily=dtdcfg.readEntry("Family","1");
Document*w=ViewManager::ref()->activeDocument();
if(family=="1"&&w&&
KMessageBox::questionYesNo(0L,i18n("<qt>Use the newly loaded <b>%1</b> DTD for the current document?</qt>").tqarg(nickName),i18n("Change DTD"),i18n("Use"),i18n("Do Not Use"))==KMessageBox::Yes)
KMessageBox::questionYesNo(0L,i18n("<qt>Use the newly loaded <b>%1</b> DTD for the current document?</qt>").arg(nickName),i18n("Change DTD"),i18n("Use"),i18n("Do Not Use"))==KMessageBox::Yes)
KMessageBox::warningYesNo(0L,i18n("<qt>Do you want to replace the existing <b>%1</b> DTD?</qt>").tqarg(nickName),TQString(),i18n("Replace"),i18n("Do Not Replace"))==KMessageBox::No)
KMessageBox::warningYesNo(0L,i18n("<qt>Do you want to replace the existing <b>%1</b> DTD?</qt>").arg(nickName),TQString(),i18n("Replace"),i18n("Do Not Replace"))==KMessageBox::No)
{
return;
}
removeDTD(dtd);
if(!readTagDir(dirName))
{
KMessageBox::error(0L,i18n("<qt>Cannot read the DTEP from <b>%1</b>. Check that the folder contains a valid DTEP (<i>description.rc and *.tag files</i>).</qt>").tqarg(dirName),i18n("Error Loading DTEP"));
KMessageBox::error(0L,i18n("<qt>Cannot read the DTEP from <b>%1</b>. Check that the folder contains a valid DTEP (<i>description.rc and *.tag files</i>).</qt>").arg(dirName),i18n("Error Loading DTEP"));
}else
{
TQStringfamily=dtdcfg.readEntry("Family","1");
if(askForAutoload&&KMessageBox::questionYesNo(0L,i18n("<qt>Autoload the <b>%1</b> DTD in the future?</qt>").tqarg(nickName),TQString(),i18n("Load"),i18n("Do Not Load"))==KMessageBox::Yes)
if(askForAutoload&&KMessageBox::questionYesNo(0L,i18n("<qt>Autoload the <b>%1</b> DTD in the future?</qt>").arg(nickName),TQString(),i18n("Load"),i18n("Do Not Load"))==KMessageBox::Yes)
KMessageBox::questionYesNo(0L,i18n("<qt>Use the newly loaded <b>%1</b> DTD for the current document?</qt>").tqarg(nickName),i18n("Change DTD"),i18n("Use"),i18n("Do Not Use"))==KMessageBox::Yes)
KMessageBox::questionYesNo(0L,i18n("<qt>Use the newly loaded <b>%1</b> DTD for the current document?</qt>").arg(nickName),i18n("Change DTD"),i18n("Use"),i18n("Do Not Use"))==KMessageBox::Yes)
KMessageBox::error(this,i18n("<qt>The file <b>%1</b> does not exist or is not a recognized mime type.</qt>").tqarg((*i).prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(this,i18n("<qt>The file <b>%1</b> does not exist or is not a recognized mime type.</qt>").arg((*i).prettyURL(0,KURL::StripFileProtocol)));
i18n("The file %1 does not exist.\n Do you want to remove it from the list?").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),TQString(),KStdGuiItem::del(),i18n("Keep"))
i18n("The file %1 does not exist.\n Do you want to remove it from the list?").arg(url.prettyURL(0,KURL::StripFileProtocol)),TQString(),KStdGuiItem::del(),i18n("Keep"))
KMessageBox::Yes==KMessageBox::questionYesNo(0,i18n("<qt>Do you want to add the<br><b>%1</b><br>file to project?</qt>").tqarg(saveUrl.prettyURL(0,KURL::StripFileProtocol)),TQString(),KStdGuiItem::add(),i18n("Do Not Add"))
KMessageBox::Yes==KMessageBox::questionYesNo(0,i18n("<qt>Do you want to add the<br><b>%1</b><br>file to project?</qt>").arg(saveUrl.prettyURL(0,KURL::StripFileProtocol)),TQString(),KStdGuiItem::add(),i18n("Do Not Add"))
KMessageBox::error(this,i18n("<qt>There was an error while creating the template file.<br>Check that you have write access to <i>%1</i>.</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Template Creation Error"));
KMessageBox::error(this,i18n("<qt>There was an error while creating the template file.<br>Check that you have write access to <i>%1</i>.</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Template Creation Error"));
KMessageBox::error(this,i18n("<qt>The file <b>%1</b> does not exist or is not a recognized mime type.</qt>").tqarg(urlUnderCursor.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(this,i18n("<qt>The file <b>%1</b> does not exist or is not a recognized mime type.</qt>").arg(urlUnderCursor.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(this,i18n("<qt>An error happened while saving the <b>%1</b> toolbar.<br>"
"Check that you have write permissions for<br><b>%2</b>.<br><br>This might happen if you tried save to save a global toolbar as a simple user. Use <i>Save As</i> or <i>Toolbars->Save Toolbars->Save as Local Toolbar</i> in this case. </qt>").tqarg(p_toolbar->name).tqarg(tarFile.prettyURL(0,KURL::StripFileProtocol)),i18n("Toolbar Saving Error"));
"Check that you have write permissions for<br><b>%2</b>.<br><br>This might happen if you tried save to save a global toolbar as a simple user. Use <i>Save As</i> or <i>Toolbars->Save Toolbars->Save as Local Toolbar</i> in this case. </qt>").arg(p_toolbar->name).arg(tarFile.prettyURL(0,KURL::StripFileProtocol)),i18n("Toolbar Saving Error"));
result=KMessageBox::warningYesNoCancel(this,i18n("<qt>Toolbar <b>%1</b> is new and unsaved. Do you want to save it before it is removed?</qt>").tqarg(p_toolbar->name),
result=KMessageBox::warningYesNoCancel(this,i18n("<qt>Toolbar <b>%1</b> is new and unsaved. Do you want to save it before it is removed?</qt>").arg(p_toolbar->name),
proceed=KMessageBox::warningContinueCancel(this,i18n("<qt>The file <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").tqarg(newURL.prettyURL(0,KURL::StripFileProtocol)),i18n("Overwrite"),i18n("Overwrite"))==KMessageBox::Continue;
proceed=KMessageBox::warningContinueCancel(this,i18n("<qt>The file <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").arg(newURL.prettyURL(0,KURL::StripFileProtocol)),i18n("Overwrite"),i18n("Overwrite"))==KMessageBox::Continue;
KMessageBox::error(this,i18n("<qt>There was an error while creating the site template tarball.<br>Check that you can read the files from <i>%1</i>, you have write access to <i>%2</i> and that you have enough free space in your temporary folder.</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)).tqarg(targetURL.prettyURL(0,KURL::StripFileProtocol)),i18n("Template Creation Error"));
KMessageBox::error(this,i18n("<qt>There was an error while creating the site template tarball.<br>Check that you can read the files from <i>%1</i>, you have write access to <i>%2</i> and that you have enough free space in your temporary folder.</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)).arg(targetURL.prettyURL(0,KURL::StripFileProtocol)),i18n("Template Creation Error"));
KMessageBox::error(this,i18n("<qt>Cannot create file, because a file named <b>%1</b> already exists.</qt>").tqarg(fileName),i18n("Error Creating File"));
KMessageBox::error(this,i18n("<qt>Cannot create file, because a file named <b>%1</b> already exists.</qt>").arg(fileName),i18n("Error Creating File"));
KMessageBox::error(this,i18n("<qt>Cannot create file, because a file named <b>%1</b> already exists.</qt>").tqarg(fileName),i18n("Error Creating File"));
KMessageBox::error(this,i18n("<qt>Cannot create file, because a file named <b>%1</b> already exists.</qt>").arg(fileName),i18n("Error Creating File"));
KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to remove <br><b>%1</b><br> from the project?</qt>").tqarg(nice),i18n("Remove From Project"),KStdGuiItem::remove(),"RemoveFromProject")==KMessageBox::Continue)
KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to remove <br><b>%1</b><br> from the project?</qt>").arg(nice),i18n("Remove From Project"),KStdGuiItem::remove(),"RemoveFromProject")==KMessageBox::Continue)
parentTree->showMessage(i18n("Line %1, column %2: %3 is not part of %4.").tqarg(line+1).tqarg(col+1).tqarg(qTagName).tqarg(node->tag->dtd()->nickName));
parentTree->showMessage(i18n("Line %1, column %2: %3 is not part of %4.").arg(line+1).arg(col+1).arg(qTagName).arg(node->tag->dtd()->nickName));
KMessageBox::error(this,i18n("<qt>The file <b>%1</b> does not exist or is not a recognized mime type.</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(this,i18n("<qt>The file <b>%1</b> does not exist or is not a recognized mime type.</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)));
proceed=KMessageBox::warningContinueCancel(this,i18n("<qt>The file <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Overwrite"),i18n("Overwrite"))==KMessageBox::Continue;
proceed=KMessageBox::warningContinueCancel(this,i18n("<qt>The file <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)),i18n("Overwrite"),i18n("Overwrite"))==KMessageBox::Continue;
KMessageBox::error(this,i18n("<qt>Could not write to file <b>%1</b>.<br>Check if you have rights to write there or that your connection is working.</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(this,i18n("<qt>Could not write to file <b>%1</b>.<br>Check if you have rights to write there or that your connection is working.</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(this,i18n("<qt>Some error happened while extracting the <i>%1</i> site template file.<br>Check that you have write permission for <i>%2</i> and that there is enough free space in your temporary folder.</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)).tqarg(targetURL.prettyURL(0,KURL::StripFileProtocol)));
KMessageBox::error(this,i18n("<qt>Some error happened while extracting the <i>%1</i> site template file.<br>Check that you have write permission for <i>%2</i> and that there is enough free space in your temporary folder.</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)).arg(targetURL.prettyURL(0,KURL::StripFileProtocol)));
if(KMessageBox::warningContinueCancel(0L,i18n("<qt>An internal action (<i>%1</i>) associated with an event (<i>%2</i>) will be executed. Do you want to allow the execution of this action?</qt>").tqarg(ev.action).tqarg(name),i18n("Event Triggered"),i18n("Execute"),"Warn about internal actions")==KMessageBox::Cancel)
if(KMessageBox::warningContinueCancel(0L,i18n("<qt>An internal action (<i>%1</i>) associated with an event (<i>%2</i>) will be executed. Do you want to allow the execution of this action?</qt>").arg(ev.action).arg(name),i18n("Event Triggered"),i18n("Execute"),"Warn about internal actions")==KMessageBox::Cancel)
return;
}else
{
if(KMessageBox::warningContinueCancel(0L,i18n("<qt>An external action (<i>%1</i>) associated with an event (<i>%2</i>) will be executed. Do you want to allow the execution of this action?</qt>").tqarg(ev.action).tqarg(name),i18n("Event Triggered"),i18n("Execute"),"Warn about external actions")==KMessageBox::Cancel)
if(KMessageBox::warningContinueCancel(0L,i18n("<qt>An external action (<i>%1</i>) associated with an event (<i>%2</i>) will be executed. Do you want to allow the execution of this action?</qt>").arg(ev.action).arg(name),i18n("Event Triggered"),i18n("Execute"),"Warn about external actions")==KMessageBox::Cancel)
KMessageBox::error(widget,i18n("<qt>Cannot create folder<br><b>%1</b>.<br>Check that you have write permission in the parent folder or that the connection to<br><b>%2</b><br> is valid.</qt>")
i18n("<qt>The file <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").tqarg(url.prettyURL(0,KURL::StripFileProtocol)),TQString(),i18n("Overwrite"))==KMessageBox::Cancel)
i18n("<qt>The file <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").arg(url.prettyURL(0,KURL::StripFileProtocol)),TQString(),i18n("Overwrite"))==KMessageBox::Cancel)
if(KMessageBox::Yes!=KMessageBox::questionYesNo(window,i18n("<qt>Do you want to add <br><b>%1</b><br> to the project?</qt>").tqarg(nice),i18n("Add to Project"),KStdGuiItem::add(),i18n("Do Not Add"),"AddToProject"))
if(KMessageBox::Yes!=KMessageBox::questionYesNo(window,i18n("<qt>Do you want to add <br><b>%1</b><br> to the project?</qt>").arg(nice),i18n("Add to Project"),KStdGuiItem::add(),i18n("Do Not Add"),"AddToProject"))
if(KMessageBox::Continue!=KMessageBox::warningContinueCancel(window,i18n("<qt>Do you really want to remove <br><b>%1</b><br> from the project?</qt>").tqarg(nice),i18n("Remove From Project"),KStdGuiItem::remove(),"RemoveFromProject"))
if(KMessageBox::Continue!=KMessageBox::warningContinueCancel(window,i18n("<qt>Do you really want to remove <br><b>%1</b><br> from the project?</qt>").arg(nice),i18n("Remove From Project"),KStdGuiItem::remove(),"RemoveFromProject"))
if(KMessageBox::Continue!=KMessageBox::warningContinueCancel(window,i18n("<qt>Do you really want to delete <br><b>%1</b><br> and remove it from the project?</qt>").tqarg(nice),i18n("Delete & Remove From Project"),KStdGuiItem::del(),"DeleteAndRemoveFromProject"))
if(KMessageBox::Continue!=KMessageBox::warningContinueCancel(window,i18n("<qt>Do you really want to delete <br><b>%1</b><br> and remove it from the project?</qt>").arg(nice),i18n("Delete & Remove From Project"),KStdGuiItem::del(),"DeleteAndRemoveFromProject"))
return(KMessageBox::Continue==KMessageBox::warningContinueCancel(window,i18n("<qt>Do you really want to delete <br><b>%1</b>?</qt>").tqarg(nice),i18n("Delete File or Folder"),KStdGuiItem::del(),"DeleteFileOrFolder"));
return(KMessageBox::Continue==KMessageBox::warningContinueCancel(window,i18n("<qt>Do you really want to delete <br><b>%1</b>?</qt>").arg(nice),i18n("Delete File or Folder"),KStdGuiItem::del(),"DeleteFileOrFolder"));
KMessageBox::error(m_parentMainWindow,i18n("<qt>There was an error running <b>%1</b>.<br>Check that you have the <i>%2</i> executable installed and it is accessible.</qt>").tqarg(command+""+args).tqarg(command),i18n("Script Not Found"));
KMessageBox::error(m_parentMainWindow,i18n("<qt>There was an error running <b>%1</b>.<br>Check that you have the <i>%2</i> executable installed and it is accessible.</qt>").arg(command+""+args).arg(command),i18n("Script Not Found"));
KMessageBox::error(m_parentMainWindow,i18n("<qt>There was an error running <b>%1</b>.<br>Check that you have the <i>%2</i> executable installed and it is accessible.</qt>").tqarg(command+""+args).tqarg(command),i18n("Script Not Found"));
KMessageBox::error(m_parentMainWindow,i18n("<qt>There was an error running <b>%1</b>.<br>Check that you have the <i>%2</i> executable installed and it is accessible.</qt>").arg(command+""+args).arg(command),i18n("Script Not Found"));
/** Timeout occurred while waiting for some network function to return. */
voidTagAction::slotTimeout()
{
if((m_killCount==0)&&(KMessageBox::questionYesNo(m_parentMainWindow,i18n("<qt>The filtering action <b>%1</b> seems to be locked.<br>Do you want to terminate it?</qt>").tqarg(actionText()),i18n("Action Not Responding"),i18n("Terminate"),i18n("Keep Running"))==KMessageBox::Yes))
if((m_killCount==0)&&(KMessageBox::questionYesNo(m_parentMainWindow,i18n("<qt>The filtering action <b>%1</b> seems to be locked.<br>Do you want to terminate it?</qt>").arg(actionText()),i18n("Action Not Responding"),i18n("Terminate"),i18n("Keep Running"))==KMessageBox::Yes))
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure you want to remove the <b>%1</b> action?</qt>").tqarg(currentActionName),TQString(),KStdGuiItem::del())==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure you want to remove the <b>%1</b> action?</qt>").arg(currentActionName),TQString(),KStdGuiItem::del())==KMessageBox::Continue)