KMessageBox::error(m_widget,i18n("Active target \"%1\" is not binary ( %2 ).\n"
"Unable to determine the main program. If you want this\n"
"to be the active target, set a main program under\n"
"Project -> Project Options -> Run Options").tqarg(titem->name).tqarg(titem->primary),i18n("Active target is not a library"));
"Project -> Project Options -> Run Options").arg(titem->name).arg(titem->primary),i18n("Active target is not a library"));
kdDebug(9020)<<k_funcinfo<<"Error! : Active target isn't binary ("<<titem->primary<<") ! -> Unable to determine the main program in AutoProjectPart::mainProgram()"<<endl;
intr=KMessageBox::questionYesNo(m_widget,i18n("%1\nThere is no Makefile in this directory. Run 'configure' first?").tqarg(dir),TQString(),i18n("Run configure"),i18n("Do Not Run"));
intr=KMessageBox::questionYesNo(m_widget,i18n("%1\nThere is no Makefile in this directory. Run 'configure' first?").arg(dir),TQString(),i18n("Run configure"),i18n("Do Not Run"));
KMessageBox::error(0,i18n("Found a circular dependency in the project, between this target and %1.\nCannot build this project until this is resolved.").tqarg(tname),i18n("Circular Dependency found"));
KMessageBox::error(0,i18n("Found a circular dependency in the project, between this target and %1.\nCannot build this project until this is resolved.").arg(tname),i18n("Circular Dependency found"));
KMessageBox::error(m_widget,i18n("Active target \"%1\" is not binary ( %2 ).\n"
"Unable to determine the main program. If you want this\n"
"to be the active target, set a main program under\n"
"Project -> Project Options -> Run Options").tqarg(titem->name).tqarg(titem->primary),i18n("Active target is not a library"));
"Project -> Project Options -> Run Options").arg(titem->name).arg(titem->primary),i18n("Active target is not a library"));
kdDebug(9020)<<k_funcinfo<<"Error! : Active target isn't binary ("<<titem->primary<<") ! -> Unable to determine the main program in AutoProjectPart::mainProgram()"<<endl;
<string><qt><b>Note:</b> If you cancel, your files will be created but will <b>not</b> be added to the project.</qt></string>
@ -80,7 +80,7 @@ Leave this empty to automatically search for a .pro file in the project director
<property name="text">
<string>The following settings determine what the project configuration dialog should do when another subproject is selected while the dialog is still open.</string>
kdDebug(9024)<<"File is dirty:"<<path<<" using method "<<endl;
if(KMessageBox::warningYesNo(this,i18n("The project file \"%1\" has changed on disk\n(Or you have \"%2\" opened in the editor, which also triggers a reload when you change something in the TQMake Manager).\n\nDo you want to reload it?").tqarg(path).tqarg(path),i18n("Project File Changed"),i18n("Reload"),i18n("Do Not Reload"),"trollproject_reload_project_file")!=KMessageBox::No)
if(KMessageBox::warningYesNo(this,i18n("The project file \"%1\" has changed on disk\n(Or you have \"%2\" opened in the editor, which also triggers a reload when you change something in the TQMake Manager).\n\nDo you want to reload it?").arg(path).arg(path),i18n("Project File Changed"),i18n("Reload"),i18n("Do Not Reload"),"trollproject_reload_project_file")!=KMessageBox::No)
<string>Copyright (C) 2000-2003 Trolltech AS. All Rights Reserved.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>AlignCenter</set>
</property>
<property name="hAlign" stdset="0">
@ -113,7 +113,7 @@
<property name="text">
<string><p>Qt Commercial Edition license holders: This program is licensed to you under the terms of the Qt Commercial License Agreement. For details, see the file LICENSE that came with this software distribution.</p><p></p><p>Qt Free Edition users: This program is licensed to you under the terms of the GNU General Public License Version 2. For details, see the file LICENSE.GPL that came with this software distribution.</p><p>The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.</p></string>
SwapWizardPagesCommand*cmd=newSwapWizardPagesCommand(i18n("Swap Pages %1 and %2 of %3").tqarg(index1).tqarg(index2).tqarg(wizard->name()),formwindow,wizard,index2,index1);
SwapWizardPagesCommand*cmd=newSwapWizardPagesCommand(i18n("Swap Pages %1 and %2 of %3").arg(index1).arg(index2).arg(wizard->name()),formwindow,wizard,index2,index1);
commands.append(cmd);
// update buttons
@ -217,7 +217,7 @@ void WizardEditor::itemSelected( int index )
if(index<0)return;
// Called when TQt::Key_Enter was pressed.
// ListBoxRename has renamed the list item, so we only need to rename the page to the same name.
TQStringpn(i18n("Rename page %1 of %2").tqarg(wizard->title(wizard->page(index))).tqarg(wizard->name()));
TQStringpn(i18n("Rename page %1 of %2").arg(wizard->title(wizard->page(index))).arg(wizard->name()));
MoveWizardPageCommand*cmd=newMoveWizardPageCommand(i18n("Move Page %1 to %2 in %3").tqarg(draggedItem).tqarg(droppedItem).tqarg(wizard->name()),formwindow,wizard,draggedItem,droppedItem);
MoveWizardPageCommand*cmd=newMoveWizardPageCommand(i18n("Move Page %1 to %2 in %3").arg(draggedItem).arg(droppedItem).arg(wizard->name()),formwindow,wizard,draggedItem,droppedItem);
insertItem(parent,(newSimpleTypeCodeModel(i))->desc(),prefix+""+(*it)->name()+TQString(" (%1 Lines): ").tqarg(eLine-sLine));///SimpleTypeCodeModel is used instead of SimpleTypeCachedNodeModel, so the detection at (1) does not trigger, this avoids endless recursion.
insertItem(parent,(newSimpleTypeCodeModel(i))->desc(),prefix+""+(*it)->name()+TQString(" (%1 Lines): ").arg(eLine-sLine));///SimpleTypeCodeModel is used instead of SimpleTypeCachedNodeModel, so the detection at (1) does not trigger, this avoids endless recursion.
addStatusText(i18n("Comment on variable \"%1\": \"%2\"").tqarg(type.sourceVariable.name).tqarg(type.sourceVariable.comment),10000);
addStatusText(i18n("Comment on variable \"%1\": \"%2\"").arg(type.sourceVariable.name).arg(type.sourceVariable.comment),10000);
}
if(!type->resolved()->comment().isEmpty()){
addStatusText(i18n("Comment on \"%1\": \"%2\"").tqarg(type->name()).tqarg(type->resolved()->comment()),10000);
addStatusText(i18n("Comment on \"%1\": \"%2\"").arg(type->name()).arg(type->resolved()->comment()),10000);
}
if(type->resolved()->comment().isEmpty()){
addStatusText(i18n("\"%1\" has no comment").tqarg(type->name()),timeout);
addStatusText(i18n("\"%1\" has no comment").arg(type->name()),timeout);
}
}else{
if(type){
if(!BuiltinTypes::isBuiltin(type.resultType)){
addStatusText(i18n("Type of \"%1\" is unresolved, name: \"%2\"").tqarg(type.expr.expr()).tqarg(type->fullNameChain()),2*timeout);
addStatusText(i18n("Type of \"%1\" is unresolved, name: \"%2\"").arg(type.expr.expr()).arg(type->fullNameChain()),2*timeout);
}else{
addStatusText(i18n("\"%1\" is of builtin type \"%2\", a %3").tqarg(type.expr.expr()).tqarg(type->fullNameChain()).tqarg(BuiltinTypes::comment(type.resultType)),2*timeout);
addStatusText(i18n("\"%1\" is of builtin type \"%2\", a %3").arg(type.expr.expr()).arg(type->fullNameChain()).arg(BuiltinTypes::comment(type.resultType)),2*timeout);
}
}else{
addStatusText(i18n("Type of \"%1\" could not be evaluated: tried to evaluate expression as \"%2\"").tqarg(type.expr.expr()).tqarg(type.expr.typeAsString()),2*timeout);
addStatusText(i18n("Type of \"%1\" could not be evaluated: tried to evaluate expression as \"%2\"").arg(type.expr.expr()).arg(type.expr.typeAsString()),2*timeout);
// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Background-parser is missing the necessary translation-unit. It will be computed, but this completion will fail." ).tqarg( m_activeFileName ), 2000 );
// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Background-parser is missing the necessary translation-unit. It will be computed, but this completion will fail." ).arg( m_activeFileName ), 2000 );
return;
}else{
computeRecoveryPointsLocked();
}
if(this->d->recoveryPoints.isEmpty()){
kdDebug(9007)<<"Failed to compute recovery-points for "<<m_activeFileName<<endl;
// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Failed to compute recovery-points for %1" ).tqarg( m_activeFileName ), 1000 );
// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Failed to compute recovery-points for %1" ).arg( m_activeFileName ), 1000 );
}else{
kdDebug(9007)<<"successfully computed recovery-points for "<<m_activeFileName<<endl;
}
@ -2080,7 +2080,7 @@ EvaluationResult CppCodeCompletion::evaluateExpressionType( int line, int column
emptyCache();///The cache has to be emptied, because the code-model changed. @todo Better: Only refresh the code-model(tell all code-model-types to refresh themselves on demand)
@ -257,7 +257,7 @@ PathResolutionResult IncludePathResolver::resolveIncludePath( const TQString& fi
dir=TQDir(dir.absPath());
TQFileInfomakeFile(dir,"Makefile");
if(!makeFile.exists())
returnPathResolutionResult(false,i18n("Makefile is missing in folder \"%1\"").tqarg(dir.absPath()),i18n("problem while trying to resolve include-paths for %1").tqarg(file));
returnPathResolutionResult(false,i18n("Makefile is missing in folder \"%1\"").arg(dir.absPath()),i18n("problem while trying to resolve include-paths for %1").arg(file));
TQStringListcachedPath;//If the call doesn't succeed, use the cached not up-to-date version
returnPathResolutionResult(false,i18n("Recursive make-call failed"),i18n("The parameter-string \"%1\" does not seem to be valid. Output was: %2").tqarg(makeParams).tqarg(fullOutput));
returnPathResolutionResult(false,i18n("Recursive make-call failed"),i18n("The parameter-string \"%1\" does not seem to be valid. Output was: %2").arg(makeParams).arg(fullOutput));
}
}else{
returnPathResolutionResult(false,i18n("Recursive make-call failed"),i18n("The directory \"%1\" does not exist. Output was: %2").tqarg(newWorkingDirectory).tqarg(fullOutput));
returnPathResolutionResult(false,i18n("Recursive make-call failed"),i18n("The directory \"%1\" does not exist. Output was: %2").arg(newWorkingDirectory).arg(fullOutput));
returnPathResolutionResult(false,i18n("Output seems not to be a valid gcc or g++ call"),i18n("Folder: \"%1\" Command: \"%2\" Output: \"%3\"").tqarg(workingDirectory).tqarg(source.getCommand(file,makeParameters)).tqarg(fullOutput));
returnPathResolutionResult(false,i18n("Output seems not to be a valid gcc or g++ call"),i18n("Folder: \"%1\" Command: \"%2\" Output: \"%3\"").arg(workingDirectory).arg(source.getCommand(file,makeParameters)).arg(fullOutput));
<string><font size="+1">The php executable is called directly. Ideal for developers who want to develop terminal or graphical applications in PHP.
You need a correctly installed php cgi version.</font></string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="hAlign" stdset="0">
@ -254,7 +254,7 @@ You need a correctly installed php cgi version.</font></string>
<string><font size="+1">Uses an existing webserver. The pages are previewed in
the internal web browser. Please make sure that the webserver was compiled with PHP support.</font></string>
IndexItemProto*indexItem=newIndexItemProto(this,item,index,membername,i18n("%1::%2%3 Member Reference").tqarg(classname).tqarg(membername).tqarg(arglist));
IndexItemProto*indexItem=newIndexItemProto(this,item,index,membername,i18n("%1::%2%3 Member Reference").arg(classname).arg(membername).arg(arglist));
newProjectView=newProjectView.remove("=");// we use this string in config files and = would confuse it
if(m_projectViews.contains(newProjectView)>0&&
KMessageBox::warningContinueCancel(mainWindow()->main(),i18n("<qt>A view session named <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").tqarg(newProjectView),TQString(),i18n("Overwrite"))!=KMessageBox::Continue)
KMessageBox::warningContinueCancel(mainWindow()->main(),i18n("<qt>A view session named <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>").arg(newProjectView),TQString(),i18n("Overwrite"))!=KMessageBox::Continue)
m_openRecentAction->setWhatsThis(TQString("<b>%1</b><p>%2").tqarg(beautifyToolTip(m_openRecentAction->text())).tqarg(i18n("Opens recently opened file.")));
m_openRecentAction->setWhatsThis(TQString("<b>%1</b><p>%2").arg(beautifyToolTip(m_openRecentAction->text())).arg(i18n("Opens recently opened file.")));
<string><qt><h3>UI Designer Integration</h3>This will only be used when no project is opened. For the project specific setting see Project Options/C++ Specific and open the Qt tab.</qt></string>
KMessageBox::error(this,i18n("cvs init did not exit normally. Please check if cvs is installed and works correctly."),i18n("Init CVS Repository"));
elseif(proc->exitStatus()!=0)
KMessageBox::error(this,i18n("cvs init exited with status %1. Please check if the cvs location is correct.").tqarg(proc->exitStatus()),i18n("Init CVS Repository"));
KMessageBox::error(this,i18n("cvs init exited with status %1. Please check if the cvs location is correct.").arg(proc->exitStatus()),i18n("Init CVS Repository"));
KMessageBox::error(this,i18n("cvs import did not exit normally. Please check if cvs is installed and works correctly."),i18n("Init CVS Repository"));
elseif(proc->exitStatus()!=0)
KMessageBox::error(this,i18n("cvs import exited with status %1. Please check if the cvs location is correct.").tqarg(proc->exitStatus()),i18n("Init CVS Repository"));
KMessageBox::error(this,i18n("cvs import exited with status %1. Please check if the cvs location is correct.").arg(proc->exitStatus()),i18n("Init CVS Repository"));
else
{
kdDebug()<<"Project is in: "<<m_projectLocation<<endl;