returni18np("<b><i>One match (%2) found in file</i></b>","<b><i>%1 matches (%2) found in current file</i></b>",matchesTotal,checkedStr);
caseMatchModel::OpenFiles:
returni18np("<b><i>One match (%2) found in open files</i></b>","<b><i>%1 matches (%2) found in open files</i></b>",matchesTotal,checkedStr);
break;
caseMatchModel::Folder:
returni18np("<b><i>One match (%3) found in folder %2</i></b>","<b><i>%1 matches (%3) found in folder %2</i></b>",matchesTotal,m_resultBaseDir,checkedStr);
break;
caseMatchModel::Project:{
returni18np("<b><i>One match (%4) found in project %2 (%3)</i></b>","<b><i>%1 matches (%4) found in project %2 (%3)</i></b>",matchesTotal,m_projectName,m_resultBaseDir,checkedStr);
break;
}
caseMatchModel::AllProjects:// "in Open Projects"
returni18np("<b><i>One match (%3) found in all open projects (common parent: %2)</i></b>","<b><i>%1 matches (%3) found in all open projects (common parent: %2)</i></b>",matchesTotal,m_resultBaseDir,checkedStr);
break;
}
returnQString();
}
voidMatchModel::clear()
{
beginResetModel();
...
...
@@ -55,6 +136,12 @@ static const int totalContectLen = 150;
/** This function is used to add a match to a new file */