| 196 |
|
|
| 197 |
|
for(int i=0; i<this->page2Table->rowCount(); i++){ |
| 198 |
|
|
| 199 |
< |
(*this->oniSplitCommands) << this->commandMap->value("general->XML->ONI")+" "+outputFolder+" "+Util::insertQuotes(this->page2Table->item(i,1)->text()); // add location of sound file to convert |
| 199 |
> |
(*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+outputFolder+" "+Util::insertQuotes(this->page2Table->item(i,1)->text()); // add location of sound file to convert |
| 200 |
|
|
| 201 |
|
currFileName=this->page2Table->item(i,0)->text(); // get current file name |
| 202 |
|
currAmbFileLocation = QString(ambFileLocation).replace("sample_file",currFileName); // get the new files, filenames |
| 212 |
|
myXmlProcessor->wait(); // Wait until all xml is edited |
| 213 |
|
} |
| 214 |
|
|
| 215 |
< |
(*this->oniSplitCommands) << this->commandMap->value("general->XML->ONI")+" "+outputFolder+" "+Util::insertQuotes(GlobalVars::VagoTemporaryDir+"/*.xml"); |
| 215 |
> |
(*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+outputFolder+" "+Util::insertQuotes(GlobalVars::VagoTemporaryDir+"/*.xml"); |
| 216 |
|
|
| 217 |
|
this->myConverter->start(); // finally process the onisplit commands |
| 218 |
|
this->myConverter->wait(); // wait for it to complete |