void VcsCommand::emitRepositoryChanged(const QString &workingDirectory) { if (m_preventRepositoryChanged || !(flags() & VcsCommand::ExpectRepoChanges)) return; // TODO tell the document manager that the directory now received all expected changes // Core::DocumentManager::unexpectDirectoryChange(d->m_workingDirectory); Core::VcsManager::emitRepositoryChanged(workDirectory(workingDirectory)); }
void ShellCommand::addJob(const Utils::FileName &binary, const QStringList &arguments, int timeoutS, const QString &workingDirectory, const ExitCodeInterpreter &interpreter) { d->m_jobs.push_back(Internal::ShellCommandPrivate::Job(workDirectory(workingDirectory), binary, arguments, timeoutS, interpreter)); }
/** * @fn logOutput */ QString QueuedProcess::logOutput() const { return QString("%1/%2-out.log").arg(workDirectory()).arg(name()); }
/** * @fn logError */ QString QueuedProcess::logError() const { return QString("%1/%2-err.log").arg(workDirectory()).arg(name()); }